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

66 lines
No EOL
1.7 KiB
Text

#include "ui/menudef.h"
#include "ui_mp/common_macro.inc"
#define OPTIONS_STYLE 1
#define CHOICE_SEP_1 23
//#define CHOICE_SEP_2 27
#include "ui_mp/menustyle.inc"
#include "ui/choices_setup_common.menu"
{
menuDef
{
name "controls_multi"
fullScreen 0
rect 0 0 640 480
focusColor COLOR_FOCUSED
soundloop ""
onOpen
{
exec "setfromdvar ui_name name";
close options_look;
close options_move;
close options_shoot;
close options_invehicle;
close options_graphics;
close options_sound;
close options_game;
close options_view;
close options_defaults;
close options_driverinfo;
close options_credits;
close options_graphics_defaults;
close options_graphics_texture;
close options_control_defaults;
close options_coop;
setLocalVarBool ui_hideBack 1;
}
onClose
{
setLocalVarBool ui_hideBack 0;
}
onESC
{
close self;
}
#include "ui_mp/leftside_controls.inc"
CHOICE_SECTION_TITLE( 21, "@MENU_MULTIPLAYER_CONTROLS_CAP" )
CHOICE_BIND( 22, "@MENU_VOTE_YES", "vote yes", ; )
CHOICE_BIND( 23, "@MENU_VOTE_NO", "vote no", ; )
CHOICE_SEPARATOR( CHOICE_SEP_1 )
CHOICE_BIND( 24, "@MENU_VOICE_CHAT_BUTTON", "+talk", ; )
CHOICE_BIND( 25, "@MENU_CHAT", "chatmodepublic", ; )
CHOICE_BIND( 26, "@MENU_TEAM_CHAT", "chatmodeteam", ; )
CHOICE_BIND( 27, "@MENU_QUICK_CHAT", "mp_QuickMessage", ; )
CHOICE_BIND( 28, "@PLATFORM_SPECTATOR_VIEW_MODE", "toggleView", ; )
//CHOICE_SEPARATOR( CHOICE_SEP_2 )
//CHOICE_BIND( 28, "@MENU_WEAPON_MENU", "openscriptmenu ingame changeweapon", ; )
//CHOICE_BACK( "@MENU_BACK", close self )
CHOICE_KEYBINDHELP
}
}