Subversion Repositories eduke32

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
5004 2414d 1h hendricks266 /polymer/eduke32/source/menus.c Fix build without DROIDMENU.  
5003 2414d 1h hendricks266 /polymer/eduke32/source/menus.c Replace erroneous use of EVENT_DISPLAYCROSSHAIR with new event EVENT_DISPLAYCURSOR.  
5002 2414d 2h terminx /polymer/eduke32/source/menus.c Oops! :)  
5000 2414d 3h terminx /polymer/eduke32/source/menus.c More Android work. DONT_BUILD.  
4997 2414d 3h terminx /polymer/eduke32/source/menus.c A whole bunch of mostly insignificant changes that didn't deserve separate commits. DONT_BUILD.  
4993 2414d 3h terminx /polymer/eduke32/source/menus.c Android menu changes. Moves a few settings in-game instead of in crappy system UI dialogs. DONT_BUILD.  
4986 2414d 3h terminx /polymer/eduke32/source/menus.c Minor sound cleanup... clean up crappy old code, remove obsolete "FXDevice" and "MusicDevice" variables, etc.  
4977 2416d 3h hendricks266 /polymer/eduke32/source/menus.c CON: Add undefinevolume, undefineskill, and undefinelevel.  
4976 2416d 3h hendricks266 /polymer/eduke32/source/menus.c Rename "Polymost.f" string back to "Polymost" because it only confused users.  
4966 2417d 0h hendricks266 /polymer/eduke32/source/menus.c Move EVENT_DISPLAYMENU to after the black translucent background is drawn when in-game.  
4951 2420d 11h helixhorned /polymer/eduke32/source/menus.c menus.c: fix C build. DONT_BUILD.  
4946 2430d 20h hendricks266 /polymer/eduke32/source/menus.c Menus: Mouse, touch, and pointer controls now take the origin into account.  
4945 2430d 20h hendricks266 /polymer/eduke32/source/menus.c 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
 
4944 2430d 20h hendricks266 /polymer/eduke32/source/menus.c Make my menu animation code a little bit more modular.  
4942 2430d 20h hendricks266 /polymer/eduke32/source/menus.c Simplify the macros used for distinguishing between OS X and iOS.  
4940 2430d 20h hendricks266 /polymer/eduke32/source/menus.c Fix "textsize.x may be used uninitialized".  
4927 2439d 8h hendricks266 /polymer/eduke32/source/menus.c Fix a crash exposed by animating the menu back button.  
4921 2441d 2h terminx /polymer/eduke32/source/menus.c MSVC build fix... guess it was upset about the macro expansion  
4919 2441d 2h terminx /polymer/eduke32/source/menus.c Implement better fade-out for quotes and for the mouse cursor in the menu.  
4918 2442d 19h hendricks266 /polymer/eduke32/source/menus.c Menus: Implement better back button.  

Show All