Build 4833
SVN-
sync MAXJOYAXES, add lunatic/test/sprite_addtv.con. DONT_BUILD.
SVN handles and Git names are merged into one person.
sync MAXJOYAXES, add lunatic/test/sprite_addtv.con. DONT_BUILD.
expose more members, properly handle setting ud.screen_size.
BUILD_LUNATIC.
implement 'qstrncat' command.
player[].loogcnt, userdef[].color, minor fixes.
fix tilesizx[] and tilesizy[] system gamearrays.
implement 'qsubstr' command. Add source/lunatic/test/qsubstr.con.
In C-CON's qsubstr, error if <start> is not in [0 .. MAXQUOTELEN-1] or <length> is negative.
ignore internal flag in gamevar redef check; allow "Pals" member.
properly initialize values of session (NODEFAULT) gamevars.
add read-only variable 'Numsprites', r/w userdef member .mouseaiming.
allow '.' as non-first identifer character.
fix 'screentext' command.
provide access to wall[].blend.
patch up off-by-one line numbering problem. DONT_BUILD.
qgetsysstr/STR_MAP*NAME: add informative err. msg. for void vol/lev.
warn if a 'spriteflags' is issued after its actor definition...
... or another 'spriteflags' or 'sprite*' directive.
warn if using reserved bits in 'spriteflags'.
Reserved bits are those that have no predefined SFLAG_* label in CON.
implement passing string label to 'spawn' OSD command.
Unlike in C-CON, it only tries an exact match with the given and uppercased label, not "full" case-insensitive search.
fix 'getincangle'.
add and document option -ferror-negative-tag-write.
rewrite shadexfog.create_128_trans to allow creating fewer tables.
It must be a power of two in [2 .. 128]. Rewrite test/sprite_access.con's liztroop example to account for that. Also, add function shadexfog.create_trans() which aceepts a function (r,g,b,R,G,B) -> blended (r,g,b) and rewrite shadexfog.create_additive_trans() in terms of it.
rename sprite[].filler member to 'blend' on the Lua side.
From LunaCON, remove 'detail' as alias to that member.
add and document -Wnever-used-gamevar and -Wnever-read-gamevar.
implement 'precache'.
add option -ferror-nonlocal-userdef, on by default.
BUILD_LUNATIC.
accept empty square brackets for {g,s}etuserdef optional index part.
error on userdefs accesses with non-local current player.
Add lunatic/test/getuserdef.con.
add codegen option -fbad-getactorvar-use-pli for C-CON compatibility.
Also, improve -Wnumber-conversion warning by printing the resulting number. BUILD_LUNATIC.