fix: format
This commit is contained in:
24 files changed
+65
-65
No files matched your search
@@ -1,12 +1,12 @@
|
||||
#define LOCAL_MAP_ACTION( mapname ) \
|
||||
setdvar ui_mapname mapname; \
|
||||
close "settings_map"; \
|
||||
close "self";
|
||||
close "self";
|
||||
|
||||
#define LOCAL_MAP_FOCUS( name, desc, icon ) \
|
||||
setLocalVarString "ui_info_name" ( name ); \
|
||||
setLocalVarString "ui_info_desc" ( desc ); \
|
||||
setLocalVarString "ui_info_icon" ( icon );
|
||||
setLocalVarString "ui_info_icon" ( icon );
|
||||
|
||||
#define LOCAL_MAP_NAME( name ) \
|
||||
"@" + name
|
||||
|
||||
@@ -106,18 +106,18 @@ menuDef
|
||||
|
||||
PC_OPTIONS_DVARYESNO_RAW(1, "@MENU_LOOK_INVERSION", "input_invertPitch", ;, "@MPUI_DESC_LOOK_INVERSION", ON_GPAD_DISABLED, ON_GPAD_ENABLED)
|
||||
PC_OPTIONS_STRLIST_RAW(2, "@MENU_THUMBSTICK_LAYOUT", "gpad_sticksConfig",
|
||||
{"@MENU_DEFAULT"; "thumbstick_default";
|
||||
"@MENU_SOUTHPAW"; "thumbstick_southpaw";
|
||||
"@MENU_LEGACY"; "thumbstick_legacy";
|
||||
{"@MENU_DEFAULT"; "thumbstick_default";
|
||||
"@MENU_SOUTHPAW"; "thumbstick_southpaw";
|
||||
"@MENU_LEGACY"; "thumbstick_legacy";
|
||||
"@MENU_LEGACY_SOUTHPAW"; "thumbstick_legacysouthpaw"}, execNow "bindgpsticksconfigs";, ;, ON_GPAD_DISABLED, ON_GPAD_ENABLED)
|
||||
PC_OPTIONS_STRLIST_RAW(3, "@MENU_BUTTON_LAYOUT", "gpad_buttonConfig",
|
||||
{"@MENU_DEFAULT"; "buttons_default";
|
||||
"@MENU_TACTICAL"; "buttons_tactical";
|
||||
"@MENU_LEFTY"; "buttons_lefty";
|
||||
{"@MENU_DEFAULT"; "buttons_default";
|
||||
"@MENU_TACTICAL"; "buttons_tactical";
|
||||
"@MENU_LEFTY"; "buttons_lefty";
|
||||
"@MENU_NOMAD"; "buttons_nomad";
|
||||
"@MENU_DEFAULT_ALT"; "buttons_default_alt";
|
||||
"@MENU_TACTICAL_ALT"; "buttons_tactical_alt";
|
||||
"@MENU_LEFTY_ALT"; "buttons_lefty_alt";
|
||||
"@MENU_DEFAULT_ALT"; "buttons_default_alt";
|
||||
"@MENU_TACTICAL_ALT"; "buttons_tactical_alt";
|
||||
"@MENU_LEFTY_ALT"; "buttons_lefty_alt";
|
||||
"@MENU_NOMAD_ALT"; "buttons_nomad_alt"}, execNow "bindgpbuttonsconfigs";, ;, ON_GPAD_DISABLED, ON_GPAD_ENABLED)
|
||||
PC_OPTIONS_FLOATLIST_RAW(4, "@MENU_GPAD_STYLE", "gpad_style", {"@MENU_GPAD_XBOX_CAPS" 0 "@MENU_GPAD_PS_CAPS" 1}, ;, "@MPUI_DESC_GPAD_STYLE", ON_GPAD_DISABLED, ON_GPAD_ENABLED)
|
||||
PC_OPTIONS_DVARYESNO_RAW(5, "@MENU_SLOWDOWN_ENABLED", "gpad_slowdown_enabled", ;, "@MPUI_DESC_SLOWDOWN_ENABLED", ON_GPAD_DISABLED, ON_GPAD_ENABLED)
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
blurWorld 7
|
||||
onEsc
|
||||
{
|
||||
close "self";
|
||||
open "class";
|
||||
close "self";
|
||||
open "class";
|
||||
}
|
||||
|
||||
#define BACKGROUND_PC_OPTIONS
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
blurWorld 7
|
||||
onEsc
|
||||
{
|
||||
close "self";
|
||||
close "self";
|
||||
open "class";
|
||||
}
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
}
|
||||
action
|
||||
{
|
||||
close "self";
|
||||
close "self";
|
||||
uiScript "voteGame";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
}
|
||||
action
|
||||
{
|
||||
close "self";
|
||||
close "self";
|
||||
uiScript "voteMap";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
blurWorld 7
|
||||
onEsc
|
||||
{
|
||||
close "self";
|
||||
close "self";
|
||||
open "class";
|
||||
}
|
||||
|
||||
@@ -116,7 +116,7 @@
|
||||
}
|
||||
action
|
||||
{
|
||||
close "self";
|
||||
close "self";
|
||||
uiScript "voteKick";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -165,23 +165,23 @@
|
||||
visible when ( dvarint("iw4x_maps_dlc") == 99 )
|
||||
onFocus
|
||||
{
|
||||
play CHOICE_FOCUS_SOUND;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
play CHOICE_FOCUS_SOUND;
|
||||
setItemColor self backcolor 0 0 0 1;
|
||||
setLocalVarBool "ui_menuAButton" ( 1 );
|
||||
}
|
||||
leaveFocus
|
||||
{
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
setItemColor self backcolor 0 0 0 0;
|
||||
setLocalVarString "ui_hint_text" ( "@NULL_EMPTY" );
|
||||
setLocalVarBool "ui_menuAButton" ( 0 );
|
||||
}
|
||||
action
|
||||
{
|
||||
play "mouse_click";
|
||||
escape "self";
|
||||
uiScript "ApplyMap"
|
||||
close "settings_map";
|
||||
close "self";
|
||||
play "mouse_click";
|
||||
escape "self";
|
||||
uiScript "ApplyMap";
|
||||
close "settings_map";
|
||||
close "self";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user