Build 5811
SVN-
fix map-text loading.
Show details
The file descriptor was closed from Lua code, causing the subsequent kfilelength() to fail and attempt an allocation of (size_t)-1 bytes.
SVN handles and Git names are merged into one person.
fix map-text loading.
The file descriptor was closed from Lua code, causing the subsequent kfilelength() to fail and attempt an allocation of (size_t)-1 bytes.
in test/helixspawner.lua, make COLOR a global variable. DONT_BUILD.
To demonstrate and test that it can be modified from outside, and that these changes are kept with savegame restores.
fix negative alpha for 'rotatespritea'. BUILD_LUNATIC.
Conceptually, this amends r4428.
from 'definevolumename', make g_numVolumes be determined as in C-CON.
suffix gamearray file names with '.gar'.
expose g_tile[] members of 'tiledata'.
implement 'clearmapstate', fix 'resetplayerflags' parsing.
implement NODEFAULT per-actor gamevars in the C-CON fashion.
For glocal gamevars, the LunaCON semantics (session gamevar) are kept. For per-actor ones, this now prevents resetting a gamevar's value to default on spawn or loadactor. BUILD_LUNATIC.
allow writing -1 to player[].newowner.
For the other player members, where formerly negative values were allowed to be written, only -1 is now.
account for the projectile changes in r5080. BUILD_LUNATIC.
The (undocumented) Lua-side API stays almost the same.
allow ':' immediately after 'case' (legacy; warns), writing to ud.god.
Also, on one "gamevar `xxx' is not per-*" diagnostic, print the location of the gamevar definition.
fix build and user_defs definition mismatch.
Left: projectile changes.
update docs and comments in lunatic/test/event_chaining.con
add 'definevolumeflags' to keyword pattern, re-apply some changes of r5026.
DONT_BUILD.
update user_defs, CPLUSPLUS=0 in synthesis.sh, disable 'cutscene' for now.
BUILD_LUNATIC.
update files from LuaJIT. DONT_BUILD.
fix a couple of typo-like issues found by listglobals.sh. DONT_BUILD.
add 'cutscene' and 'ifcutscene' as NYI commands. DONT_BUILD.
make -fbad-getactorvar-use-pli enabled by default. DONT_BUILD.
fix typos in control.lua (get/setmusicposition).
fix build and linking. DONT_BUILD.
- t{sector,wall}type are simply typedef'd to the non-t versions - make FORCE_INLINE unconditional of DISABLE_INLINING (otherwise there are multiple definitions of these functions) - update lunatic/doc/lpeg-lunatic.patch to apply against the LPeg 0.12 I just downloaded
in control/lua, sync ALLOWED_VIEWTYPE with change from r4814 (allow 2).
DONT_BUILD.
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.