Build 3601
SVN-
simplify RETURN handling, make its behavior across events same as C-CON.
Show details
There's only one RETURN value on the C side (g_RETURN), which is also referenced from Lua. Upon entering an event, its value takes on the per-event default one, and its value when the event code finishes is passed back to the game. Independently of that, its value is always saved and restored across event calls.
-
add LuaJIT's 'dump' module, printing traced bytecode, IR and mcode.
-
actor usertypes from CON, set SFLAGs as 2nd gameactor() arg in Lua.
Show details
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.