126 lines
5.9 KiB
C++
126 lines
5.9 KiB
C++
|
|
// --- team options
|
|
#ifdef TEAMBASED
|
|
#define CHOICE_SPECTATE_TEXT "@MPUI_RULES_SPECTATING"
|
|
#define CHOICE_SPECTATE_DVAR scr_game_spectatetype
|
|
#define CHOICE_SPECTATE_DVARTEXT CHOICE_SPECTATE_DVAR"_text"
|
|
#define CHOICE_SPECTATE_SHOW 1
|
|
#define CHOICE_SPECTATE_STR1 "@MENU_DISABLED"
|
|
#define CHOICE_SPECTATE_STR2 "@MPUI_RULES_TEAM_ONLY"
|
|
#define CHOICE_SPECTATE_STR3 "@MPUI_RULES_FREE"
|
|
#define CHOICE_SPECTATE_STR4 ""
|
|
#define CHOICE_SPECTATE_STR5 ""
|
|
#define CHOICE_SPECTATE_STR6 ""
|
|
#define CHOICE_SPECTATE_VAL1 0
|
|
#define CHOICE_SPECTATE_VAL2 1
|
|
#define CHOICE_SPECTATE_VAL3 2
|
|
#define CHOICE_SPECTATE_VAL4 0
|
|
#define CHOICE_SPECTATE_VAL5 0
|
|
#define CHOICE_SPECTATE_VAL6 0
|
|
#ifndef PC
|
|
#define CHOICE_SPECTATE_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE_SPECTATE_TEXT; play "mouse_click";
|
|
#else // #ifndef PC
|
|
#define CHOICE_SPECTATE_EXEC play "mouse_click";
|
|
#endif
|
|
#define CHOICE_SPECTATE_STRLIST { CHOICE_SPECTATE_STR1 CHOICE_SPECTATE_VAL1 CHOICE_SPECTATE_STR2 CHOICE_SPECTATE_VAL2 CHOICE_SPECTATE_STR3 CHOICE_SPECTATE_VAL3 CHOICE_SPECTATE_STR4 CHOICE_SPECTATE_VAL4 CHOICE_SPECTATE_STR5 CHOICE_SPECTATE_VAL5 CHOICE_SPECTATE_STR6 CHOICE_SPECTATE_VAL6 }
|
|
#define CHOICE_SPECTATE_NUMVALS 3
|
|
#else
|
|
#define CHOICE_SPECTATE_TEXT "@MPUI_RULES_SPECTATING"
|
|
#define CHOICE_SPECTATE_DVAR scr_game_spectatetype
|
|
#define CHOICE_SPECTATE_DVARTEXT CHOICE_SPECTATE_DVAR"_text"
|
|
#define CHOICE_SPECTATE_SHOW 1
|
|
#define CHOICE_SPECTATE_STR1 "@MENU_DISABLED"
|
|
#define CHOICE_SPECTATE_STR2 "@MPUI_RULES_PLAYERS_ONLY"
|
|
#define CHOICE_SPECTATE_STR3 "@MPUI_RULES_FREE"
|
|
#define CHOICE_SPECTATE_STR4 ""
|
|
#define CHOICE_SPECTATE_STR5 ""
|
|
#define CHOICE_SPECTATE_STR6 ""
|
|
#define CHOICE_SPECTATE_VAL1 0
|
|
#define CHOICE_SPECTATE_VAL2 1
|
|
#define CHOICE_SPECTATE_VAL3 2
|
|
#define CHOICE_SPECTATE_VAL4 0
|
|
#define CHOICE_SPECTATE_VAL5 0
|
|
#define CHOICE_SPECTATE_VAL6 0
|
|
#ifndef PC
|
|
#define CHOICE_SPECTATE_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE_SPECTATE_TEXT; play "mouse_click";
|
|
#else // #ifndef PC
|
|
#define CHOICE_SPECTATE_EXEC play "mouse_click";
|
|
#endif // #ifndef PC
|
|
#define CHOICE_SPECTATE_STRLIST { CHOICE_SPECTATE_STR1 CHOICE_SPECTATE_VAL1 CHOICE_SPECTATE_STR2 CHOICE_SPECTATE_VAL2 CHOICE_SPECTATE_STR3 CHOICE_SPECTATE_VAL3 CHOICE_SPECTATE_STR4 CHOICE_SPECTATE_VAL4 CHOICE_SPECTATE_STR5 CHOICE_SPECTATE_VAL5 CHOICE_SPECTATE_STR6 CHOICE_SPECTATE_VAL6 }
|
|
#define CHOICE_SPECTATE_NUMVALS 3
|
|
#endif
|
|
|
|
#define CHOICE_RADAR_TEXT "@MPUI_RULES_RADAR_ALWAYS_ON"
|
|
#define CHOICE_RADAR_DVAR "scr_game_forceradar"
|
|
#define CHOICE_RADAR_DVARTEXT CHOICE_RADAR_DVAR"_text"
|
|
#define CHOICE_RADAR_SHOW 1
|
|
#define CHOICE_RADAR_STRLIST { "@MENU_NO" 0 "@MENU_YES" 1}
|
|
#ifndef PC
|
|
#define CHOICE_RADAR_EXEC exec "toggle "CHOICE_RADAR_DVAR" 0 1"; play "mouse_click";
|
|
#else
|
|
#define CHOICE_RADAR_EXEC play "mouse_click";
|
|
#endif
|
|
|
|
#define CHOICE_WAVEDELAY_TEXT "@MPUI_RULES_WAVE_DELAY"
|
|
#define CHOICE_WAVEDELAY_DVAR WAVERESPAWN_DVAR
|
|
#define CHOICE_WAVEDELAY_DVARTEXT CHOICE_WAVEDELAY_DVAR"_text"
|
|
#define CHOICE_WAVEDELAY_SHOW 1
|
|
#define CHOICE_WAVEDELAY_STR1 "@MPUI_RULES_NONE"
|
|
#define CHOICE_WAVEDELAY_STR2 "@MPUI_RULES_5SECONDS"
|
|
#define CHOICE_WAVEDELAY_STR3 "@MPUI_RULES_10SECONDS"
|
|
#define CHOICE_WAVEDELAY_STR4 "@MPUI_RULES_15SECONDS"
|
|
#define CHOICE_WAVEDELAY_STR5 "@MPUI_RULES_30SECONDS"
|
|
#define CHOICE_WAVEDELAY_STR6 ""
|
|
#define CHOICE_WAVEDELAY_VAL1 0
|
|
#define CHOICE_WAVEDELAY_VAL2 5
|
|
#define CHOICE_WAVEDELAY_VAL3 10
|
|
#define CHOICE_WAVEDELAY_VAL4 15
|
|
#define CHOICE_WAVEDELAY_VAL5 30
|
|
#define CHOICE_WAVEDELAY_VAL6 0
|
|
#ifndef PC
|
|
#define CHOICE_WAVEDELAY_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE_WAVEDELAY_TEXT; play "mouse_click";
|
|
#else // #ifndef PC
|
|
#define CHOICE_WAVEDELAY_EXEC play "mouse_click";
|
|
#endif // #ifndef PC
|
|
#define CHOICE_WAVEDELAY_STRLIST { CHOICE_WAVEDELAY_STR1 CHOICE_WAVEDELAY_VAL1 CHOICE_WAVEDELAY_STR2 CHOICE_WAVEDELAY_VAL2 CHOICE_WAVEDELAY_STR3 CHOICE_WAVEDELAY_VAL3 CHOICE_WAVEDELAY_STR4 CHOICE_WAVEDELAY_VAL4 CHOICE_WAVEDELAY_STR5 CHOICE_WAVEDELAY_VAL5 CHOICE_WAVEDELAY_STR6 CHOICE_WAVEDELAY_VAL6 }
|
|
#define CHOICE_WAVEDELAY_NUMVALS 5
|
|
|
|
|
|
#define CHOICE_FORCERESPAWN_TEXT "@MPUI_RULES_FORCE_RESPAWN"
|
|
#define CHOICE_FORCERESPAWN_DVAR "scr_player_forcerespawn"
|
|
#define CHOICE_FORCERESPAWN_DVARTEXT CHOICE_FORCERESPAWN_DVAR"_text"
|
|
#define CHOICE_FORCERESPAWN_SHOW 1
|
|
#define CHOICE_FORCERESPAWN_STRLIST { "@MENU_DISABLED" 0 "@MENU_ENABLED" 1}
|
|
#ifndef PC
|
|
#define CHOICE_FORCERESPAWN_EXEC exec "toggle "CHOICE_FORCERESPAWN_DVAR" 0 1"; play "mouse_click";
|
|
#else
|
|
#define CHOICE_FORCERESPAWN_EXEC play "mouse_click";
|
|
#endif
|
|
|
|
#ifdef TEAMBASED
|
|
#define CHOICE_FRIENDLYFIRE_TEXT "@MPUI_RULES_FRIENDLY_FIRE"
|
|
#define CHOICE_FRIENDLYFIRE_DVAR scr_team_fftype
|
|
#define CHOICE_FRIENDLYFIRE_DVARTEXT CHOICE_FRIENDLYFIRE_DVAR"_text"
|
|
#define CHOICE_FRIENDLYFIRE_SHOW 1
|
|
#define CHOICE_FRIENDLYFIRE_STR1 "@MENU_DISABLED"
|
|
#define CHOICE_FRIENDLYFIRE_STR2 "@MENU_ENABLED"
|
|
#define CHOICE_FRIENDLYFIRE_STR3 "@MPUI_RULES_REFLECT"
|
|
#define CHOICE_FRIENDLYFIRE_STR4 "@MPUI_RULES_SHARED"
|
|
#define CHOICE_FRIENDLYFIRE_STR5 ""
|
|
#define CHOICE_FRIENDLYFIRE_STR6 ""
|
|
#define CHOICE_FRIENDLYFIRE_VAL1 0
|
|
#define CHOICE_FRIENDLYFIRE_VAL2 1
|
|
#define CHOICE_FRIENDLYFIRE_VAL3 2
|
|
#define CHOICE_FRIENDLYFIRE_VAL4 3
|
|
#define CHOICE_FRIENDLYFIRE_VAL5 0
|
|
#define CHOICE_FRIENDLYFIRE_VAL6 0
|
|
#ifndef PC
|
|
#define CHOICE_FRIENDLYFIRE_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE_FRIENDLYFIRE_TEXT; play "mouse_click";
|
|
#else // #ifndef PC
|
|
#define CHOICE_FRIENDLYFIRE_EXEC play "mouse_click";
|
|
#endif // #ifndef PC
|
|
|
|
#define CHOICE_FRIENDLYFIRE_STRLIST { CHOICE_FRIENDLYFIRE_STR1 CHOICE_FRIENDLYFIRE_VAL1 CHOICE_FRIENDLYFIRE_STR2 CHOICE_FRIENDLYFIRE_VAL2 CHOICE_FRIENDLYFIRE_STR3 CHOICE_FRIENDLYFIRE_VAL3 CHOICE_FRIENDLYFIRE_STR4 CHOICE_FRIENDLYFIRE_VAL4 CHOICE_FRIENDLYFIRE_STR5 CHOICE_FRIENDLYFIRE_VAL5 CHOICE_FRIENDLYFIRE_STR6 CHOICE_FRIENDLYFIRE_VAL6 }
|
|
#define CHOICE_FRIENDLYFIRE_NUMVALS 4
|
|
#endif
|
|
|