Subversion Repositories eduke32


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
5025 2354d 4h helixhorned /polymer/eduke32/source/menus.c menus.c: fix two unused-variable warnings.  
5023 2354d 18h terminx /polymer/eduke32/source/menus.c Remove a couple of Android-specific menu items I accidentally left enabled on PC.  
5004 2365d 10h hendricks266 /polymer/eduke32/source/menus.c Fix build without DROIDMENU.  
5003 2365d 10h hendricks266 /polymer/eduke32/source/menus.c Replace erroneous use of EVENT_DISPLAYCROSSHAIR with new event EVENT_DISPLAYCURSOR.  
5002 2365d 11h terminx /polymer/eduke32/source/menus.c Oops! :)  
5000 2365d 12h terminx /polymer/eduke32/source/menus.c More Android work. DONT_BUILD.  
4997 2365d 12h terminx /polymer/eduke32/source/menus.c A whole bunch of mostly insignificant changes that didn't deserve separate commits. DONT_BUILD.  
4993 2365d 12h 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 2365d 12h terminx /polymer/eduke32/source/menus.c Minor sound cleanup... clean up crappy old code, remove obsolete "FXDevice" and "MusicDevice" variables, etc.  
4977 2367d 11h hendricks266 /polymer/eduke32/source/menus.c CON: Add undefinevolume, undefineskill, and undefinelevel.  
4976 2367d 11h hendricks266 /polymer/eduke32/source/menus.c Rename "Polymost.f" string back to "Polymost" because it only confused users.  
4966 2368d 9h hendricks266 /polymer/eduke32/source/menus.c Move EVENT_DISPLAYMENU to after the black translucent background is drawn when in-game.  
4951 2371d 20h helixhorned /polymer/eduke32/source/menus.c menus.c: fix C build. DONT_BUILD.  
4946 2382d 5h hendricks266 /polymer/eduke32/source/menus.c Menus: Mouse, touch, and pointer controls now take the origin into account.  
4945 2382d 5h 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.


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


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

onevent EVENT_DISPLAYMENUREST state DisplayMenuCommon endevent
onevent EVENT_DISPLAYINACTIVEMENUREST state DisplayMenuCommon endevent
4944 2382d 5h hendricks266 /polymer/eduke32/source/menus.c Make my menu animation code a little bit more modular.  
4942 2382d 5h hendricks266 /polymer/eduke32/source/menus.c Simplify the macros used for distinguishing between OS X and iOS.  
4940 2382d 5h hendricks266 /polymer/eduke32/source/menus.c Fix "textsize.x may be used uninitialized".  
4927 2390d 17h hendricks266 /polymer/eduke32/source/menus.c Fix a crash exposed by animating the menu back button.  
4921 2392d 10h terminx /polymer/eduke32/source/menus.c MSVC build fix... guess it was upset about the macro expansion  

Show All