[Mod FF]: Updated the menu files.

This commit is contained in:
JerryALT
2024-03-29 19:59:22 +03:00
parent 7050ef5e96
commit 531002020a
15 changed files with 718 additions and 280 deletions

View File

@ -108,7 +108,8 @@ PREPROC_TEXT_DRAW_ALIGNED( ORIGIN_CHEATS_INDICATOR 100 20 HORIZONTAL_ALIGN_CENTE
PREPROC_TEXT_DRAW_ALIGNED_EXP( ACT_ORIGIN CHOICE_SIZE_X 20 CHOICE_HORIZONTAL_ALIGN CHOICE_VERTICAL_ALIGN, -26 (base_y+4), ptitle, TEXTSIZE_DEFAULT, 0, 0, ITEM_ALIGN_MIDDLE_RIGHT, COLOR_TITLE group act_group )
#define LOCAL_BACK_BUTTON \
itemDef {\
itemDef \
{\
name back\
text "@MENU_BACK"\
type 1\
@ -119,12 +120,51 @@ PREPROC_TEXT_DRAW_ALIGNED( ORIGIN_CHEATS_INDICATOR 100 20 HORIZONTAL_ALIGN_CENTE
textalign ITEM_ALIGN_LEFT\
textscale TEXTSIZE_SMALL\
textaligny 18\
visible 1\
visible when( dvarBool(console_menu_style) == 0 ); \
mouseEnter { play "mouse_over"; }\
action {\
play "mouse_click";\
close self;\
} \
}\
}\
itemDef \
{ \
type ITEM_TYPE_BUTTON \
rect 18 -24 40 20 HORIZONTAL_ALIGN_LEFT VERTICAL_ALIGN_BOTTOM \
origin 0 0 \
text "@MENU_BACK" \
textfont UI_FONT_NORMAL \
textscale TEXTSIZE_SMALL \
textalign ITEM_ALIGN_BOTTOM_LEFT \
visible when( dvarBool(console_menu_style) == 1 && dvarBool(gpad_in_use) == 0 ); \
mouseEnter { play "mouse_over"; } \
action \
{ \
play "mouse_click"; \
close self; \
} \
} \
itemDef\
{\
rect 18 -4 0 0 HORIZONTAL_ALIGN_LEFT VERTICAL_ALIGN_BOTTOM\
origin 0 0\
textfont UI_FONT_NORMAL\
textscale TEXTSIZE_SMALL\
textalign ITEM_ALIGN_BOTTOM_LEFT\
exp text( locString( "@IW3SP_MOD_LOC_PLATFORM_BACK_GAMEPAD_XBOX" ) + " " + locString( "@MENU_BACK" ) )\
visible when( dvarBool(console_menu_style) == 1 && dvarBool(gpad_in_use) == 1 && dvarBool(gpad_style) == 0 );\
decoration\
}\
itemDef\
{\
rect 18 -4 0 0 HORIZONTAL_ALIGN_LEFT VERTICAL_ALIGN_BOTTOM\
origin 0 0\
textfont UI_FONT_NORMAL\
textscale TEXTSIZE_SMALL\
textalign ITEM_ALIGN_BOTTOM_LEFT\
exp text( locString( "@IW3SP_MOD_LOC_PLATFORM_BACK_GAMEPAD_SONY" ) + " " + locString( "@MENU_BACK" ) )\
visible when( dvarBool(console_menu_style) == 1 && dvarBool(gpad_in_use) == 1 && dvarBool(gpad_style) == 1 );\
decoration\
}
#define LOCAL_UNLOCK_ALL \