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
5023 2344d 22h terminx /polymer/eduke32/source/menus.c Remove a couple of Android-specific menu items I accidentally left enabled on PC.  
5004 2355d 14h hendricks266 /polymer/eduke32/source/menus.c Fix build without DROIDMENU.  
5003 2355d 14h hendricks266 /polymer/eduke32/source/menus.c Replace erroneous use of EVENT_DISPLAYCROSSHAIR with new event EVENT_DISPLAYCURSOR.  
5002 2355d 15h terminx /polymer/eduke32/source/menus.c Oops! :)  
5000 2355d 16h terminx /polymer/eduke32/source/menus.c More Android work. DONT_BUILD.  
4997 2355d 16h terminx /polymer/eduke32/source/menus.c A whole bunch of mostly insignificant changes that didn't deserve separate commits. DONT_BUILD.  
4993 2355d 16h 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 2355d 16h terminx /polymer/eduke32/source/menus.c Minor sound cleanup... clean up crappy old code, remove obsolete "FXDevice" and "MusicDevice" variables, etc.  
4977 2357d 15h hendricks266 /polymer/eduke32/source/menus.c CON: Add undefinevolume, undefineskill, and undefinelevel.  
4976 2357d 15h hendricks266 /polymer/eduke32/source/menus.c Rename "Polymost.f" string back to "Polymost" because it only confused users.  
4966 2358d 13h hendricks266 /polymer/eduke32/source/menus.c Move EVENT_DISPLAYMENU to after the black translucent background is drawn when in-game.  
4951 2362d 0h helixhorned /polymer/eduke32/source/menus.c menus.c: fix C build. DONT_BUILD.  
4946 2372d 9h hendricks266 /polymer/eduke32/source/menus.c Menus: Mouse, touch, and pointer controls now take the origin into account.  
4945 2372d 9h 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 2372d 9h hendricks266 /polymer/eduke32/source/menus.c Make my menu animation code a little bit more modular.  
4942 2372d 9h hendricks266 /polymer/eduke32/source/menus.c Simplify the macros used for distinguishing between OS X and iOS.  
4940 2372d 9h hendricks266 /polymer/eduke32/source/menus.c Fix "textsize.x may be used uninitialized".  
4927 2380d 21h hendricks266 /polymer/eduke32/source/menus.c Fix a crash exposed by animating the menu back button.  
4921 2382d 15h terminx /polymer/eduke32/source/menus.c MSVC build fix... guess it was upset about the macro expansion  
4919 2382d 15h terminx /polymer/eduke32/source/menus.c Implement better fade-out for quotes and for the mouse cursor in the menu.  

Show All