------------------------------------------------------------------------ r3601 | helixhorned | 2013-03-24 11:54:56 -0700 (Sun, 24 Mar 2013) | 6 lines Lunatic: simplify RETURN handling, make its behavior across events same as C-CON. 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. ------------------------------------------------------------------------ r3600 | helixhorned | 2013-03-24 11:54:14 -0700 (Sun, 24 Mar 2013) | 1 line Lunatic: add LuaJIT's 'dump' module, printing traced bytecode, IR and mcode. ------------------------------------------------------------------------ r3599 | helixhorned | 2013-03-24 11:53:56 -0700 (Sun, 24 Mar 2013) | 1 line Mapster32: don't wrongly report PANIC corruption with MAXSPRITES sprites present. ------------------------------------------------------------------------ r3598 | helixhorned | 2013-03-24 11:53:48 -0700 (Sun, 24 Mar 2013) | 1 line Lunatic t.: don't error on changing stat/sect of sprite not in the game world. ------------------------------------------------------------------------ r3597 | helixhorned | 2013-03-24 11:53:28 -0700 (Sun, 24 Mar 2013) | 4 lines Lunatic: 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. ------------------------------------------------------------------------ r3596 | helixhorned | 2013-03-24 11:53:14 -0700 (Sun, 24 Mar 2013) | 1 line Lunatic: make some variables local, fix some bugs found using listglobals.sh. ------------------------------------------------------------------------ r3595 | helixhorned | 2013-03-24 11:53:06 -0700 (Sun, 24 Mar 2013) | 1 line Lunatic: fix weapondata_t read access, Lua->CON line mapping for if* commands. ------------------------------------------------------------------------ r3594 | helixhorned | 2013-03-24 11:52:52 -0700 (Sun, 24 Mar 2013) | 4 lines Lunatic: in readgamearray support code, use engine file functions. This is so that files residing in GRPs (or anywhere the engine looks for them) can be read, too. ------------------------------------------------------------------------ r3593 | helixhorned | 2013-03-24 11:52:41 -0700 (Sun, 24 Mar 2013) | 1 line Lunatic: cancel logo on EVENT_LOGO error, fix CON mulscale and writable gv. ------------------------------------------------------------------------