raze/polymer/eduke32
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
..
build Simplify the macros used for distinguishing between OS X and iOS. 2015-01-25 12:16:10 +00:00
jit Bump jit/bcsave.lua to the one from LuaJIT 2.0.3. 2014-04-05 11:28:02 +00:00
package Mapster32: make sprite duplication examples in m32script_ex.map work again. 2015-01-06 19:56:41 +00:00
platform Wii: Output and package the binary as .dol instead of .elf. 2014-12-18 18:15:05 +00:00
rsrc Identify Windows 10 in the startup window/log. DONT_BUILD. 2015-01-11 04:52:45 +00:00
source 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
_clang-format Add my _clang-format file to the repository. These options are pretty close to what most of our code already looks like, the primary difference being that it enforces spaces between operators and operands. I was initially opposed to the spaces, but I would be lying if I said they didn't increase legibility of much of our code, in addition to making it a lot easier to identify the specific intent in cases where we have a lot of expressions nested within one another. DONT_BUILD. 2014-11-22 12:28:21 +00:00
Android.mk Get rid of -Wdeclaration-after-statement as we're only targeting C99 and C++ now. DONT_BUILD. 2014-11-22 12:29:38 +00:00
eduke32.sln MSVC: Set up support for SDL2. DONT_BUILD. 2014-02-11 07:39:09 +00:00
eduke32.vcxproj Fix Mapster32 sector copying 2015-01-12 08:44:46 +00:00
eduke32.vcxproj.filters Fix Mapster32 sector copying 2015-01-12 08:44:46 +00:00
Makefile Reinstate MD4. 2015-01-08 15:13:28 +00:00
Makefile.common MSYS2 build fix. DONT_BUILD. 2015-01-16 06:30:48 +00:00
Makefile.deps Implement better fade-out for quotes and for the mouse cursor in the menu. 2015-01-15 06:45:14 +00:00
Makefile.msvc Reinstate MD4. 2015-01-08 15:13:28 +00:00