Build 4833
SVN-
sync MAXJOYAXES, add lunatic/test/sprite_addtv.con. DONT_BUILD.
Nickname SVN e nomi Git sono unificati per persona.
sync MAXJOYAXES, add lunatic/test/sprite_addtv.con. DONT_BUILD.
for '(display)rand*', use math.floor(); correct create_additive_trans() help.
DONT_BUILD.
show on-screen errors even in passive menu; fix '(display)rand*' for large values.
Also, some minor style cleanup in game.c. DONT_BUILD.
expose more members, properly handle setting ud.screen_size.
BUILD_LUNATIC.
fix actor[] and player[] indexing after LuaJIT bugfix 66515a054c0826ce.
implement 'qstrncat' command.
player[].loogcnt, userdef[].color, minor fixes.
fix tilesizx[] and tilesizy[] system gamearrays.
some minor doc tweaks. DONT_BUILD.
fix building and startup up to tilesizx[] failure. DONT_BUILD.
- Needed to rip out enum GameEvent_t into own header file to prevent what would be a circular #include otherwise - Added some forgotten #ifdef LUNATIC - updated structure and function declarations on the Lua FFI side
add actor.move() static function and documentation stub.
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.
(better) document sector[].visibility, sprite[].clipdist, player[].weapon.
fix 'screentext' command.
add some shade/vis debugging functions.
engine.lua: linearizeBasePal(), mapster32 only test/shadexfog.lua: create_depth_shtab(), create_vismarker_shtab()
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.
fix 'spawn' OSD command when running with -Lopts=strict.
BUILD_LUNATIC.
fix DBG_.testmembread after r4290.
for gameactor(), deprecate AF.replace_hard, make AF.replace default.
That is, always bitwise-OR the per-tile actor flags with the existing ones.
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.
extend map-VX walltype by 'blend' member. BUILD_LUNATIC.
Make Mapster32 save as map-text if there is a wall with non-zero 'blend'.
fix 'getincangle'.
add and document option -ferror-negative-tag-write.
generalize shadexfog.create_trans() further.
It now accepts a number of tables to create as 3rd arg. The function that create_trans() takes as the 2nd argument is now being passed (r,g,b, R,G,B, tablei, numtables). Rewrite create_additive_trans() in terms of it. Rename create_128_trans() -> create_alpha_trans().