Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
4977 2447d 4h hendricks266 /polymer/eduke32/source/menus.c CON: Add undefinevolume, undefineskill, and undefinelevel.  
4976 2447d 4h hendricks266 /polymer/eduke32/source/menus.c Rename "Polymost.f" string back to "Polymost" because it only confused users.  
4966 2448d 2h hendricks266 /polymer/eduke32/source/menus.c Move EVENT_DISPLAYMENU to after the black translucent background is drawn when in-game.  
4951 2451d 12h helixhorned /polymer/eduke32/source/menus.c menus.c: fix C build. DONT_BUILD.  
4946 2461d 22h hendricks266 /polymer/eduke32/source/menus.c Menus: Mouse, touch, and pointer controls now take the origin into account.  
4945 2461d 22h 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 2461d 22h hendricks266 /polymer/eduke32/source/menus.c Make my menu animation code a little bit more modular.  
4942 2461d 22h hendricks266 /polymer/eduke32/source/menus.c Simplify the macros used for distinguishing between OS X and iOS.  
4940 2461d 22h hendricks266 /polymer/eduke32/source/menus.c Fix "textsize.x may be used uninitialized".  
4927 2470d 9h hendricks266 /polymer/eduke32/source/menus.c Fix a crash exposed by animating the menu back button.  
4921 2472d 3h terminx /polymer/eduke32/source/menus.c MSVC build fix... guess it was upset about the macro expansion  
4919 2472d 3h terminx /polymer/eduke32/source/menus.c Implement better fade-out for quotes and for the mouse cursor in the menu.  
4918 2473d 21h hendricks266 /polymer/eduke32/source/menus.c Menus: Implement better back button.  
4917 2473d 21h hendricks266 /polymer/eduke32/source/menus.c Menus: Make black background boxes translucent again.  
4916 2473d 21h hendricks266 /polymer/eduke32/source/menus.c Menus: Add proper edging for the tops and bottoms of scrolling lists.  
4914 2473d 21h hendricks266 /polymer/eduke32/source/menus.c Convert some multi-line UI messages to single G_ScreenText calls with line breaks.  
4885 2478d 19h hendricks266 /polymer/eduke32/source/menus.c Menus: Disable the spinning nuke icon back button on Android.  
4870 2489d 12h hendricks266 /polymer/eduke32/source/menus.c Menus: Amend r4862 so that touch devices, which do not display the crosshair as a cursor, are not completely prevented from using touch input by the lack of a crosshair tile.  
4869 2489d 12h hendricks266 /polymer/eduke32/source/menus.c Menus: Fix the Screen Size slider so that it works properly after the screen size has been modified in-game with [-]/[+].  
4868 2489d 12h hendricks266 /polymer/eduke32/source/menus.c Menus: Fix selecting "None" for Anisotropy.  

Show All