raze/polymer/eduke32/source/lunatic
hendricks266 93a3ff34e8 Add events EVENT_DISPLAYINACTIVEMENU and EVENT_DISPLAYINACTIVEMENUREST and userdef members m_origin_x and m_origin_y.
This allows for CON screen display code to use menu animations. The following is an example of how to adapt screen features that should animate.

before:

onevent EVENT_DISPLAYMENUREST
    ifvare current_menu 0 // main menu
    {
        setvar x 1
        setvar y 1
        rotatesprite x y zoom ang tilenum shade pal orientation 0 0 xdim ydim
    }
endevent

after:

state DisplayMenuCommon
    ifvare RETURN 0 // main menu
    {
        getuserdef[THISACTOR].m_origin_x x
        getuserdef[THISACTOR].m_origin_y y
        addvar x 65536
        addvar y 65536
        rotatesprite16 x y zoom ang tilenum shade pal orientation 0 0 xdim ydim
    }
ends

onevent EVENT_DISPLAYMENUREST state DisplayMenuCommon endevent
onevent EVENT_DISPLAYINACTIVEMENUREST state DisplayMenuCommon endevent

git-svn-id: https://svn.eduke32.com/eduke32@4945 1a8010ca-5511-0410-912e-c29ae57300e0
2015-01-25 12:16:58 +00:00
..
doc Lunatic: fix build and linking. DONT_BUILD. 2015-01-19 00:11:25 +00:00
m32
test CON: always return non-negative values from 'clipmove' and related. 2015-01-04 18:44:58 +00:00
util lunatic/util/build.lua: in readdefs(), add option of requesting picnum->name mapping. 2014-06-01 20:50:14 +00:00
bcarray.lua Lunatic: remap16 method for engine.shadetab, 2nd attempt at recreating orig. one. 2014-01-05 14:06:14 +00:00
bcheck.lua Lunatic: fix setup under Mapster32, remove a few obsolete lines in defs_common.lua. 2013-12-31 11:51:55 +00:00
bitar.lua
con_lang.lua Add events EVENT_DISPLAYINACTIVEMENU and EVENT_DISPLAYINACTIVEMENUREST and userdef members m_origin_x and m_origin_y. 2015-01-25 12:16:58 +00:00
control.lua CON: Add new commands "getmusicposition" and "setmusicposition" that operate on the playback position of the current music track. 2015-01-17 00:28:49 +00:00
defs.ilua Add events EVENT_DISPLAYINACTIVEMENU and EVENT_DISPLAYINACTIVEMENUREST and userdef members m_origin_x and m_origin_y. 2015-01-25 12:16:58 +00:00
defs_common.lua LunaCON: fix tilesizx[] and tilesizy[] system gamearrays. 2014-11-07 22:07:07 +00:00
defs_m32.ilua Lunatic: add 'engine' module, currently allowing to create custom shade tables. 2013-12-31 11:52:00 +00:00
dis_x64.lua
dis_x86.lua
dump.lua A couple of minor changes. 2013-09-05 17:37:44 +00:00
dynsymlist CON: Add new commands "getmusicposition" and "setmusicposition" that operate on the playback position of the current music track. 2015-01-17 00:28:49 +00:00
dynsymlist_m32 LunaCON: fix tilesizx[] and tilesizy[] system gamearrays. 2014-11-07 22:07:07 +00:00
engine.lua lunatic/test/shadexfog.lua: add function create_brightpass_trans(). 2014-05-22 11:17:51 +00:00
engine_maptext.lua Rename sector[].filler member to '.fogpal'. From CON, keep the '.alignto' alias. 2014-04-05 11:28:10 +00:00
fs.lua Lunatic: in fs.listpath() use FIND_NOCURDIR. Also document that function. 2013-12-01 18:28:02 +00:00
listglobals.sh
lunacon.lua CON: Add new commands "getmusicposition" and "setmusicposition" that operate on the playback position of the current music track. 2015-01-17 00:28:49 +00:00
lunatic_game.c Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD. 2014-11-26 04:39:23 +00:00
lunatic_game.h Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD. 2014-11-26 04:39:23 +00:00
lunatic_m32.c Lunatic: make it possible to build with LuaJIT 2.1, add -Lopts=profile there. 2013-10-16 19:43:06 +00:00
lunatic_m32.h Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD. 2014-11-26 04:39:23 +00:00
profdemo.lua
randgen.lua Lunatic: fix building and startup up to tilesizx[] failure. DONT_BUILD. 2014-10-30 21:44:22 +00:00
savegame.lua LunaCON: implement NORESET flag for gamevars. 2013-11-08 18:08:37 +00:00
stat.lua
strict.lua
test.lua Lunatic: for gameactor(), deprecate AF.replace_hard, make AF.replace default. 2014-03-15 14:10:50 +00:00
v.lua A couple of minor changes. 2013-09-05 17:37:44 +00:00
xmath.lua Lunatic: make hitscan accept ray as vector, add xmath.kangvec. 2013-09-13 20:23:54 +00:00