cod5-sdk/raw/ui_mp/settings_player.inc
2008-11-20 00:00:00 +00:00

118 lines
6.1 KiB
C++

// ---- player options
#define CHOICE_NUMLIVES_TEXT "@MPUI_RULES_NUMBER_OF_LIVES"
#define CHOICE_NUMLIVES_DVAR NUMLIVES_DVAR
#define CHOICE_NUMLIVES_DVARTEXT CHOICE_NUMLIVES_DVAR"_text"
#define CHOICE_NUMLIVES_SHOW 1
#define CHOICE_NUMLIVES_STR1 "@MPUI_RULES_UNLIMITED"
#define CHOICE_NUMLIVES_STR2 "@MPUI_RULES_ITEM_LIFE"
#define CHOICE_NUMLIVES_STR3 "@MPUI_RULES_ITEM_2LIVES"
#define CHOICE_NUMLIVES_STR4 "@MPUI_RULES_ITEM_3LIVES"
#define CHOICE_NUMLIVES_STR5 "@MPUI_RULES_ITEM_5LIVES"
#define CHOICE_NUMLIVES_STR6 "@MPUI_RULES_ITEM_9LIVES"
#define CHOICE_NUMLIVES_VAL1 0
#define CHOICE_NUMLIVES_VAL2 1
#define CHOICE_NUMLIVES_VAL3 2
#define CHOICE_NUMLIVES_VAL4 3
#define CHOICE_NUMLIVES_VAL5 5
#define CHOICE_NUMLIVES_VAL6 9
#ifndef PC
#define CHOICE_NUMLIVES_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE_NUMLIVES_TEXT; play "mouse_click";
#else // #ifndef PC
#define CHOICE_NUMLIVES_EXEC play "mouse_click";
#endif // #ifndef PC
#define CHOICE_NUMLIVES_STRLIST { CHOICE_NUMLIVES_STR1 CHOICE_NUMLIVES_VAL1 CHOICE_NUMLIVES_STR2 CHOICE_NUMLIVES_VAL2 CHOICE_NUMLIVES_STR3 CHOICE_NUMLIVES_VAL3 CHOICE_NUMLIVES_STR4 CHOICE_NUMLIVES_VAL4 CHOICE_NUMLIVES_STR5 CHOICE_NUMLIVES_VAL5 CHOICE_NUMLIVES_STR6 CHOICE_NUMLIVES_VAL6 }
#define CHOICE_NUMLIVES_NUMVALS 6
#define CHOICE_RESPAWNDELAY_TEXT "@MPUI_RULES_RESPAWN_DELAY"
#define CHOICE_RESPAWNDELAY_DVAR PLAYERRESPAWN_DVAR
#define CHOICE_RESPAWNDELAY_DVARTEXT CHOICE_RESPAWNDELAY_DVAR"_text"
#define CHOICE_RESPAWNDELAY_SHOW 1
#define CHOICE_RESPAWNDELAY_STR1 "@MPUI_RULES_NONE"
#define CHOICE_RESPAWNDELAY_STR2 "@MPUI_RULES_5SECONDS"
#define CHOICE_RESPAWNDELAY_STR3 "@MPUI_RULES_7_5SECONDS"
#define CHOICE_RESPAWNDELAY_STR4 "@MPUI_RULES_10SECONDS"
#define CHOICE_RESPAWNDELAY_STR5 "@MPUI_RULES_15SECONDS"
#define CHOICE_RESPAWNDELAY_STR6 "@MPUI_RULES_30SECONDS"
#define CHOICE_RESPAWNDELAY_VAL1 0
#define CHOICE_RESPAWNDELAY_VAL2 5
#define CHOICE_RESPAWNDELAY_VAL3 7.5
#define CHOICE_RESPAWNDELAY_VAL4 10
#define CHOICE_RESPAWNDELAY_VAL5 15
#define CHOICE_RESPAWNDELAY_VAL6 30
#ifndef PC
#define CHOICE_RESPAWNDELAY_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE_RESPAWNDELAY_TEXT; play "mouse_click";
#else // #ifndef PC
#define CHOICE_RESPAWNDELAY_EXEC play "mouse_click";
#endif // #ifndef PC
#define CHOICE_RESPAWNDELAY_STRLIST { CHOICE_RESPAWNDELAY_STR1 CHOICE_RESPAWNDELAY_VAL1 CHOICE_RESPAWNDELAY_STR2 CHOICE_RESPAWNDELAY_VAL2 CHOICE_RESPAWNDELAY_STR3 CHOICE_RESPAWNDELAY_VAL3 CHOICE_RESPAWNDELAY_STR4 CHOICE_RESPAWNDELAY_VAL4 CHOICE_RESPAWNDELAY_STR5 CHOICE_RESPAWNDELAY_VAL5 CHOICE_RESPAWNDELAY_STR6 CHOICE_RESPAWNDELAY_VAL6 }
#define CHOICE_RESPAWNDELAY_NUMVALS 6
#define CHOICE_MAXHEALTH_TEXT "@MPUI_RULES_MAX_HEALTH"
#define CHOICE_MAXHEALTH_DVAR scr_player_maxhealth
#define CHOICE_MAXHEALTH_DVARTEXT CHOICE_MAXHEALTH_DVAR"_text"
#define CHOICE_MAXHEALTH_SHOW 1
#define CHOICE_MAXHEALTH_STR1 "@MPUI_RULES_MINISCULE"
#define CHOICE_MAXHEALTH_STR2 "@MPUI_RULES_HALF"
#define CHOICE_MAXHEALTH_STR3 "@MPUI_RULES_NORMAL"
#define CHOICE_MAXHEALTH_STR4 "@MPUI_RULES_DOUBLE"
#define CHOICE_MAXHEALTH_STR5 ""
#define CHOICE_MAXHEALTH_STR6 ""
#define CHOICE_MAXHEALTH_VAL1 30
#define CHOICE_MAXHEALTH_VAL2 50
#define CHOICE_MAXHEALTH_VAL3 100
#define CHOICE_MAXHEALTH_VAL4 200
#define CHOICE_MAXHEALTH_VAL5 0
#define CHOICE_MAXHEALTH_VAL6 0
#ifndef PC
#define CHOICE_MAXHEALTH_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE_MAXHEALTH_TEXT; play "mouse_click";
#else // #ifndef PC
#define CHOICE_MAXHEALTH_EXEC play "mouse_click";
#endif // #ifndef PC
#define CHOICE_MAXHEALTH_STRLIST { CHOICE_MAXHEALTH_STR1 CHOICE_MAXHEALTH_VAL1 CHOICE_MAXHEALTH_STR2 CHOICE_MAXHEALTH_VAL2 CHOICE_MAXHEALTH_STR3 CHOICE_MAXHEALTH_VAL3 CHOICE_MAXHEALTH_STR4 CHOICE_MAXHEALTH_VAL4 }
#define CHOICE_MAXHEALTH_NUMVALS 4
#define CHOICE_HEALTHREGEN_TEXT "@MPUI_RULES_HEALTH_REGEN"
#define CHOICE_HEALTHREGEN_DVAR scr_player_healthregentime
#define CHOICE_HEALTHREGEN_DVARTEXT CHOICE_HEALTHREGEN_DVAR"_text"
#define CHOICE_HEALTHREGEN_SHOW 1
#define CHOICE_HEALTHREGEN_STR1 "@MPUI_RULES_NONE"
#define CHOICE_HEALTHREGEN_STR2 "@MPUI_RULES_FAST"
#define CHOICE_HEALTHREGEN_STR3 "@MPUI_RULES_NORMAL"
#define CHOICE_HEALTHREGEN_STR4 "@MPUI_RULES_SLOW"
#define CHOICE_HEALTHREGEN_STR5 ""
#define CHOICE_HEALTHREGEN_STR6 ""
#define CHOICE_HEALTHREGEN_VAL1 0
#define CHOICE_HEALTHREGEN_VAL2 2
#define CHOICE_HEALTHREGEN_VAL3 5
#define CHOICE_HEALTHREGEN_VAL4 10
#define CHOICE_HEALTHREGEN_VAL5 0
#define CHOICE_HEALTHREGEN_VAL6 0
#ifndef PC
#define CHOICE_HEALTHREGEN_EXEC open GAME_OPTIONS_MENU_NAME"_"CHOICE_HEALTHREGEN_TEXT; play "mouse_click";
#else // #ifndef PC
#define CHOICE_HEALTHREGEN_EXEC play "mouse_click";
#endif // #ifndef PC
#define CHOICE_HEALTHREGEN_STRLIST { CHOICE_HEALTHREGEN_STR1 CHOICE_HEALTHREGEN_VAL1 CHOICE_HEALTHREGEN_STR2 CHOICE_HEALTHREGEN_VAL2 CHOICE_HEALTHREGEN_STR3 CHOICE_HEALTHREGEN_VAL3 CHOICE_HEALTHREGEN_STR4 CHOICE_HEALTHREGEN_VAL4 CHOICE_HEALTHREGEN_STR5 CHOICE_HEALTHREGEN_VAL5 CHOICE_HEALTHREGEN_STR6 CHOICE_HEALTHREGEN_VAL6 }
#define CHOICE_HEALTHREGEN_NUMVALS 4
#define CHOICE_ALLOWSPRINT_TEXT "@MPUI_RULES_ALLOW_SPRINT"
#define CHOICE_ALLOWSPRINT_DVAR "scr_player_sprintTime"
#define CHOICE_ALLOWSPRINT_DVARTEXT CHOICE_ALLOWSPRINT_DVAR"_text"
#define CHOICE_ALLOWSPRINT_SHOW 1
#define CHOICE_ALLOWSPRINT_STRLIST { "@MENU_DISABLED" 0 "@MENU_ENABLED" 4}
#ifndef PC
#define CHOICE_ALLOWSPRINT_EXEC exec "toggle "CHOICE_ALLOWSPRINT_DVAR" 0 4"; play "mouse_click";
#else
#define CHOICE_ALLOWSPRINT_EXEC play "mouse_click";
#endif
#define CHOICE_KILLCAM_TEXT "@MPUI_RULE_ALLOW_KILLCAM"
#define CHOICE_KILLCAM_DVAR "scr_game_allowkillcam"
#define CHOICE_KILLCAM_DVARTEXT CHOICE_KILLCAM_DVAR"_text"
#define CHOICE_KILLCAM_SHOW 1
#define CHOICE_KILLCAM_STRLIST { "@MENU_DISABLED" 0 "@MENU_ENABLED" 1}
#ifndef PC
#define CHOICE_KILLCAM_EXEC exec "toggle "CHOICE_KILLCAM_DVAR" 0 1"; play "mouse_click";
#else
#define CHOICE_KILLCAM_EXEC play "mouse_click";
#endif