Build 4050
SVN-
fix _digitalnumber, remove player._INPUT_BITS, add sprite.all().
-
in control.lua, use C's fwrite() to write gamearray to disk, fix typo.
SVN handles and Git names are merged into one person.
fix _digitalnumber, remove player._INPUT_BITS, add sprite.all().
in control.lua, use C's fwrite() to write gamearray to disk, fix typo.
fix passing some string members to con.action(), rewrite conststruct().
... by creating a struct with 'static const int' members, as recommended on http://www.freelists.org/post/luajit/Performance-implications-of-large-FFI-constants,4
fix some must-fail tests and module()s without require'end_gamevars'.
add forgotted "screensound" to keyword list in con_lang.lua.
Also, fix 'spriteflags' directive.
partially fix LTO=1 build with GCC.
Having to tag these few variables and functions as ATTRIBUTE((used)) seems sensible, but what follows is just strange. OSD_Printf? headspritesect?
various tweaks and fixes.
- fix getv movflags handling in VM_Move() - add actor.fall() - LunaCON: sanity-check some action members
various minor tweaks and fixes.
- Pass original module name (dot=dirsep) to module via our require() - geom.lua: fix some operations using the vector type constructor - geom.lua: provide constructor for ivec3, useable like vec3
fix random angle movflag, Windows build; write more documentation.
make mail, money, paper be affected by tile remapping, fix one printf.
fix current incarnation of gamevar saving/restoration.
fix a couple of oversights, tweak some stuff.
fix mistranslation of CON "else { if" to Lua "elseif".
When encountering a non-empty statement inside braces, emit "do" ... "end".
implement 'definegametype', allow writing userdef.level_number.
Also, allow (implicit) actor index -1 to 'sound' like in C-CON and fix MULTIMODE gamevar definition (was 0, not 1).
implement dragpoint, clipmove*; fix gamearray serialization.
fix restoring of tables. Also add savegame.lua which I forgot!
fix qsprintf, add test code for GAMEVAR_{NODEFAULT,NORESET} flags.
fix Lua->CON line translation by recreating the line info, too.
fix randgen module after md4 removal, run DEFS_BC_SIZE cmd only once.
reading of map-text prototype.
Also fixes a couple of oversights (introduced) with the saving.
move readintostr() into defs_common.lua, fix an oversight.
fix test.elua after map-int VX and one rename, add one microbenchmark.
fix stuff after last commits; translator: clean up -f parsing code.
Also, implement 'cmenu' in LunaCON, make 'definequote' also allowed as inner command.
access to show2dsector[], fix some permit-negative bound checks.
fix rotatesprite coordinate check, gen. events to chain at beginning.
actor usertypes from CON, set SFLAGs as 2nd gameactor() arg in Lua.
In passing, fix a couple of omissions: gameactor() being passed nil's in the middle, more than one moveflag to CON *actor.
make some variables local, fix some bugs found using listglobals.sh.
fix weapondata_t read access, Lua->CON line mapping for if* commands.
cancel logo on EVENT_LOGO error, fix CON mulscale and writable gv.