cod5-sdk/raw/ui_mp/settings_quick_dm.menu
2008-11-20 00:00:00 +00:00

70 lines
2.6 KiB
Text

#include "ui/menudef.h"
#include "ui_mp/common_macro.inc"
#define MENU_TITLE_TEXT "FREE-FOR-ALL OPTIONS"
#define GAME_OPTIONS_MENU_NAME "settings_quick_dm"
#include "ui_mp/common_game_options.inc"
#define NUMLIVES_DVAR "scr_dm_numlives"
#define PLAYERRESPAWN_DVAR "scr_dm_playerrespawndelay"
#define WAVERESPAWN_DVAR "scr_dm_waverespawndelay"
#define GAMETYPE_OPTIONS "@MENU_FREE_FOR_ALL"
// --- gameplay options
#define CHOICE1_TEXT "@MPUI_RULES_TIME_LIMIT"
#define CHOICE1_DVAR scr_dm_timelimit
#define CHOICE1_DVARTEXT CHOICE1_DVAR"_text"
#define CHOICE1_SHOW 1
#define CHOICE1_STR1 "@MPUI_RULES_UNLIMITED"
#define CHOICE1_STR2 "@MPUI_RULES_5MINUTES"
#define CHOICE1_STR3 "@MPUI_RULES_10MINUTES"
#define CHOICE1_STR4 "@MPUI_RULES_20MINUTES"
#define CHOICE1_STR5 "@MPUI_RULES_30MINUTES"
#define CHOICE1_STR6 ""
#define CHOICE1_VAL1 0
#define CHOICE1_VAL2 5
#define CHOICE1_VAL3 10
#define CHOICE1_VAL4 20
#define CHOICE1_VAL5 30
#define CHOICE1_VAL6 0
#ifndef PC
#define CHOICE1_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE1_TEXT; play "mouse_click";
#else // #ifndef PC
#define CHOICE1_EXEC play "mouse_click";
#endif // #ifndef PC
#define CHOICE1_STRLIST { CHOICE1_STR1 CHOICE1_VAL1 CHOICE1_STR2 CHOICE1_VAL2 CHOICE1_STR3 CHOICE1_VAL3 CHOICE1_STR4 CHOICE1_VAL4 CHOICE1_STR5 CHOICE1_VAL5 CHOICE1_STR6 CHOICE1_VAL6 }
#define CHOICE1_NUMVALS 5
#define CHOICE1_POPUP 1
#define CHOICE2_TEXT "@MPUI_RULES_SCORE_LIMIT"
#define CHOICE2_DVAR "scr_dm_scorelimit"
#define CHOICE2_DVARTEXT CHOICE2_DVAR"_text"
#define CHOICE2_SHOW 1
#define CHOICE2_STR1 "@MPUI_RULES_UNLIMITED"
#define CHOICE2_STR2 "@MPUI_RULES_100POINTS"
#define CHOICE2_STR3 "@MPUI_RULES_150POINTS"
#define CHOICE2_STR4 "@MPUI_RULES_300POINTS"
#define CHOICE2_STR5 "@MPUI_RULES_500POINTS"
#define CHOICE2_STR6 "@MPUI_RULES_700POINTS"
#define CHOICE2_VAL1 0
#define CHOICE2_VAL2 100
#define CHOICE2_VAL3 150
#define CHOICE2_VAL4 300
#define CHOICE2_VAL5 500
#define CHOICE2_VAL6 700
#ifndef PC
#define CHOICE2_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE2_TEXT; play "mouse_click";
#else // #ifndef PC
#define CHOICE2_EXEC play "mouse_click";
#endif // #ifndef PC
#define CHOICE2_STRLIST { CHOICE2_STR1 CHOICE2_VAL1 CHOICE2_STR2 CHOICE2_VAL2 CHOICE2_STR3 CHOICE2_VAL3 CHOICE2_STR4 CHOICE2_VAL4 CHOICE2_STR5 CHOICE2_VAL5 CHOICE2_STR6 CHOICE2_VAL6 }
#define CHOICE2_NUMVALS 6
#define CHOICE2_POPUP 1
#include "ui_mp/settings_team.inc"
#include "ui_mp/settings_player.inc"
#include "ui_mp/settings_weapon.inc"
{
#include "ui_mp/game_options.inc"
}