Revision r3791
Remove redundant checks for some map state function uses. Also, prettify G_FreeMapState(), remove some duplicate function decls and resurrect 'savestate' and 'restorestate' OSD commands for the debug build.
Esplora i log in modo ordinato: filtri per tipo/anno, ricerca testuale e dettaglio commit revisionato.
Remove redundant checks for some map state function uses. Also, prettify G_FreeMapState(), remove some duplicate function decls and resurrect 'savestate' and 'restorestate' OSD commands for the debug build.
LunaCON: fix Lua->CON line translation by recreating the line info, too.
Lunatic: conditionally compile out more code in savegame/gamevars.[ch]. Also, make the savegame major version 2 in the Lunatic build.
Lunatic: accept any number of *.lua modules on the command line. There's no option letter for loading them, and the extension is checked case sensitively. Lua modules are loaded after CON translated to Lua. Also remove -testlua option.
Lunatic: back up generated LunaCON code, recreate Lua state on map entering. ------------------------------------------------------------------------
------------------------------------------------------------------------
r3792 | helixhorned | 2013-05-19 12:29:26 -0700 (Sun, 19 May 2013) | 4 lines
Make G_{Save,Restore}MapState() take no input arguments.
Instead, MapInfo[ud.volume_number*MAXLEVELS+ud.level_number] is accessed
inside these functions.
------------------------------------------------------------------------
r3791 | helixhorned | 2013-05-19 12:29:23 -0700 (Sun, 19 May 2013) | 4 lines
Remove redundant checks for some map state function uses.
Also, prettify G_FreeMapState(), remove some duplicate function decls and
resurrect 'savestate' and 'restorestate' OSD commands for the debug build.
------------------------------------------------------------------------
r3790 | helixhorned | 2013-05-19 12:29:21 -0700 (Sun, 19 May 2013) | 1 line
LunaCON: fix Lua->CON line translation by recreating the line info, too.
------------------------------------------------------------------------
r3789 | helixhorned | 2013-05-19 12:29:18 -0700 (Sun, 19 May 2013) | 3 lines
Lunatic: conditionally compile out more code in savegame/gamevars.[ch].
Also, make the savegame major version 2 in the Lunatic build.
------------------------------------------------------------------------
r3788 | helixhorned | 2013-05-19 12:29:16 -0700 (Sun, 19 May 2013) | 5 lines
Lunatic: accept any number of *.lua modules on the command line.
There's no option letter for loading them, and the extension is checked
case sensitively. Lua modules are loaded after CON translated to Lua.
Also remove -testlua option.
------------------------------------------------------------------------
r3787 | helixhorned | 2013-05-19 12:29:13 -0700 (Sun, 19 May 2013) | 1 line
Lunatic: back up generated LunaCON code, recreate Lua state on map entering.
------------------------------------------------------------------------