ui_controls2.asm
themuffinator_dm-game/build/win32-qvm/vm/ui/ui_controls2.asm
data
align 4
LABELV controls_binding_color
byte 4 1065353216
byte 4 1054615798
byte 4 0
byte 4 1065353216
align 4
LABELV g_bindings
address $72
address $73
byte 4 0
byte 4 0
byte 4 9
byte 4 -1
byte 4 -1
byte 4 -1
address $74
address $75
byte 4 1
byte 4 0
byte 4 13
byte 4 -1
byte 4 -1
byte 4 -1
address $76
address $77
byte 4 2
byte 4 1
byte 4 138
byte 4 -1
byte 4 -1
byte 4 -1
address $78
address $79
byte 4 3
byte 4 2
byte 4 132
byte 4 -1
byte 4 -1
byte 4 -1
address $80
address $81
byte 4 4
byte 4 3
byte 4 133
byte 4 -1
byte 4 -1
byte 4 -1
address $82
address $83
byte 4 5
byte 4 6
byte 4 44
byte 4 -1
byte 4 -1
byte 4 -1
address $84
address $85
byte 4 6
byte 4 7
byte 4 46
byte 4 -1
byte 4 -1
byte 4 -1
address $86
address $87
byte 4 7
byte 4 4
byte 4 32
byte 4 -1
byte 4 -1
byte 4 -1
address $88
address $89
byte 4 8
byte 4 5
byte 4 99
byte 4 -1
byte 4 -1
byte 4 -1
address $90
address $91
byte 4 9
byte 4 8
byte 4 134
byte 4 -1
byte 4 -1
byte 4 -1
address $92
address $93
byte 4 10
byte 4 9
byte 4 135
byte 4 -1
byte 4 -1
byte 4 -1
address $94
address $95
byte 4 11
byte 4 0
byte 4 136
byte 4 -1
byte 4 -1
byte 4 -1
address $96
address $97
byte 4 12
byte 4 10
byte 4 141
byte 4 -1
byte 4 -1
byte 4 -1
address $98
address $99
byte 4 13
byte 4 11
byte 4 140
byte 4 -1
byte 4 -1
byte 4 -1
address $100
address $101
byte 4 14
byte 4 0
byte 4 47
byte 4 -1
byte 4 -1
byte 4 -1
address $102
address $103
byte 4 15
byte 4 0
byte 4 144
byte 4 -1
byte 4 -1
byte 4 -1
address $104
address $105
byte 4 16
byte 4 0
byte 4 -1
byte 4 -1
byte 4 -1
byte 4 -1
address $106
address $107
byte 4 17
byte 4 12
byte 4 49
byte 4 -1
byte 4 -1
byte 4 -1
address $108
address $109
byte 4 18
byte 4 13
byte 4 50
byte 4 -1
byte 4 -1
byte 4 -1
address $110
address $111
byte 4 19
byte 4 14
byte 4 51
byte 4 -1
byte 4 -1
byte 4 -1
address $112
address $113
byte 4 20
byte 4 15
byte 4 52
byte 4 -1
byte 4 -1
byte 4 -1
address $114
address $115
byte 4 21
byte 4 16
byte 4 53
byte 4 -1
byte 4 -1
byte 4 -1
address $116
address $117
byte 4 22
byte 4 17
byte 4 54
byte 4 -1
byte 4 -1
byte 4 -1
address $118
address $119
byte 4 23
byte 4 18
byte 4 55
byte 4 -1
byte 4 -1
byte 4 -1
address $120
address $121
byte 4 24
byte 4 19
byte 4 56
byte 4 -1
byte 4 -1
byte 4 -1
address $122
address $123
byte 4 25
byte 4 20
byte 4 57
byte 4 -1
byte 4 -1
byte 4 -1
address $124
address $125
byte 4 26
byte 4 22
byte 4 137
byte 4 -1
byte 4 -1
byte 4 -1
address $126
address $127
byte 4 27
byte 4 0
byte 4 91
byte 4 -1
byte 4 -1
byte 4 -1
address $128
address $129
byte 4 28
byte 4 0
byte 4 93
byte 4 -1
byte 4 -1
byte 4 -1
address $130
address $131
byte 4 29
byte 4 23
byte 4 180
byte 4 -1
byte 4 -1
byte 4 -1
address $132
address $133
byte 4 30
byte 4 25
byte 4 116
byte 4 -1
byte 4 -1
byte 4 -1
address $134
address $135
byte 4 31
byte 4 25
byte 4 -1
byte 4 -1
byte 4 -1
byte 4 -1
address $136
address $137
byte 4 32
byte 4 25
byte 4 -1
byte 4 -1
byte 4 -1
byte 4 -1
address $138
address $139
byte 4 33
byte 4 25
byte 4 -1
byte 4 -1
byte 4 -1
byte 4 -1
byte 4 0
byte 4 0
byte 4 0
byte 4 0
byte 4 -1
byte 4 -1
byte 4 -1
byte 4 -1
align 4
LABELV g_configcvars
address $140
byte 4 0
byte 4 0
address $141
byte 4 0
byte 4 0
address $142
byte 4 0
byte 4 0
address $143
byte 4 0
byte 4 0
address $144
byte 4 0
byte 4 0
address $145
byte 4 0
byte 4 0
address $146
byte 4 0
byte 4 0
address $147
byte 4 0
byte 4 0
byte 4 0
byte 4 0
byte 4 0
align 4
LABELV g_movement_controls
address s_controls+3020
address s_controls+1520
address s_controls+944
address s_controls+1008
address s_controls+1072
address s_controls+1136
address s_controls+1200
address s_controls+1264
address s_controls+1328
address s_controls+1392
address s_controls+1456
byte 4 0
align 4
LABELV g_weapons_controls
address s_controls+2160
address s_controls+2288
address s_controls+2224
address s_controls+3152
address s_controls+1648
address s_controls+1584
address s_controls+1712
address s_controls+1776
address s_controls+1840
address s_controls+1904
address s_controls+1968
address s_controls+2032
address s_controls+2096
byte 4 0
align 4
LABELV g_looking_controls
address s_controls+2872
address s_controls+2952
address s_controls+2804
address s_controls+2352
address s_controls+2416
address s_controls+2480
address s_controls+2544
address s_controls+2612
address s_controls+2676
address s_controls+4652
address s_controls+4720
byte 4 0
align 4
LABELV g_misc_controls
address s_controls+3088
address s_controls+3220
address s_controls+2740
address s_controls+4396
address s_controls+4460
address s_controls+4524
address s_controls+4588
byte 4 0
align 4
LABELV g_controls
address g_movement_controls
address g_looking_controls
address g_weapons_controls
address g_misc_controls
code
proc Controls_InitCvars 28 8
file "..\..\..\..\code\q3_ui\ui_controls2.c"
line 332
;1:// Copyright (C) 1999-2000 Id Software, Inc.
;2://
;3:/*
;4:=======================================================================
;5:
;6:CONTROLS MENU
;7:
;8:=======================================================================
;9:*/
;10:
;11:
;12:#include "ui_local.h"
;13:
;14:#define ART_BACK0			"menu/art/back_0"
;15:#define ART_BACK1			"menu/art/back_1"
;16:#define ART_FRAMEL			"menu/art/frame2_l"
;17:#define ART_FRAMER			"menu/art/frame1_r"
;18:
;19:
;20:typedef struct {
;21:	char	*command;
;22:	char	*label;
;23:	int		id;
;24:	int		anim;
;25:	int		defaultbind1;
;26:	int		defaultbind2;
;27:	int		bind1;
;28:	int		bind2;
;29:} bind_t;
;30:
;31:typedef struct
;32:{
;33:	char*	name;
;34:	float	defaultvalue;
;35:	float	value;	
;36:} configcvar_t;
;37:
;38:#define SAVE_NOOP		0
;39:#define SAVE_YES		1
;40:#define SAVE_NO			2
;41:#define SAVE_CANCEL		3
;42:
;43:// control sections
;44:#define C_MOVEMENT		0
;45:#define C_LOOKING		1
;46:#define C_WEAPONS		2
;47:#define C_MISC			3
;48:#define C_MAX			4
;49:
;50:#define ID_MOVEMENT		100
;51:#define ID_LOOKING		101
;52:#define ID_WEAPONS		102
;53:#define ID_MISC			103
;54:#define ID_DEFAULTS		104
;55:#define ID_BACK			105
;56:#define ID_SAVEANDEXIT	106
;57:#define ID_EXIT			107
;58:
;59:// bindable actions
;60:#define ID_SHOWSCORES	0
;61:#define ID_USEITEM		1	
;62:#define ID_SPEED		2	
;63:#define ID_FORWARD		3	
;64:#define ID_BACKPEDAL	4
;65:#define ID_MOVELEFT		5
;66:#define ID_MOVERIGHT	6
;67:#define ID_MOVEUP		7	
;68:#define ID_MOVEDOWN		8
;69:#define ID_LEFT			9	
;70:#define ID_RIGHT		10	
;71:#define ID_STRAFE		11	
;72:#define ID_LOOKUP		12	
;73:#define ID_LOOKDOWN		13
;74:#define ID_MOUSELOOK	14
;75:#define ID_CENTERVIEW	15
;76:#define ID_ZOOMVIEW		16
;77:#define ID_WEAPON1		17	
;78:#define ID_WEAPON2		18	
;79:#define ID_WEAPON3		19	
;80:#define ID_WEAPON4		20	
;81:#define ID_WEAPON5		21	
;82:#define ID_WEAPON6		22	
;83:#define ID_WEAPON7		23	
;84:#define ID_WEAPON8		24	
;85:#define ID_WEAPON9		25	
;86:#define ID_ATTACK		26
;87:#define ID_WEAPPREV		27
;88:#define ID_WEAPNEXT		28
;89:#define ID_GESTURE		29
;90:#define ID_CHAT			30
;91:#define ID_CHAT2		31
;92:#define ID_CHAT3		32
;93:#define ID_CHAT4		33
;94:
;95:// all others
;96:#define ID_FREELOOK		34
;97:#define ID_INVERTMOUSE	35
;98:#define ID_ALWAYSRUN	36
;99:#define ID_AUTOSWITCH	37
;100:#define ID_MOUSESPEED	38
;101:#define ID_JOYENABLE	39
;102:#define ID_JOYTHRESHOLD	40
;103:#define ID_SMOOTHMOUSE	41
;104:
;105:#define ANIM_IDLE		0
;106:#define ANIM_RUN		1
;107:#define ANIM_WALK		2
;108:#define ANIM_BACK		3
;109:#define ANIM_JUMP		4
;110:#define ANIM_CROUCH		5
;111:#define ANIM_STEPLEFT	6
;112:#define ANIM_STEPRIGHT	7
;113:#define ANIM_TURNLEFT	8
;114:#define ANIM_TURNRIGHT	9
;115:#define ANIM_LOOKUP		10
;116:#define ANIM_LOOKDOWN	11
;117:#define ANIM_WEAPON1	12
;118:#define ANIM_WEAPON2	13
;119:#define ANIM_WEAPON3	14
;120:#define ANIM_WEAPON4	15
;121:#define ANIM_WEAPON5	16
;122:#define ANIM_WEAPON6	17
;123:#define ANIM_WEAPON7	18
;124:#define ANIM_WEAPON8	19
;125:#define ANIM_WEAPON9	20
;126:#define ANIM_WEAPON10	21
;127:#define ANIM_ATTACK		22
;128:#define ANIM_GESTURE	23
;129:#define ANIM_DIE		24
;130:#define ANIM_CHAT		25
;131:
;132:typedef struct
;133:{
;134:	menuframework_s		menu;
;135:
;136:	menutext_s			banner;
;137:	menubitmap_s		framel;
;138:	menubitmap_s		framer;
;139:	menubitmap_s		player;
;140:
;141:	menutext_s			movement;
;142:	menutext_s			looking;
;143:	menutext_s			weapons;
;144:	menutext_s			misc;
;145:
;146:	menuaction_s		walkforward;
;147:	menuaction_s		backpedal;
;148:	menuaction_s		stepleft;
;149:	menuaction_s		stepright;
;150:	menuaction_s		moveup;
;151:	menuaction_s		movedown;
;152:	menuaction_s		turnleft;
;153:	menuaction_s		turnright;
;154:	menuaction_s		sidestep;
;155:	menuaction_s		run;
;156:	menuaction_s		machinegun;
;157:	menuaction_s		chainsaw;
;158:	menuaction_s		shotgun;
;159:	menuaction_s		grenadelauncher;
;160:	menuaction_s		rocketlauncher;
;161:	menuaction_s		lightning;
;162:	menuaction_s		railgun;
;163:	menuaction_s		plasma;
;164:	menuaction_s		bfg;
;165:	menuaction_s		attack;
;166:	menuaction_s		prevweapon;
;167:	menuaction_s		nextweapon;
;168:	menuaction_s		lookup;
;169:	menuaction_s		lookdown;
;170:	menuaction_s		mouselook;
;171:	menuradiobutton_s	freelook;
;172:	menuaction_s		centerview;
;173:	menuaction_s		zoomview;
;174:	menuaction_s		gesture;
;175:	menuradiobutton_s	invertmouse;
;176:	menuslider_s		sensitivity;
;177:	menuradiobutton_s	smoothmouse;
;178:	menuradiobutton_s	alwaysrun;
;179:	menuaction_s		showscores;
;180:	menuradiobutton_s	autoswitch;
;181:	menuaction_s		useitem;
;182:	playerInfo_t		playerinfo;
;183:	qboolean			changesmade;
;184:	menuaction_s		chat;
;185:	menuaction_s		chat2;
;186:	menuaction_s		chat3;
;187:	menuaction_s		chat4;
;188:	menuradiobutton_s	joyenable;
;189:	menuslider_s		joythreshold;
;190:	int					section;
;191:	qboolean			waitingforkey;
;192:	char				playerModel[64];
;193:	vec3_t				playerViewangles;
;194:	vec3_t				playerMoveangles;
;195:	int					playerLegs;
;196:	int					playerTorso;
;197:	weapon_t			playerWeapon;
;198:	qboolean			playerChat;
;199:
;200:	menubitmap_s		back;
;201:	menutext_s			name;
;202:} controls_t; 	
;203:
;204:static controls_t s_controls;
;205:
;206:static vec4_t controls_binding_color  = {1.00f, 0.43f, 0.00f, 1.00f}; // bk: Win32 C4305
;207:
;208:static bind_t g_bindings[] = 
;209:{
;210:	{"+scores",			"show scores",		ID_SHOWSCORES,	ANIM_IDLE,		K_TAB,			-1,		-1, -1},
;211:	{"+button2",		"use item",			ID_USEITEM,		ANIM_IDLE,		K_ENTER,		-1,		-1, -1},
;212:	{"+speed", 			"run / walk",		ID_SPEED,		ANIM_RUN,		K_SHIFT,		-1,		-1,	-1},
;213:	{"+forward", 		"walk forward",		ID_FORWARD,		ANIM_WALK,		K_UPARROW,		-1,		-1, -1},
;214:	{"+back", 			"backpedal",		ID_BACKPEDAL,	ANIM_BACK,		K_DOWNARROW,	-1,		-1, -1},
;215:	{"+moveleft", 		"step left",		ID_MOVELEFT,	ANIM_STEPLEFT,	',',			-1,		-1, -1},
;216:	{"+moveright", 		"step right",		ID_MOVERIGHT,	ANIM_STEPRIGHT,	'.',			-1,		-1, -1},
;217:	{"+moveup",			"up / jump",		ID_MOVEUP,		ANIM_JUMP,		K_SPACE,		-1,		-1, -1},
;218:	{"+movedown",		"down / crouch",	ID_MOVEDOWN,	ANIM_CROUCH,	'c',			-1,		-1, -1},
;219:	{"+left", 			"turn left",		ID_LEFT,		ANIM_TURNLEFT,	K_LEFTARROW,	-1,		-1, -1},
;220:	{"+right", 			"turn right",		ID_RIGHT,		ANIM_TURNRIGHT,	K_RIGHTARROW,	-1,		-1, -1},
;221:	{"+strafe", 		"sidestep / turn",	ID_STRAFE,		ANIM_IDLE,		K_ALT,			-1,		-1, -1},
;222:	{"+lookup", 		"look up",			ID_LOOKUP,		ANIM_LOOKUP,	K_PGDN,			-1,		-1, -1},
;223:	{"+lookdown", 		"look down",		ID_LOOKDOWN,	ANIM_LOOKDOWN,	K_DEL,			-1,		-1, -1},
;224:	{"+mlook", 			"mouse look",		ID_MOUSELOOK,	ANIM_IDLE,		'/',			-1,		-1, -1},
;225:	{"centerview", 		"center view",		ID_CENTERVIEW,	ANIM_IDLE,		K_END,			-1,		-1, -1},
;226:	{"+zoom", 			"zoom view",		ID_ZOOMVIEW,	ANIM_IDLE,		-1,				-1,		-1, -1},
;227:	{"weapon 1",		"gauntlet",			ID_WEAPON1,		ANIM_WEAPON1,	'1',			-1,		-1, -1},
;228:	{"weapon 2",		"machinegun",		ID_WEAPON2,		ANIM_WEAPON2,	'2',			-1,		-1, -1},
;229:	{"weapon 3",		"shotgun",			ID_WEAPON3,		ANIM_WEAPON3,	'3',			-1,		-1, -1},
;230:	{"weapon 4",		"grenade launcher",	ID_WEAPON4,		ANIM_WEAPON4,	'4',			-1,		-1, -1},
;231:	{"weapon 5",		"rocket launcher",	ID_WEAPON5,		ANIM_WEAPON5,	'5',			-1,		-1, -1},
;232:	{"weapon 6",		"lightning",		ID_WEAPON6,		ANIM_WEAPON6,	'6',			-1,		-1, -1},
;233:	{"weapon 7",		"railgun",			ID_WEAPON7,		ANIM_WEAPON7,	'7',			-1,		-1, -1},
;234:	{"weapon 8",		"plasma gun",		ID_WEAPON8,		ANIM_WEAPON8,	'8',			-1,		-1, -1},
;235:	{"weapon 9",		"BFG",				ID_WEAPON9,		ANIM_WEAPON9,	'9',			-1,		-1, -1},
;236:	{"+attack", 		"attack",			ID_ATTACK,		ANIM_ATTACK,	K_CTRL,			-1,		-1, -1},
;237:	{"weapprev",		"prev weapon",		ID_WEAPPREV,	ANIM_IDLE,		'[',			-1,		-1, -1},
;238:	{"weapnext", 		"next weapon",		ID_WEAPNEXT,	ANIM_IDLE,		']',			-1,		-1, -1},
;239:	{"+button3", 		"gesture",			ID_GESTURE,		ANIM_GESTURE,	K_MOUSE3,		-1,		-1, -1},
;240:	{"messagemode", 	"chat",				ID_CHAT,		ANIM_CHAT,		't',			-1,		-1, -1},
;241:	{"messagemode2", 	"chat - team",		ID_CHAT2,		ANIM_CHAT,		-1,				-1,		-1, -1},
;242:	{"messagemode3", 	"chat - target",	ID_CHAT3,		ANIM_CHAT,		-1,				-1,		-1, -1},
;243:	{"messagemode4", 	"chat - attacker",	ID_CHAT4,		ANIM_CHAT,		-1,				-1,		-1, -1},
;244:	{(char*)NULL,		(char*)NULL,		0,				0,				-1,				-1,		-1,	-1},
;245:};
;246:
;247:static configcvar_t g_configcvars[] =
;248:{
;249:	{"cl_run",			0,					0},
;250:	{"m_pitch",			0,					0},
;251:	{"cg_autoswitch",	0,					0},
;252:	{"sensitivity",		0,					0},
;253:	{"in_joystick",		0,					0},
;254:	{"joy_threshold",	0,					0},
;255:	{"m_filter",		0,					0},
;256:	{"cl_freelook",		0,					0},
;257:	{NULL,				0,					0}
;258:};
;259:
;260:static menucommon_s *g_movement_controls[] =
;261:{
;262:	(menucommon_s *)&s_controls.alwaysrun,     
;263:	(menucommon_s *)&s_controls.run,            
;264:	(menucommon_s *)&s_controls.walkforward,
;265:	(menucommon_s *)&s_controls.backpedal,
;266:	(menucommon_s *)&s_controls.stepleft,      
;267:	(menucommon_s *)&s_controls.stepright,     
;268:	(menucommon_s *)&s_controls.moveup,        
;269:	(menucommon_s *)&s_controls.movedown,      
;270:	(menucommon_s *)&s_controls.turnleft,      
;271:	(menucommon_s *)&s_controls.turnright,     
;272:	(menucommon_s *)&s_controls.sidestep,
;273:	NULL
;274:};
;275:
;276:static menucommon_s *g_weapons_controls[] = {
;277:	(menucommon_s *)&s_controls.attack,           
;278:	(menucommon_s *)&s_controls.nextweapon,
;279:	(menucommon_s *)&s_controls.prevweapon,
;280:	(menucommon_s *)&s_controls.autoswitch,    
;281:	(menucommon_s *)&s_controls.chainsaw,         
;282:	(menucommon_s *)&s_controls.machinegun,
;283:	(menucommon_s *)&s_controls.shotgun,          
;284:	(menucommon_s *)&s_controls.grenadelauncher,
;285:	(menucommon_s *)&s_controls.rocketlauncher,   
;286:	(menucommon_s *)&s_controls.lightning,   
;287:	(menucommon_s *)&s_controls.railgun,          
;288:	(menucommon_s *)&s_controls.plasma,           
;289:	(menucommon_s *)&s_controls.bfg,              
;290:	NULL,
;291:};
;292:
;293:static menucommon_s *g_looking_controls[] = {
;294:	(menucommon_s *)&s_controls.sensitivity,
;295:	(menucommon_s *)&s_controls.smoothmouse,
;296:	(menucommon_s *)&s_controls.invertmouse,
;297:	(menucommon_s *)&s_controls.lookup,
;298:	(menucommon_s *)&s_controls.lookdown,
;299:	(menucommon_s *)&s_controls.mouselook,
;300:	(menucommon_s *)&s_controls.freelook,
;301:	(menucommon_s *)&s_controls.centerview,
;302:	(menucommon_s *)&s_controls.zoomview,
;303:	(menucommon_s *)&s_controls.joyenable,
;304:	(menucommon_s *)&s_controls.joythreshold,
;305:	NULL,
;306:};
;307:
;308:static menucommon_s *g_misc_controls[] = {
;309:	(menucommon_s *)&s_controls.showscores, 
;310:	(menucommon_s *)&s_controls.useitem,
;311:	(menucommon_s *)&s_controls.gesture,
;312:	(menucommon_s *)&s_controls.chat,
;313:	(menucommon_s *)&s_controls.chat2,
;314:	(menucommon_s *)&s_controls.chat3,
;315:	(menucommon_s *)&s_controls.chat4,
;316:	NULL,
;317:};
;318:
;319:static menucommon_s **g_controls[] = {
;320:	g_movement_controls,
;321:	g_looking_controls,
;322:	g_weapons_controls,
;323:	g_misc_controls,
;324:};
;325:
;326:/*
;327:=================
;328:Controls_InitCvars
;329:=================
;330:*/
;331:static void Controls_InitCvars( void )
;332:{
line 336
;333:	int				i;
;334:	configcvar_t*	cvarptr;
;335:
;336:	cvarptr = g_configcvars;
ADDRLP4 0
ADDRGP4 g_configcvars
ASGNP4
line 337
;337:	for (i=0; ;i++,cvarptr++)
ADDRLP4 4
CNSTI4 0
ASGNI4
LABELV $191
line 338
;338:	{
line 339
;339:		if (!cvarptr->name)
ADDRLP4 0
INDIRP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $195
line 340
;340:			break;
ADDRGP4 $193
JUMPV
LABELV $195
line 343
;341:
;342:		// get current value
;343:		cvarptr->value = trap_Cvar_VariableValue( cvarptr->name );
ADDRLP4 0
INDIRP4
INDIRP4
ARGP4
ADDRLP4 12
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
ADDRLP4 12
INDIRF4
ASGNF4
line 346
;344:
;345:		// get default value
;346:		trap_Cvar_Reset( cvarptr->name );
ADDRLP4 0
INDIRP4
INDIRP4
ARGP4
ADDRGP4 trap_Cvar_Reset
CALLV
pop
line 347
;347:		cvarptr->defaultvalue = trap_Cvar_VariableValue( cvarptr->name );
ADDRLP4 0
INDIRP4
INDIRP4
ARGP4
ADDRLP4 20
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
ADDRLP4 20
INDIRF4
ASGNF4
line 350
;348:
;349:		// restore current value
;350:		trap_Cvar_SetValue( cvarptr->name, cvarptr->value );
ADDRLP4 0
INDIRP4
INDIRP4
ARGP4
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRF4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 351
;351:	}
LABELV $192
line 337
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 0
ADDRLP4 0
INDIRP4
CNSTI4 12
ADDP4
ASGNP4
ADDRGP4 $191
JUMPV
LABELV $193
line 352
;352:}
LABELV $190
endproc Controls_InitCvars 28 8
proc Controls_GetCvarDefault 12 8
line 360
;353:
;354:/*
;355:=================
;356:Controls_GetCvarDefault
;357:=================
;358:*/
;359:static float Controls_GetCvarDefault( char* name )
;360:{
line 364
;361:	configcvar_t*	cvarptr;
;362:	int				i;
;363:
;364:	cvarptr = g_configcvars;
ADDRLP4 0
ADDRGP4 g_configcvars
ASGNP4
line 365
;365:	for (i=0; ;i++,cvarptr++)
ADDRLP4 4
CNSTI4 0
ASGNI4
LABELV $198
line 366
;366:	{
line 367
;367:		if (!cvarptr->name)
ADDRLP4 0
INDIRP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $202
line 368
;368:			return (0);
CNSTF4 0
RETF4
ADDRGP4 $197
JUMPV
LABELV $202
line 370
;369:
;370:		if (!strcmp(cvarptr->name,name))
ADDRLP4 0
INDIRP4
INDIRP4
ARGP4
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 8
ADDRGP4 strcmp
CALLI4
ASGNI4
ADDRLP4 8
INDIRI4
CNSTI4 0
NEI4 $204
line 371
;371:			break;
ADDRGP4 $200
JUMPV
LABELV $204
line 372
;372:	}
LABELV $199
line 365
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 0
ADDRLP4 0
INDIRP4
CNSTI4 12
ADDP4
ASGNP4
ADDRGP4 $198
JUMPV
LABELV $200
line 374
;373:
;374:	return (cvarptr->defaultvalue);
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
INDIRF4
RETF4
LABELV $197
endproc Controls_GetCvarDefault 12 8
proc Controls_GetCvarValue 12 8
line 383
;375:}
;376:
;377:/*
;378:=================
;379:Controls_GetCvarValue
;380:=================
;381:*/
;382:static float Controls_GetCvarValue( char* name )
;383:{
line 387
;384:	configcvar_t*	cvarptr;
;385:	int				i;
;386:
;387:	cvarptr = g_configcvars;
ADDRLP4 0
ADDRGP4 g_configcvars
ASGNP4
line 388
;388:	for (i=0; ;i++,cvarptr++)
ADDRLP4 4
CNSTI4 0
ASGNI4
LABELV $207
line 389
;389:	{
line 390
;390:		if (!cvarptr->name)
ADDRLP4 0
INDIRP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $211
line 391
;391:			return (0);
CNSTF4 0
RETF4
ADDRGP4 $206
JUMPV
LABELV $211
line 393
;392:
;393:		if (!strcmp(cvarptr->name,name))
ADDRLP4 0
INDIRP4
INDIRP4
ARGP4
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 8
ADDRGP4 strcmp
CALLI4
ASGNI4
ADDRLP4 8
INDIRI4
CNSTI4 0
NEI4 $213
line 394
;394:			break;
ADDRGP4 $209
JUMPV
LABELV $213
line 395
;395:	}
LABELV $208
line 388
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 0
ADDRLP4 0
INDIRP4
CNSTI4 12
ADDP4
ASGNP4
ADDRGP4 $207
JUMPV
LABELV $209
line 397
;396:
;397:	return (cvarptr->value);
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRF4
RETF4
LABELV $206
endproc Controls_GetCvarValue 12 8
proc Controls_UpdateModel 12 28
line 406
;398:}
;399:
;400:
;401:/*
;402:=================
;403:Controls_UpdateModel
;404:=================
;405:*/
;406:static void Controls_UpdateModel( int anim ) {
line 407
;407:	VectorClear( s_controls.playerViewangles );
ADDRGP4 s_controls+4872
CNSTF4 0
ASGNF4
ADDRGP4 s_controls+4872+4
CNSTF4 0
ASGNF4
ADDRGP4 s_controls+4872+8
CNSTF4 0
ASGNF4
line 408
;408:	VectorClear( s_controls.playerMoveangles );
ADDRGP4 s_controls+4884
CNSTF4 0
ASGNF4
ADDRGP4 s_controls+4884+4
CNSTF4 0
ASGNF4
ADDRGP4 s_controls+4884+8
CNSTF4 0
ASGNF4
line 409
;409:	s_controls.playerViewangles[YAW] = 180 - 30;
ADDRGP4 s_controls+4872+4
CNSTF4 1125515264
ASGNF4
line 410
;410:	s_controls.playerMoveangles[YAW] = s_controls.playerViewangles[YAW];
ADDRGP4 s_controls+4884+4
ADDRGP4 s_controls+4872+4
INDIRF4
ASGNF4
line 411
;411:	s_controls.playerLegs		     = LEGS_IDLE;
ADDRGP4 s_controls+4896
CNSTI4 22
ASGNI4
line 412
;412:	s_controls.playerTorso			 = TORSO_STAND;
ADDRGP4 s_controls+4900
CNSTI4 11
ASGNI4
line 413
;413:	s_controls.playerWeapon			 = -1;
ADDRGP4 s_controls+4904
CNSTI4 -1
ASGNI4
line 414
;414:	s_controls.playerChat			 = qfalse;
ADDRGP4 s_controls+4908
CNSTI4 0
ASGNI4
line 416
;415:
;416:	switch( anim ) {
ADDRLP4 0
ADDRFP4 0
INDIRI4
ASGNI4
ADDRLP4 0
INDIRI4
CNSTI4 1
LTI4 $237
ADDRLP4 0
INDIRI4
CNSTI4 25
GTI4 $237
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 $300-4
ADDP4
INDIRP4
JUMPV
data
align 4
LABELV $300
address $238
address $240
address $242
address $244
address $246
address $254
address $260
address $248
address $251
address $266
address $268
address $270
address $272
address $274
address $276
address $278
address $280
address $282
address $284
address $286
address $288
address $290
address $292
address $294
address $298
code
LABELV $238
line 418
;417:	case ANIM_RUN:	
;418:		s_controls.playerLegs = LEGS_RUN;
ADDRGP4 s_controls+4896
CNSTI4 15
ASGNI4
line 419
;419:		break;
ADDRGP4 $237
JUMPV
LABELV $240
line 422
;420:
;421:	case ANIM_WALK:	
;422:		s_controls.playerLegs = LEGS_WALK;
ADDRGP4 s_controls+4896
CNSTI4 14
ASGNI4
line 423
;423:		break;
ADDRGP4 $237
JUMPV
LABELV $242
line 426
;424:
;425:	case ANIM_BACK:	
;426:		s_controls.playerLegs = LEGS_BACK;
ADDRGP4 s_controls+4896
CNSTI4 16
ASGNI4
line 427
;427:		break;
ADDRGP4 $237
JUMPV
LABELV $244
line 430
;428:
;429:	case ANIM_JUMP:	
;430:		s_controls.playerLegs = LEGS_JUMP;
ADDRGP4 s_controls+4896
CNSTI4 18
ASGNI4
line 431
;431:		break;
ADDRGP4 $237
JUMPV
LABELV $246
line 434
;432:
;433:	case ANIM_CROUCH:	
;434:		s_controls.playerLegs = LEGS_IDLECR;
ADDRGP4 s_controls+4896
CNSTI4 23
ASGNI4
line 435
;435:		break;
ADDRGP4 $237
JUMPV
LABELV $248
line 438
;436:
;437:	case ANIM_TURNLEFT:
;438:		s_controls.playerViewangles[YAW] += 90;
ADDRLP4 4
ADDRGP4 s_controls+4872+4
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRF4
CNSTF4 1119092736
ADDF4
ASGNF4
line 439
;439:		break;
ADDRGP4 $237
JUMPV
LABELV $251
line 442
;440:
;441:	case ANIM_TURNRIGHT:
;442:		s_controls.playerViewangles[YAW] -= 90;
ADDRLP4 8
ADDRGP4 s_controls+4872+4
ASGNP4
ADDRLP4 8
INDIRP4
ADDRLP4 8
INDIRP4
INDIRF4
CNSTF4 1119092736
SUBF4
ASGNF4
line 443
;443:		break;
ADDRGP4 $237
JUMPV
LABELV $254
line 446
;444:
;445:	case ANIM_STEPLEFT:
;446:		s_controls.playerLegs = LEGS_WALK;
ADDRGP4 s_controls+4896
CNSTI4 14
ASGNI4
line 447
;447:		s_controls.playerMoveangles[YAW] = s_controls.playerViewangles[YAW] + 90;
ADDRGP4 s_controls+4884+4
ADDRGP4 s_controls+4872+4
INDIRF4
CNSTF4 1119092736
ADDF4
ASGNF4
line 448
;448:		break;
ADDRGP4 $237
JUMPV
LABELV $260
line 451
;449:
;450:	case ANIM_STEPRIGHT:
;451:		s_controls.playerLegs = LEGS_WALK;
ADDRGP4 s_controls+4896
CNSTI4 14
ASGNI4
line 452
;452:		s_controls.playerMoveangles[YAW] = s_controls.playerViewangles[YAW] - 90;
ADDRGP4 s_controls+4884+4
ADDRGP4 s_controls+4872+4
INDIRF4
CNSTF4 1119092736
SUBF4
ASGNF4
line 453
;453:		break;
ADDRGP4 $237
JUMPV
LABELV $266
line 456
;454:
;455:	case ANIM_LOOKUP:
;456:		s_controls.playerViewangles[PITCH] = -45;
ADDRGP4 s_controls+4872
CNSTF4 3258187776
ASGNF4
line 457
;457:		break;
ADDRGP4 $237
JUMPV
LABELV $268
line 460
;458:
;459:	case ANIM_LOOKDOWN:
;460:		s_controls.playerViewangles[PITCH] = 45;
ADDRGP4 s_controls+4872
CNSTF4 1110704128
ASGNF4
line 461
;461:		break;
ADDRGP4 $237
JUMPV
LABELV $270
line 464
;462:
;463:	case ANIM_WEAPON1:
;464:		s_controls.playerWeapon = WP_GAUNTLET;
ADDRGP4 s_controls+4904
CNSTI4 1
ASGNI4
line 465
;465:		break;
ADDRGP4 $237
JUMPV
LABELV $272
line 468
;466:
;467:	case ANIM_WEAPON2:
;468:		s_controls.playerWeapon = WP_MACHINEGUN;
ADDRGP4 s_controls+4904
CNSTI4 2
ASGNI4
line 469
;469:		break;
ADDRGP4 $237
JUMPV
LABELV $274
line 472
;470:
;471:	case ANIM_WEAPON3:
;472:		s_controls.playerWeapon = WP_SHOTGUN;
ADDRGP4 s_controls+4904
CNSTI4 3
ASGNI4
line 473
;473:		break;
ADDRGP4 $237
JUMPV
LABELV $276
line 476
;474:
;475:	case ANIM_WEAPON4:
;476:		s_controls.playerWeapon = WP_GRENADE_LAUNCHER;
ADDRGP4 s_controls+4904
CNSTI4 4
ASGNI4
line 477
;477:		break;
ADDRGP4 $237
JUMPV
LABELV $278
line 480
;478:
;479:	case ANIM_WEAPON5:
;480:		s_controls.playerWeapon = WP_ROCKET_LAUNCHER;
ADDRGP4 s_controls+4904
CNSTI4 5
ASGNI4
line 481
;481:		break;
ADDRGP4 $237
JUMPV
LABELV $280
line 484
;482:
;483:	case ANIM_WEAPON6:
;484:		s_controls.playerWeapon = WP_LIGHTNING;
ADDRGP4 s_controls+4904
CNSTI4 6
ASGNI4
line 485
;485:		break;
ADDRGP4 $237
JUMPV
LABELV $282
line 488
;486:
;487:	case ANIM_WEAPON7:
;488:		s_controls.playerWeapon = WP_RAILGUN;
ADDRGP4 s_controls+4904
CNSTI4 7
ASGNI4
line 489
;489:		break;
ADDRGP4 $237
JUMPV
LABELV $284
line 492
;490:
;491:	case ANIM_WEAPON8:
;492:		s_controls.playerWeapon = WP_PLASMAGUN;
ADDRGP4 s_controls+4904
CNSTI4 8
ASGNI4
line 493
;493:		break;
ADDRGP4 $237
JUMPV
LABELV $286
line 496
;494:
;495:	case ANIM_WEAPON9:
;496:		s_controls.playerWeapon = WP_BFG;
ADDRGP4 s_controls+4904
CNSTI4 9
ASGNI4
line 497
;497:		break;
ADDRGP4 $237
JUMPV
LABELV $288
line 500
;498:
;499:	case ANIM_WEAPON10:
;500:		s_controls.playerWeapon = WP_GRAPPLING_HOOK;
ADDRGP4 s_controls+4904
CNSTI4 10
ASGNI4
line 501
;501:		break;
ADDRGP4 $237
JUMPV
LABELV $290
line 504
;502:
;503:	case ANIM_ATTACK:
;504:		s_controls.playerTorso = TORSO_ATTACK;
ADDRGP4 s_controls+4900
CNSTI4 7
ASGNI4
line 505
;505:		break;
ADDRGP4 $237
JUMPV
LABELV $292
line 508
;506:
;507:	case ANIM_GESTURE:
;508:		s_controls.playerTorso = TORSO_GESTURE;
ADDRGP4 s_controls+4900
CNSTI4 6
ASGNI4
line 509
;509:		break;
ADDRGP4 $237
JUMPV
LABELV $294
line 512
;510:
;511:	case ANIM_DIE:
;512:		s_controls.playerLegs = BOTH_DEATH1;
ADDRGP4 s_controls+4896
CNSTI4 0
ASGNI4
line 513
;513:		s_controls.playerTorso = BOTH_DEATH1;
ADDRGP4 s_controls+4900
CNSTI4 0
ASGNI4
line 514
;514:		s_controls.playerWeapon = WP_NONE;
ADDRGP4 s_controls+4904
CNSTI4 0
ASGNI4
line 515
;515:		break;
ADDRGP4 $237
JUMPV
LABELV $298
line 518
;516:
;517:	case ANIM_CHAT:
;518:		s_controls.playerChat = qtrue;
ADDRGP4 s_controls+4908
CNSTI4 1
ASGNI4
line 519
;519:		break;
line 522
;520:
;521:	default:
;522:		break;
LABELV $237
line 525
;523:	}
;524:
;525:	UI_PlayerInfo_SetInfo( &s_controls.playerinfo, s_controls.playerLegs, s_controls.playerTorso, s_controls.playerViewangles, s_controls.playerMoveangles, s_controls.playerWeapon, s_controls.playerChat );
ADDRGP4 s_controls+3284
ARGP4
ADDRGP4 s_controls+4896
INDIRI4
ARGI4
ADDRGP4 s_controls+4900
INDIRI4
ARGI4
ADDRGP4 s_controls+4872
ARGP4
ADDRGP4 s_controls+4884
ARGP4
ADDRGP4 s_controls+4904
INDIRI4
ARGI4
ADDRGP4 s_controls+4908
INDIRI4
ARGI4
ADDRGP4 UI_PlayerInfo_SetInfo
CALLV
pop
line 526
;526:}
LABELV $215
endproc Controls_UpdateModel 12 28
proc Controls_Update 96 0
line 534
;527:
;528:
;529:/*
;530:=================
;531:Controls_Update
;532:=================
;533:*/
;534:static void Controls_Update( void ) {
line 542
;535:	int		i;
;536:	int		j;
;537:	int		y;
;538:	menucommon_s	**controls;
;539:	menucommon_s	*control;
;540:
;541:	// disable all controls in all groups
;542:	for( i = 0; i < C_MAX; i++ ) {
ADDRLP4 12
CNSTI4 0
ASGNI4
LABELV $310
line 543
;543:		controls = g_controls[i];
ADDRLP4 8
ADDRLP4 12
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 g_controls
ADDP4
INDIRP4
ASGNP4
line 545
;544:		// bk001204 - parentheses
;545:		for( j = 0;  (control = controls[j]) != NULL ; j++ ) {
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRGP4 $317
JUMPV
LABELV $314
line 546
;546:			control->flags |= (QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 20
ADDRLP4 0
INDIRP4
CNSTI4 44
ADDP4
ASGNP4
ADDRLP4 20
INDIRP4
ADDRLP4 20
INDIRP4
INDIRU4
CNSTU4 20480
BORU4
ASGNU4
line 547
;547:		}
LABELV $315
line 545
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $317
ADDRLP4 20
ADDRLP4 4
INDIRI4
CNSTI4 2
LSHI4
ADDRLP4 8
INDIRP4
ADDP4
INDIRP4
ASGNP4
ADDRLP4 0
ADDRLP4 20
INDIRP4
ASGNP4
ADDRLP4 20
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $314
line 548
;548:	}
LABELV $311
line 542
ADDRLP4 12
ADDRLP4 12
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 12
INDIRI4
CNSTI4 4
LTI4 $310
line 550
;549:
;550:	controls = g_controls[s_controls.section];
ADDRLP4 8
ADDRGP4 s_controls+4800
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 g_controls
ADDP4
INDIRP4
ASGNP4
line 554
;551:
;552:	// enable controls in active group (and count number of items for vertical centering)
;553:	// bk001204 - parentheses
;554:	for( j = 0;  (control = controls[j]) != NULL ; j++ ) {
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRGP4 $322
JUMPV
LABELV $319
line 555
;555:		control->flags &= ~(QMF_GRAYED|QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 20
ADDRLP4 0
INDIRP4
CNSTI4 44
ADDP4
ASGNP4
ADDRLP4 20
INDIRP4
ADDRLP4 20
INDIRP4
INDIRU4
CNSTU4 4294938623
BANDU4
ASGNU4
line 556
;556:	}
LABELV $320
line 554
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $322
ADDRLP4 20
ADDRLP4 4
INDIRI4
CNSTI4 2
LSHI4
ADDRLP4 8
INDIRP4
ADDP4
INDIRP4
ASGNP4
ADDRLP4 0
ADDRLP4 20
INDIRP4
ASGNP4
ADDRLP4 20
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $319
line 559
;557:
;558:	// position controls
;559:	y = ( SCREEN_HEIGHT - j * SMALLCHAR_HEIGHT ) / 2;
ADDRLP4 16
CNSTI4 480
ADDRLP4 4
INDIRI4
CNSTI4 4
LSHI4
SUBI4
CNSTI4 2
DIVI4
ASGNI4
line 561
;560:	// bk001204 - parentheses
;561:	for( j = 0;	(control = controls[j]) != NULL; j++, y += SMALLCHAR_HEIGHT ) {
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRGP4 $326
JUMPV
LABELV $323
line 562
;562:		control->x      = 320;
ADDRLP4 0
INDIRP4
CNSTI4 12
ADDP4
CNSTI4 320
ASGNI4
line 563
;563:		control->y      = y;
ADDRLP4 0
INDIRP4
CNSTI4 16
ADDP4
ADDRLP4 16
INDIRI4
ASGNI4
line 564
;564:		control->left   = 320 - 19*SMALLCHAR_WIDTH;
ADDRLP4 0
INDIRP4
CNSTI4 20
ADDP4
CNSTI4 168
ASGNI4
line 565
;565:		control->right  = 320 + 21*SMALLCHAR_WIDTH;
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
CNSTI4 488
ASGNI4
line 566
;566:		control->top    = y;
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
ADDRLP4 16
INDIRI4
ASGNI4
line 567
;567:		control->bottom = y + SMALLCHAR_HEIGHT;
ADDRLP4 0
INDIRP4
CNSTI4 32
ADDP4
ADDRLP4 16
INDIRI4
CNSTI4 16
ADDI4
ASGNI4
line 568
;568:	}
LABELV $324
line 561
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 16
ADDRLP4 16
INDIRI4
CNSTI4 16
ADDI4
ASGNI4
LABELV $326
ADDRLP4 24
ADDRLP4 4
INDIRI4
CNSTI4 2
LSHI4
ADDRLP4 8
INDIRP4
ADDP4
INDIRP4
ASGNP4
ADDRLP4 0
ADDRLP4 24
INDIRP4
ASGNP4
ADDRLP4 24
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $323
line 570
;569:
;570:	if( s_controls.waitingforkey ) {
ADDRGP4 s_controls+4804
INDIRI4
CNSTI4 0
EQI4 $327
line 572
;571:		// disable everybody
;572:		for( i = 0; i < s_controls.menu.nitems; i++ ) {
ADDRLP4 12
CNSTI4 0
ASGNI4
ADDRGP4 $333
JUMPV
LABELV $330
line 573
;573:			((menucommon_s*)(s_controls.menu.items[i]))->flags |= QMF_GRAYED;
ADDRLP4 28
ADDRLP4 12
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 s_controls+12
ADDP4
INDIRP4
CNSTI4 44
ADDP4
ASGNP4
ADDRLP4 28
INDIRP4
ADDRLP4 28
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 574
;574:		}
LABELV $331
line 572
ADDRLP4 12
ADDRLP4 12
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $333
ADDRLP4 12
INDIRI4
ADDRGP4 s_controls+8
INDIRI4
LTI4 $330
line 577
;575:
;576:		// enable action item
;577:		((menucommon_s*)(s_controls.menu.items[s_controls.menu.cursor]))->flags &= ~QMF_GRAYED;
ADDRLP4 28
ADDRGP4 s_controls
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 s_controls+12
ADDP4
INDIRP4
CNSTI4 44
ADDP4
ASGNP4
ADDRLP4 28
INDIRP4
ADDRLP4 28
INDIRP4
INDIRU4
CNSTU4 4294959103
BANDU4
ASGNU4
line 580
;578:
;579:		// don't gray out player's name
;580:		s_controls.name.generic.flags &= ~QMF_GRAYED;
ADDRLP4 32
ADDRGP4 s_controls+5004+44
ASGNP4
ADDRLP4 32
INDIRP4
ADDRLP4 32
INDIRP4
INDIRU4
CNSTU4 4294959103
BANDU4
ASGNU4
line 582
;581:
;582:		return;
ADDRGP4 $309
JUMPV
LABELV $327
line 586
;583:	}
;584:
;585:	// enable everybody
;586:	for( i = 0; i < s_controls.menu.nitems; i++ ) {
ADDRLP4 12
CNSTI4 0
ASGNI4
ADDRGP4 $342
JUMPV
LABELV $339
line 587
;587:		((menucommon_s*)(s_controls.menu.items[i]))->flags &= ~QMF_GRAYED;
ADDRLP4 28
ADDRLP4 12
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 s_controls+12
ADDP4
INDIRP4
CNSTI4 44
ADDP4
ASGNP4
ADDRLP4 28
INDIRP4
ADDRLP4 28
INDIRP4
INDIRU4
CNSTU4 4294959103
BANDU4
ASGNU4
line 588
;588:	}
LABELV $340
line 586
ADDRLP4 12
ADDRLP4 12
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $342
ADDRLP4 12
INDIRI4
ADDRGP4 s_controls+8
INDIRI4
LTI4 $339
line 591
;589:
;590:	// makes sure flags are right on the group selection controls
;591:	s_controls.looking.generic.flags  &= ~(QMF_GRAYED|QMF_HIGHLIGHT|QMF_HIGHLIGHT_IF_FOCUS);
ADDRLP4 28
ADDRGP4 s_controls+716+44
ASGNP4
ADDRLP4 28
INDIRP4
ADDRLP4 28
INDIRP4
INDIRU4
CNSTU4 4294958911
BANDU4
ASGNU4
line 592
;592:	s_controls.movement.generic.flags &= ~(QMF_GRAYED|QMF_HIGHLIGHT|QMF_HIGHLIGHT_IF_FOCUS);
ADDRLP4 32
ADDRGP4 s_controls+640+44
ASGNP4
ADDRLP4 32
INDIRP4
ADDRLP4 32
INDIRP4
INDIRU4
CNSTU4 4294958911
BANDU4
ASGNU4
line 593
;593:	s_controls.weapons.generic.flags  &= ~(QMF_GRAYED|QMF_HIGHLIGHT|QMF_HIGHLIGHT_IF_FOCUS);
ADDRLP4 36
ADDRGP4 s_controls+792+44
ASGNP4
ADDRLP4 36
INDIRP4
ADDRLP4 36
INDIRP4
INDIRU4
CNSTU4 4294958911
BANDU4
ASGNU4
line 594
;594:	s_controls.misc.generic.flags     &= ~(QMF_GRAYED|QMF_HIGHLIGHT|QMF_HIGHLIGHT_IF_FOCUS);
ADDRLP4 40
ADDRGP4 s_controls+868+44
ASGNP4
ADDRLP4 40
INDIRP4
ADDRLP4 40
INDIRP4
INDIRU4
CNSTU4 4294958911
BANDU4
ASGNU4
line 596
;595:
;596:	s_controls.looking.generic.flags  |= QMF_PULSEIFFOCUS;
ADDRLP4 44
ADDRGP4 s_controls+716+44
ASGNP4
ADDRLP4 44
INDIRP4
ADDRLP4 44
INDIRP4
INDIRU4
CNSTU4 256
BORU4
ASGNU4
line 597
;597:	s_controls.movement.generic.flags |= QMF_PULSEIFFOCUS;
ADDRLP4 48
ADDRGP4 s_controls+640+44
ASGNP4
ADDRLP4 48
INDIRP4
ADDRLP4 48
INDIRP4
INDIRU4
CNSTU4 256
BORU4
ASGNU4
line 598
;598:	s_controls.weapons.generic.flags  |= QMF_PULSEIFFOCUS;
ADDRLP4 52
ADDRGP4 s_controls+792+44
ASGNP4
ADDRLP4 52
INDIRP4
ADDRLP4 52
INDIRP4
INDIRU4
CNSTU4 256
BORU4
ASGNU4
line 599
;599:	s_controls.misc.generic.flags     |= QMF_PULSEIFFOCUS;
ADDRLP4 56
ADDRGP4 s_controls+868+44
ASGNP4
ADDRLP4 56
INDIRP4
ADDRLP4 56
INDIRP4
INDIRU4
CNSTU4 256
BORU4
ASGNU4
line 602
;600:
;601:	// set buttons
;602:	switch( s_controls.section ) {
ADDRLP4 60
ADDRGP4 s_controls+4800
INDIRI4
ASGNI4
ADDRLP4 60
INDIRI4
CNSTI4 0
LTI4 $361
ADDRLP4 60
INDIRI4
CNSTI4 3
GTI4 $361
ADDRLP4 60
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 $384
ADDP4
INDIRP4
JUMPV
data
align 4
LABELV $384
address $364
address $369
address $374
address $379
code
LABELV $364
line 604
;603:	case C_MOVEMENT:
;604:		s_controls.movement.generic.flags &= ~QMF_PULSEIFFOCUS;
ADDRLP4 64
ADDRGP4 s_controls+640+44
ASGNP4
ADDRLP4 64
INDIRP4
ADDRLP4 64
INDIRP4
INDIRU4
CNSTU4 4294967039
BANDU4
ASGNU4
line 605
;605:		s_controls.movement.generic.flags |= (QMF_HIGHLIGHT|QMF_HIGHLIGHT_IF_FOCUS);
ADDRLP4 68
ADDRGP4 s_controls+640+44
ASGNP4
ADDRLP4 68
INDIRP4
ADDRLP4 68
INDIRP4
INDIRU4
CNSTU4 192
BORU4
ASGNU4
line 606
;606:		break;
ADDRGP4 $362
JUMPV
LABELV $369
line 609
;607:	
;608:	case C_LOOKING:
;609:		s_controls.looking.generic.flags &= ~QMF_PULSEIFFOCUS;
ADDRLP4 72
ADDRGP4 s_controls+716+44
ASGNP4
ADDRLP4 72
INDIRP4
ADDRLP4 72
INDIRP4
INDIRU4
CNSTU4 4294967039
BANDU4
ASGNU4
line 610
;610:		s_controls.looking.generic.flags |= (QMF_HIGHLIGHT|QMF_HIGHLIGHT_IF_FOCUS);
ADDRLP4 76
ADDRGP4 s_controls+716+44
ASGNP4
ADDRLP4 76
INDIRP4
ADDRLP4 76
INDIRP4
INDIRU4
CNSTU4 192
BORU4
ASGNU4
line 611
;611:		break;
ADDRGP4 $362
JUMPV
LABELV $374
line 614
;612:	
;613:	case C_WEAPONS:
;614:		s_controls.weapons.generic.flags &= ~QMF_PULSEIFFOCUS;
ADDRLP4 80
ADDRGP4 s_controls+792+44
ASGNP4
ADDRLP4 80
INDIRP4
ADDRLP4 80
INDIRP4
INDIRU4
CNSTU4 4294967039
BANDU4
ASGNU4
line 615
;615:		s_controls.weapons.generic.flags |= (QMF_HIGHLIGHT|QMF_HIGHLIGHT_IF_FOCUS);
ADDRLP4 84
ADDRGP4 s_controls+792+44
ASGNP4
ADDRLP4 84
INDIRP4
ADDRLP4 84
INDIRP4
INDIRU4
CNSTU4 192
BORU4
ASGNU4
line 616
;616:		break;		
ADDRGP4 $362
JUMPV
LABELV $379
line 619
;617:
;618:	case C_MISC:
;619:		s_controls.misc.generic.flags &= ~QMF_PULSEIFFOCUS;
ADDRLP4 88
ADDRGP4 s_controls+868+44
ASGNP4
ADDRLP4 88
INDIRP4
ADDRLP4 88
INDIRP4
INDIRU4
CNSTU4 4294967039
BANDU4
ASGNU4
line 620
;620:		s_controls.misc.generic.flags |= (QMF_HIGHLIGHT|QMF_HIGHLIGHT_IF_FOCUS);
ADDRLP4 92
ADDRGP4 s_controls+868+44
ASGNP4
ADDRLP4 92
INDIRP4
ADDRLP4 92
INDIRP4
INDIRU4
CNSTU4 192
BORU4
ASGNU4
line 621
;621:		break;
LABELV $361
LABELV $362
line 623
;622:	}
;623:}
LABELV $309
endproc Controls_Update 96 0
proc Controls_DrawKeyBinding 104 20
line 632
;624:
;625:
;626:/*
;627:=================
;628:Controls_DrawKeyBinding
;629:=================
;630:*/
;631:static void Controls_DrawKeyBinding( void *self )
;632:{
line 642
;633:	menuaction_s*	a;
;634:	int				x;
;635:	int				y;
;636:	int				b1;
;637:	int				b2;
;638:	qboolean		c;
;639:	char			name[32];
;640:	char			name2[32];
;641:
;642:	a = (menuaction_s*) self;
ADDRLP4 0
ADDRFP4 0
INDIRP4
ASGNP4
line 644
;643:
;644:	x =	a->generic.x;
ADDRLP4 4
ADDRLP4 0
INDIRP4
CNSTI4 12
ADDP4
INDIRI4
ASGNI4
line 645
;645:	y = a->generic.y;
ADDRLP4 8
ADDRLP4 0
INDIRP4
CNSTI4 16
ADDP4
INDIRI4
ASGNI4
line 647
;646:
;647:	c = (Menu_ItemAtCursor( a->generic.parent ) == a);
ADDRLP4 0
INDIRP4
CNSTI4 36
ADDP4
INDIRP4
ARGP4
ADDRLP4 96
ADDRGP4 Menu_ItemAtCursor
CALLP4
ASGNP4
ADDRLP4 0
INDIRP4
CVPU4 4
ADDRLP4 96
INDIRP4
CVPU4 4
NEU4 $387
ADDRLP4 88
CNSTI4 1
ASGNI4
ADDRGP4 $388
JUMPV
LABELV $387
ADDRLP4 88
CNSTI4 0
ASGNI4
LABELV $388
ADDRLP4 48
ADDRLP4 88
INDIRI4
ASGNI4
line 649
;648:
;649:	b1 = g_bindings[a->generic.id].bind1;
ADDRLP4 44
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
CNSTI4 5
LSHI4
ADDRGP4 g_bindings+24
ADDP4
INDIRI4
ASGNI4
line 650
;650:	if (b1 == -1)
ADDRLP4 44
INDIRI4
CNSTI4 -1
NEI4 $390
line 651
;651:		strcpy(name,"???");
ADDRLP4 12
ARGP4
ADDRGP4 $392
ARGP4
ADDRGP4 strcpy
CALLP4
pop
ADDRGP4 $391
JUMPV
LABELV $390
line 653
;652:	else
;653:	{
line 654
;654:		trap_Key_KeynumToStringBuf( b1, name, 32 );
ADDRLP4 44
INDIRI4
ARGI4
ADDRLP4 12
ARGP4
CNSTI4 32
ARGI4
ADDRGP4 trap_Key_KeynumToStringBuf
CALLV
pop
line 655
;655:		Q_strupr(name);
ADDRLP4 12
ARGP4
ADDRGP4 Q_strupr
CALLP4
pop
line 657
;656:
;657:		b2 = g_bindings[a->generic.id].bind2;
ADDRLP4 52
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
CNSTI4 5
LSHI4
ADDRGP4 g_bindings+28
ADDP4
INDIRI4
ASGNI4
line 658
;658:		if (b2 != -1)
ADDRLP4 52
INDIRI4
CNSTI4 -1
EQI4 $394
line 659
;659:		{
line 660
;660:			trap_Key_KeynumToStringBuf( b2, name2, 32 );
ADDRLP4 52
INDIRI4
ARGI4
ADDRLP4 56
ARGP4
CNSTI4 32
ARGI4
ADDRGP4 trap_Key_KeynumToStringBuf
CALLV
pop
line 661
;661:			Q_strupr(name2);
ADDRLP4 56
ARGP4
ADDRGP4 Q_strupr
CALLP4
pop
line 663
;662:
;663:			strcat( name, " or " );
ADDRLP4 12
ARGP4
ADDRGP4 $396
ARGP4
ADDRGP4 strcat
CALLP4
pop
line 664
;664:			strcat( name, name2 );
ADDRLP4 12
ARGP4
ADDRLP4 56
ARGP4
ADDRGP4 strcat
CALLP4
pop
line 665
;665:		}
LABELV $394
line 666
;666:	}
LABELV $391
line 668
;667:
;668:	if (c)
ADDRLP4 48
INDIRI4
CNSTI4 0
EQI4 $397
line 669
;669:	{
line 670
;670:		UI_FillRect( a->generic.left, a->generic.top, a->generic.right-a->generic.left+1, a->generic.bottom-a->generic.top+1, listbar_color ); 
ADDRLP4 0
INDIRP4
CNSTI4 20
ADDP4
INDIRI4
CVIF4 4
ARGF4
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
INDIRI4
CVIF4 4
ARGF4
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
INDIRI4
ADDRLP4 0
INDIRP4
CNSTI4 20
ADDP4
INDIRI4
SUBI4
CNSTI4 1
ADDI4
CVIF4 4
ARGF4
ADDRLP4 0
INDIRP4
CNSTI4 32
ADDP4
INDIRI4
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
INDIRI4
SUBI4
CNSTI4 1
ADDI4
CVIF4 4
ARGF4
ADDRGP4 listbar_color
ARGP4
ADDRGP4 UI_FillRect
CALLV
pop
line 672
;671:
;672:		UI_DrawString( x - SMALLCHAR_WIDTH, y, g_bindings[a->generic.id].label, UI_RIGHT|UI_SMALLFONT, text_color_highlight );
ADDRLP4 4
INDIRI4
CNSTI4 8
SUBI4
ARGI4
ADDRLP4 8
INDIRI4
ARGI4
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
CNSTI4 5
LSHI4
ADDRGP4 g_bindings+4
ADDP4
INDIRP4
ARGP4
CNSTI4 18
ARGI4
ADDRGP4 text_color_highlight
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 673
;673:		UI_DrawString( x + SMALLCHAR_WIDTH, y, name, UI_LEFT|UI_SMALLFONT|UI_PULSE, text_color_highlight );
ADDRLP4 4
INDIRI4
CNSTI4 8
ADDI4
ARGI4
ADDRLP4 8
INDIRI4
ARGI4
ADDRLP4 12
ARGP4
CNSTI4 16400
ARGI4
ADDRGP4 text_color_highlight
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 675
;674:
;675:		if (s_controls.waitingforkey)
ADDRGP4 s_controls+4804
INDIRI4
CNSTI4 0
EQI4 $400
line 676
;676:		{
line 677
;677:			UI_DrawChar( x, y, '=', UI_CENTER|UI_BLINK|UI_SMALLFONT, text_color_highlight);
ADDRLP4 4
INDIRI4
ARGI4
ADDRLP4 8
INDIRI4
ARGI4
CNSTI4 61
ARGI4
CNSTI4 4113
ARGI4
ADDRGP4 text_color_highlight
ARGP4
ADDRGP4 UI_DrawChar
CALLV
pop
line 678
;678:			UI_DrawString(SCREEN_WIDTH * 0.50, SCREEN_HEIGHT * 0.80, "Waiting for new key ... ESCAPE to cancel", UI_SMALLFONT|UI_CENTER|UI_PULSE, colorWhite );
CNSTI4 320
ARGI4
CNSTI4 384
ARGI4
ADDRGP4 $403
ARGP4
CNSTI4 16401
ARGI4
ADDRGP4 colorWhite
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 679
;679:		}
ADDRGP4 $398
JUMPV
LABELV $400
line 681
;680:		else
;681:		{
line 682
;682:			UI_DrawChar( x, y, 13, UI_CENTER|UI_BLINK|UI_SMALLFONT, text_color_highlight);
ADDRLP4 4
INDIRI4
ARGI4
ADDRLP4 8
INDIRI4
ARGI4
CNSTI4 13
ARGI4
CNSTI4 4113
ARGI4
ADDRGP4 text_color_highlight
ARGP4
ADDRGP4 UI_DrawChar
CALLV
pop
line 683
;683:			UI_DrawString(SCREEN_WIDTH * 0.50, SCREEN_HEIGHT * 0.78, "Press ENTER or CLICK to change", UI_SMALLFONT|UI_CENTER, colorWhite );
CNSTI4 320
ARGI4
CNSTI4 374
ARGI4
ADDRGP4 $404
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 colorWhite
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 684
;684:			UI_DrawString(SCREEN_WIDTH * 0.50, SCREEN_HEIGHT * 0.82, "Press BACKSPACE to clear", UI_SMALLFONT|UI_CENTER, colorWhite );
CNSTI4 320
ARGI4
CNSTI4 393
ARGI4
ADDRGP4 $405
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 colorWhite
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 685
;685:		}
line 686
;686:	}
ADDRGP4 $398
JUMPV
LABELV $397
line 688
;687:	else
;688:	{
line 689
;689:		if (a->generic.flags & QMF_GRAYED)
ADDRLP4 0
INDIRP4
CNSTI4 44
ADDP4
INDIRU4
CNSTU4 8192
BANDU4
CNSTU4 0
EQU4 $406
line 690
;690:		{
line 691
;691:			UI_DrawString( x - SMALLCHAR_WIDTH, y, g_bindings[a->generic.id].label, UI_RIGHT|UI_SMALLFONT, text_color_disabled );
ADDRLP4 4
INDIRI4
CNSTI4 8
SUBI4
ARGI4
ADDRLP4 8
INDIRI4
ARGI4
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
CNSTI4 5
LSHI4
ADDRGP4 g_bindings+4
ADDP4
INDIRP4
ARGP4
CNSTI4 18
ARGI4
ADDRGP4 text_color_disabled
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 692
;692:			UI_DrawString( x + SMALLCHAR_WIDTH, y, name, UI_LEFT|UI_SMALLFONT, text_color_disabled );
ADDRLP4 4
INDIRI4
CNSTI4 8
ADDI4
ARGI4
ADDRLP4 8
INDIRI4
ARGI4
ADDRLP4 12
ARGP4
CNSTI4 16
ARGI4
ADDRGP4 text_color_disabled
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 693
;693:		}
ADDRGP4 $407
JUMPV
LABELV $406
line 695
;694:		else
;695:		{
line 696
;696:			UI_DrawString( x - SMALLCHAR_WIDTH, y, g_bindings[a->generic.id].label, UI_RIGHT|UI_SMALLFONT, controls_binding_color );
ADDRLP4 4
INDIRI4
CNSTI4 8
SUBI4
ARGI4
ADDRLP4 8
INDIRI4
ARGI4
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
CNSTI4 5
LSHI4
ADDRGP4 g_bindings+4
ADDP4
INDIRP4
ARGP4
CNSTI4 18
ARGI4
ADDRGP4 controls_binding_color
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 697
;697:			UI_DrawString( x + SMALLCHAR_WIDTH, y, name, UI_LEFT|UI_SMALLFONT, controls_binding_color );
ADDRLP4 4
INDIRI4
CNSTI4 8
ADDI4
ARGI4
ADDRLP4 8
INDIRI4
ARGI4
ADDRLP4 12
ARGP4
CNSTI4 16
ARGI4
ADDRGP4 controls_binding_color
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 698
;698:		}
LABELV $407
line 699
;699:	}
LABELV $398
line 700
;700:}
LABELV $385
endproc Controls_DrawKeyBinding 104 20
proc Controls_StatusBar 0 20
line 708
;701:
;702:/*
;703:=================
;704:Controls_StatusBar
;705:=================
;706:*/
;707:static void Controls_StatusBar( void *self )
;708:{
line 709
;709:	UI_DrawString(SCREEN_WIDTH * 0.50, SCREEN_HEIGHT * 0.80, "Use Arrow Keys or CLICK to change", UI_SMALLFONT|UI_CENTER, colorWhite );
CNSTI4 320
ARGI4
CNSTI4 384
ARGI4
ADDRGP4 $411
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 colorWhite
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 710
;710:}
LABELV $410
endproc Controls_StatusBar 0 20
proc Controls_DrawPlayer 76 24
line 718
;711:
;712:
;713:/*
;714:=================
;715:Controls_DrawPlayer
;716:=================
;717:*/
;718:static void Controls_DrawPlayer( void *self ) {
line 722
;719:	menubitmap_s	*b;
;720:	char			buf[MAX_QPATH];
;721:
;722:	trap_Cvar_VariableStringBuffer( "model", buf, sizeof( buf ) );
ADDRGP4 $413
ARGP4
ADDRLP4 4
ARGP4
CNSTI4 64
ARGI4
ADDRGP4 trap_Cvar_VariableStringBuffer
CALLV
pop
line 723
;723:	if ( strcmp( buf, s_controls.playerModel ) != 0 ) {
ADDRLP4 4
ARGP4
ADDRGP4 s_controls+4808
ARGP4
ADDRLP4 68
ADDRGP4 strcmp
CALLI4
ASGNI4
ADDRLP4 68
INDIRI4
CNSTI4 0
EQI4 $414
line 724
;724:		UI_PlayerInfo_SetModel( &s_controls.playerinfo, buf );
ADDRGP4 s_controls+3284
ARGP4
ADDRLP4 4
ARGP4
ADDRGP4 UI_PlayerInfo_SetModel
CALLV
pop
line 725
;725:		strcpy( s_controls.playerModel, buf );
ADDRGP4 s_controls+4808
ARGP4
ADDRLP4 4
ARGP4
ADDRGP4 strcpy
CALLP4
pop
line 726
;726:		Controls_UpdateModel( ANIM_IDLE );
CNSTI4 0
ARGI4
ADDRGP4 Controls_UpdateModel
CALLV
pop
line 727
;727:	}
LABELV $414
line 729
;728:
;729:	b = (menubitmap_s*) self;
ADDRLP4 0
ADDRFP4 0
INDIRP4
ASGNP4
line 730
;730:	UI_DrawPlayer( b->generic.x, b->generic.y, b->width, b->height, &s_controls.playerinfo, uis.realtime/2 );
ADDRLP4 0
INDIRP4
CNSTI4 12
ADDP4
INDIRI4
CVIF4 4
ARGF4
ADDRLP4 0
INDIRP4
CNSTI4 16
ADDP4
INDIRI4
CVIF4 4
ARGF4
ADDRLP4 0
INDIRP4
CNSTI4 80
ADDP4
INDIRI4
CVIF4 4
ARGF4
ADDRLP4 0
INDIRP4
CNSTI4 84
ADDP4
INDIRI4
CVIF4 4
ARGF4
ADDRGP4 s_controls+3284
ARGP4
ADDRGP4 uis+4
INDIRI4
CNSTI4 2
DIVI4
ARGI4
ADDRGP4 UI_DrawPlayer
CALLV
pop
line 731
;731:}
LABELV $412
endproc Controls_DrawPlayer 76 24
proc Controls_GetKeyAssignment 276 12
line 740
;732:
;733:
;734:/*
;735:=================
;736:Controls_GetKeyAssignment
;737:=================
;738:*/
;739:static void Controls_GetKeyAssignment (char *command, int *twokeys)
;740:{
line 745
;741:	int		count;
;742:	int		j;
;743:	char	b[256];
;744:
;745:	twokeys[0] = twokeys[1] = -1;
ADDRLP4 264
ADDRFP4 4
INDIRP4
ASGNP4
ADDRLP4 268
CNSTI4 -1
ASGNI4
ADDRLP4 264
INDIRP4
CNSTI4 4
ADDP4
ADDRLP4 268
INDIRI4
ASGNI4
ADDRLP4 264
INDIRP4
ADDRLP4 268
INDIRI4
ASGNI4
line 746
;746:	count = 0;
ADDRLP4 260
CNSTI4 0
ASGNI4
line 748
;747:
;748:	for ( j = 0; j < 256; j++ )
ADDRLP4 0
CNSTI4 0
ASGNI4
LABELV $422
line 749
;749:	{
line 750
;750:		trap_Key_GetBindingBuf( j, b, 256 );
ADDRLP4 0
INDIRI4
ARGI4
ADDRLP4 4
ARGP4
CNSTI4 256
ARGI4
ADDRGP4 trap_Key_GetBindingBuf
CALLV
pop
line 751
;751:		if ( *b == 0 ) {
ADDRLP4 4
INDIRI1
CVII4 1
CNSTI4 0
NEI4 $426
line 752
;752:			continue;
ADDRGP4 $423
JUMPV
LABELV $426
line 754
;753:		}
;754:		if ( !Q_stricmp( b, command ) ) {
ADDRLP4 4
ARGP4
ADDRFP4 0
INDIRP4
ARGP4
ADDRLP4 272
ADDRGP4 Q_stricmp
CALLI4
ASGNI4
ADDRLP4 272
INDIRI4
CNSTI4 0
NEI4 $428
line 755
;755:			twokeys[count] = j;
ADDRLP4 260
INDIRI4
CNSTI4 2
LSHI4
ADDRFP4 4
INDIRP4
ADDP4
ADDRLP4 0
INDIRI4
ASGNI4
line 756
;756:			count++;
ADDRLP4 260
ADDRLP4 260
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
line 757
;757:			if (count == 2)
ADDRLP4 260
INDIRI4
CNSTI4 2
NEI4 $430
line 758
;758:				break;
ADDRGP4 $424
JUMPV
LABELV $430
line 759
;759:		}
LABELV $428
line 760
;760:	}
LABELV $423
line 748
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 0
INDIRI4
CNSTI4 256
LTI4 $422
LABELV $424
line 761
;761:}
LABELV $421
endproc Controls_GetKeyAssignment 276 12
proc Controls_GetConfig 80 12
line 769
;762:
;763:/*
;764:=================
;765:Controls_GetConfig
;766:=================
;767:*/
;768:static void Controls_GetConfig( void )
;769:{
line 775
;770:	int		i;
;771:	int		twokeys[2];
;772:	bind_t*	bindptr;
;773:
;774:	// put the bindings into a local store
;775:	bindptr = g_bindings;
ADDRLP4 0
ADDRGP4 g_bindings
ASGNP4
line 778
;776:
;777:	// iterate each command, get its numeric binding
;778:	for (i=0; ;i++,bindptr++)
ADDRLP4 12
CNSTI4 0
ASGNI4
LABELV $433
line 779
;779:	{
line 780
;780:		if (!bindptr->label)
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $437
line 781
;781:			break;
ADDRGP4 $435
JUMPV
LABELV $437
line 783
;782:
;783:		Controls_GetKeyAssignment(bindptr->command, twokeys);
ADDRLP4 0
INDIRP4
INDIRP4
ARGP4
ADDRLP4 4
ARGP4
ADDRGP4 Controls_GetKeyAssignment
CALLV
pop
line 785
;784:
;785:		bindptr->bind1 = twokeys[0];
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
ADDRLP4 4
INDIRI4
ASGNI4
line 786
;786:		bindptr->bind2 = twokeys[1];
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
ADDRLP4 4+4
INDIRI4
ASGNI4
line 787
;787:	}
LABELV $434
line 778
ADDRLP4 12
ADDRLP4 12
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 0
ADDRLP4 0
INDIRP4
CNSTI4 32
ADDP4
ASGNP4
ADDRGP4 $433
JUMPV
LABELV $435
line 789
;788:
;789:	s_controls.invertmouse.curvalue  = Controls_GetCvarValue( "m_pitch" ) < 0;
ADDRGP4 $141
ARGP4
ADDRLP4 20
ADDRGP4 Controls_GetCvarValue
CALLF4
ASGNF4
ADDRLP4 20
INDIRF4
CNSTF4 0
GEF4 $443
ADDRLP4 16
CNSTI4 1
ASGNI4
ADDRGP4 $444
JUMPV
LABELV $443
ADDRLP4 16
CNSTI4 0
ASGNI4
LABELV $444
ADDRGP4 s_controls+2804+64
ADDRLP4 16
INDIRI4
ASGNI4
line 790
;790:	s_controls.smoothmouse.curvalue  = UI_ClampCvar( 0, 1, Controls_GetCvarValue( "m_filter" ) );
ADDRGP4 $146
ARGP4
ADDRLP4 24
ADDRGP4 Controls_GetCvarValue
CALLF4
ASGNF4
CNSTF4 0
ARGF4
CNSTF4 1065353216
ARGF4
ADDRLP4 24
INDIRF4
ARGF4
ADDRLP4 28
ADDRGP4 UI_ClampCvar
CALLF4
ASGNF4
ADDRGP4 s_controls+2952+64
ADDRLP4 28
INDIRF4
CVFI4 4
ASGNI4
line 791
;791:	s_controls.alwaysrun.curvalue    = UI_ClampCvar( 0, 1, Controls_GetCvarValue( "cl_run" ) );
ADDRGP4 $140
ARGP4
ADDRLP4 32
ADDRGP4 Controls_GetCvarValue
CALLF4
ASGNF4
CNSTF4 0
ARGF4
CNSTF4 1065353216
ARGF4
ADDRLP4 32
INDIRF4
ARGF4
ADDRLP4 36
ADDRGP4 UI_ClampCvar
CALLF4
ASGNF4
ADDRGP4 s_controls+3020+64
ADDRLP4 36
INDIRF4
CVFI4 4
ASGNI4
line 792
;792:	s_controls.autoswitch.curvalue   = UI_ClampCvar( 0, 1, Controls_GetCvarValue( "cg_autoswitch" ) );
ADDRGP4 $142
ARGP4
ADDRLP4 40
ADDRGP4 Controls_GetCvarValue
CALLF4
ASGNF4
CNSTF4 0
ARGF4
CNSTF4 1065353216
ARGF4
ADDRLP4 40
INDIRF4
ARGF4
ADDRLP4 44
ADDRGP4 UI_ClampCvar
CALLF4
ASGNF4
ADDRGP4 s_controls+3152+64
ADDRLP4 44
INDIRF4
CVFI4 4
ASGNI4
line 793
;793:	s_controls.sensitivity.curvalue  = UI_ClampCvar( 2, 30, Controls_GetCvarValue( "sensitivity" ) );
ADDRGP4 $143
ARGP4
ADDRLP4 48
ADDRGP4 Controls_GetCvarValue
CALLF4
ASGNF4
CNSTF4 1073741824
ARGF4
CNSTF4 1106247680
ARGF4
ADDRLP4 48
INDIRF4
ARGF4
ADDRLP4 52
ADDRGP4 UI_ClampCvar
CALLF4
ASGNF4
ADDRGP4 s_controls+2872+72
ADDRLP4 52
INDIRF4
ASGNF4
line 794
;794:	s_controls.joyenable.curvalue    = UI_ClampCvar( 0, 1, Controls_GetCvarValue( "in_joystick" ) );
ADDRGP4 $144
ARGP4
ADDRLP4 56
ADDRGP4 Controls_GetCvarValue
CALLF4
ASGNF4
CNSTF4 0
ARGF4
CNSTF4 1065353216
ARGF4
ADDRLP4 56
INDIRF4
ARGF4
ADDRLP4 60
ADDRGP4 UI_ClampCvar
CALLF4
ASGNF4
ADDRGP4 s_controls+4652+64
ADDRLP4 60
INDIRF4
CVFI4 4
ASGNI4
line 795
;795:	s_controls.joythreshold.curvalue = UI_ClampCvar( 0.05f, 0.75f, Controls_GetCvarValue( "joy_threshold" ) );
ADDRGP4 $145
ARGP4
ADDRLP4 64
ADDRGP4 Controls_GetCvarValue
CALLF4
ASGNF4
CNSTF4 1028443341
ARGF4
CNSTF4 1061158912
ARGF4
ADDRLP4 64
INDIRF4
ARGF4
ADDRLP4 68
ADDRGP4 UI_ClampCvar
CALLF4
ASGNF4
ADDRGP4 s_controls+4720+72
ADDRLP4 68
INDIRF4
ASGNF4
line 796
;796:	s_controls.freelook.curvalue     = UI_ClampCvar( 0, 1, Controls_GetCvarValue( "cl_freelook" ) );
ADDRGP4 $147
ARGP4
ADDRLP4 72
ADDRGP4 Controls_GetCvarValue
CALLF4
ASGNF4
CNSTF4 0
ARGF4
CNSTF4 1065353216
ARGF4
ADDRLP4 72
INDIRF4
ARGF4
ADDRLP4 76
ADDRGP4 UI_ClampCvar
CALLF4
ASGNF4
ADDRGP4 s_controls+2544+64
ADDRLP4 76
INDIRF4
CVFI4 4
ASGNI4
line 797
;797:}
LABELV $432
endproc Controls_GetConfig 80 12
proc Controls_SetConfig 24 8
line 805
;798:
;799:/*
;800:=================
;801:Controls_SetConfig
;802:=================
;803:*/
;804:static void Controls_SetConfig( void )
;805:{
line 810
;806:	int		i;
;807:	bind_t*	bindptr;
;808:
;809:	// set the bindings from the local store
;810:	bindptr = g_bindings;
ADDRLP4 0
ADDRGP4 g_bindings
ASGNP4
line 813
;811:
;812:	// iterate each command, get its numeric binding
;813:	for (i=0; ;i++,bindptr++)
ADDRLP4 4
CNSTI4 0
ASGNI4
LABELV $460
line 814
;814:	{
line 815
;815:		if (!bindptr->label)
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $464
line 816
;816:			break;
ADDRGP4 $462
JUMPV
LABELV $464
line 818
;817:
;818:		if (bindptr->bind1 != -1)
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
INDIRI4
CNSTI4 -1
EQI4 $466
line 819
;819:		{	
line 820
;820:			trap_Key_SetBinding( bindptr->bind1, bindptr->command );
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
INDIRI4
ARGI4
ADDRLP4 0
INDIRP4
INDIRP4
ARGP4
ADDRGP4 trap_Key_SetBinding
CALLV
pop
line 822
;821:
;822:			if (bindptr->bind2 != -1)
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
INDIRI4
CNSTI4 -1
EQI4 $468
line 823
;823:				trap_Key_SetBinding( bindptr->bind2, bindptr->command );
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
INDIRI4
ARGI4
ADDRLP4 0
INDIRP4
INDIRP4
ARGP4
ADDRGP4 trap_Key_SetBinding
CALLV
pop
LABELV $468
line 824
;824:		}
LABELV $466
line 825
;825:	}
LABELV $461
line 813
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 0
ADDRLP4 0
INDIRP4
CNSTI4 32
ADDP4
ASGNP4
ADDRGP4 $460
JUMPV
LABELV $462
line 827
;826:
;827:	if ( s_controls.invertmouse.curvalue )
ADDRGP4 s_controls+2804+64
INDIRI4
CNSTI4 0
EQI4 $470
line 828
;828:		trap_Cvar_SetValue( "m_pitch", -fabs( trap_Cvar_VariableValue( "m_pitch" ) ) );
ADDRGP4 $141
ARGP4
ADDRLP4 8
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRLP4 8
INDIRF4
ARGF4
ADDRLP4 12
ADDRGP4 fabs
CALLF4
ASGNF4
ADDRGP4 $141
ARGP4
ADDRLP4 12
INDIRF4
NEGF4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
ADDRGP4 $471
JUMPV
LABELV $470
line 830
;829:	else
;830:		trap_Cvar_SetValue( "m_pitch", fabs( trap_Cvar_VariableValue( "m_pitch" ) ) );
ADDRGP4 $141
ARGP4
ADDRLP4 16
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRLP4 16
INDIRF4
ARGF4
ADDRLP4 20
ADDRGP4 fabs
CALLF4
ASGNF4
ADDRGP4 $141
ARGP4
ADDRLP4 20
INDIRF4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
LABELV $471
line 832
;831:
;832:	trap_Cvar_SetValue( "m_filter", s_controls.smoothmouse.curvalue );
ADDRGP4 $146
ARGP4
ADDRGP4 s_controls+2952+64
INDIRI4
CVIF4 4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 833
;833:	trap_Cvar_SetValue( "cl_run", s_controls.alwaysrun.curvalue );
ADDRGP4 $140
ARGP4
ADDRGP4 s_controls+3020+64
INDIRI4
CVIF4 4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 834
;834:	trap_Cvar_SetValue( "cg_autoswitch", s_controls.autoswitch.curvalue );
ADDRGP4 $142
ARGP4
ADDRGP4 s_controls+3152+64
INDIRI4
CVIF4 4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 835
;835:	trap_Cvar_SetValue( "sensitivity", s_controls.sensitivity.curvalue );
ADDRGP4 $143
ARGP4
ADDRGP4 s_controls+2872+72
INDIRF4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 836
;836:	trap_Cvar_SetValue( "in_joystick", s_controls.joyenable.curvalue );
ADDRGP4 $144
ARGP4
ADDRGP4 s_controls+4652+64
INDIRI4
CVIF4 4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 837
;837:	trap_Cvar_SetValue( "joy_threshold", s_controls.joythreshold.curvalue );
ADDRGP4 $145
ARGP4
ADDRGP4 s_controls+4720+72
INDIRF4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 838
;838:	trap_Cvar_SetValue( "cl_freelook", s_controls.freelook.curvalue );
ADDRGP4 $147
ARGP4
ADDRGP4 s_controls+2544+64
INDIRI4
CVIF4 4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 839
;839:	trap_Cmd_ExecuteText( EXEC_APPEND, "in_restart\n" );
CNSTI4 2
ARGI4
ADDRGP4 $488
ARGP4
ADDRGP4 trap_Cmd_ExecuteText
CALLV
pop
line 840
;840:}
LABELV $459
endproc Controls_SetConfig 24 8
proc Controls_SetDefaults 44 4
line 848
;841:
;842:/*
;843:=================
;844:Controls_SetDefaults
;845:=================
;846:*/
;847:static void Controls_SetDefaults( void )
;848:{
line 853
;849:	int	i;
;850:	bind_t*	bindptr;
;851:
;852:	// set the bindings from the local store
;853:	bindptr = g_bindings;
ADDRLP4 0
ADDRGP4 g_bindings
ASGNP4
line 856
;854:
;855:	// iterate each command, set its default binding
;856:	for (i=0; ;i++,bindptr++)
ADDRLP4 4
CNSTI4 0
ASGNI4
LABELV $490
line 857
;857:	{
line 858
;858:		if (!bindptr->label)
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $494
line 859
;859:			break;
ADDRGP4 $492
JUMPV
LABELV $494
line 861
;860:
;861:		bindptr->bind1 = bindptr->defaultbind1;
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
ADDRLP4 0
INDIRP4
CNSTI4 16
ADDP4
INDIRI4
ASGNI4
line 862
;862:		bindptr->bind2 = bindptr->defaultbind2;
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
ADDRLP4 0
INDIRP4
CNSTI4 20
ADDP4
INDIRI4
ASGNI4
line 863
;863:	}
LABELV $491
line 856
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 0
ADDRLP4 0
INDIRP4
CNSTI4 32
ADDP4
ASGNP4
ADDRGP4 $490
JUMPV
LABELV $492
line 865
;864:
;865:	s_controls.invertmouse.curvalue  = Controls_GetCvarDefault( "m_pitch" ) < 0;
ADDRGP4 $141
ARGP4
ADDRLP4 12
ADDRGP4 Controls_GetCvarDefault
CALLF4
ASGNF4
ADDRLP4 12
INDIRF4
CNSTF4 0
GEF4 $499
ADDRLP4 8
CNSTI4 1
ASGNI4
ADDRGP4 $500
JUMPV
LABELV $499
ADDRLP4 8
CNSTI4 0
ASGNI4
LABELV $500
ADDRGP4 s_controls+2804+64
ADDRLP4 8
INDIRI4
ASGNI4
line 866
;866:	s_controls.smoothmouse.curvalue  = Controls_GetCvarDefault( "m_filter" );
ADDRGP4 $146
ARGP4
ADDRLP4 16
ADDRGP4 Controls_GetCvarDefault
CALLF4
ASGNF4
ADDRGP4 s_controls+2952+64
ADDRLP4 16
INDIRF4
CVFI4 4
ASGNI4
line 867
;867:	s_controls.alwaysrun.curvalue    = Controls_GetCvarDefault( "cl_run" );
ADDRGP4 $140
ARGP4
ADDRLP4 20
ADDRGP4 Controls_GetCvarDefault
CALLF4
ASGNF4
ADDRGP4 s_controls+3020+64
ADDRLP4 20
INDIRF4
CVFI4 4
ASGNI4
line 868
;868:	s_controls.autoswitch.curvalue   = Controls_GetCvarDefault( "cg_autoswitch" );
ADDRGP4 $142
ARGP4
ADDRLP4 24
ADDRGP4 Controls_GetCvarDefault
CALLF4
ASGNF4
ADDRGP4 s_controls+3152+64
ADDRLP4 24
INDIRF4
CVFI4 4
ASGNI4
line 869
;869:	s_controls.sensitivity.curvalue  = Controls_GetCvarDefault( "sensitivity" );
ADDRGP4 $143
ARGP4
ADDRLP4 28
ADDRGP4 Controls_GetCvarDefault
CALLF4
ASGNF4
ADDRGP4 s_controls+2872+72
ADDRLP4 28
INDIRF4
ASGNF4
line 870
;870:	s_controls.joyenable.curvalue    = Controls_GetCvarDefault( "in_joystick" );
ADDRGP4 $144
ARGP4
ADDRLP4 32
ADDRGP4 Controls_GetCvarDefault
CALLF4
ASGNF4
ADDRGP4 s_controls+4652+64
ADDRLP4 32
INDIRF4
CVFI4 4
ASGNI4
line 871
;871:	s_controls.joythreshold.curvalue = Controls_GetCvarDefault( "joy_threshold" );
ADDRGP4 $145
ARGP4
ADDRLP4 36
ADDRGP4 Controls_GetCvarDefault
CALLF4
ASGNF4
ADDRGP4 s_controls+4720+72
ADDRLP4 36
INDIRF4
ASGNF4
line 872
;872:	s_controls.freelook.curvalue     = Controls_GetCvarDefault( "cl_freelook" );
ADDRGP4 $147
ARGP4
ADDRLP4 40
ADDRGP4 Controls_GetCvarDefault
CALLF4
ASGNF4
ADDRGP4 s_controls+2544+64
ADDRLP4 40
INDIRF4
CVFI4 4
ASGNI4
line 873
;873:}
LABELV $489
endproc Controls_SetDefaults 44 4
proc Controls_MenuKey 28 8
line 881
;874:
;875:/*
;876:=================
;877:Controls_MenuKey
;878:=================
;879:*/
;880:static sfxHandle_t Controls_MenuKey( int key )
;881:{
line 886
;882:	int			id;
;883:	int			i;
;884:	qboolean	found;
;885:	bind_t*		bindptr;
;886:	found = qfalse;
ADDRLP4 12
CNSTI4 0
ASGNI4
line 888
;887:
;888:	if (!s_controls.waitingforkey)
ADDRGP4 s_controls+4804
INDIRI4
CNSTI4 0
NEI4 $516
line 889
;889:	{
line 890
;890:		switch (key)
ADDRLP4 16
ADDRFP4 0
INDIRI4
ASGNI4
ADDRLP4 16
INDIRI4
CNSTI4 140
EQI4 $521
ADDRLP4 16
INDIRI4
CNSTI4 140
GTI4 $528
LABELV $527
ADDRLP4 20
ADDRFP4 0
INDIRI4
ASGNI4
ADDRLP4 20
INDIRI4
CNSTI4 27
EQI4 $522
ADDRLP4 20
INDIRI4
CNSTI4 27
LTI4 $526
LABELV $529
ADDRFP4 0
INDIRI4
CNSTI4 127
EQI4 $521
ADDRGP4 $526
JUMPV
LABELV $528
ADDRLP4 24
ADDRFP4 0
INDIRI4
ASGNI4
ADDRLP4 24
INDIRI4
CNSTI4 171
EQI4 $521
ADDRLP4 24
INDIRI4
CNSTI4 171
LTI4 $526
LABELV $530
ADDRFP4 0
INDIRI4
CNSTI4 179
EQI4 $522
ADDRGP4 $526
JUMPV
line 891
;891:		{
LABELV $521
line 895
;892:			case K_BACKSPACE:
;893:			case K_DEL:
;894:			case K_KP_DEL:
;895:				key = -1;
ADDRFP4 0
CNSTI4 -1
ASGNI4
line 896
;896:				break;
ADDRGP4 $517
JUMPV
LABELV $522
line 900
;897:		
;898:			case K_MOUSE2:
;899:			case K_ESCAPE:
;900:				if (s_controls.changesmade)
ADDRGP4 s_controls+4392
INDIRI4
CNSTI4 0
EQI4 $526
line 901
;901:					Controls_SetConfig();
ADDRGP4 Controls_SetConfig
CALLV
pop
line 902
;902:				goto ignorekey;	
ADDRGP4 $526
JUMPV
line 905
;903:
;904:			default:
;905:				goto ignorekey;
line 907
;906:		}
;907:	}
LABELV $516
line 909
;908:	else
;909:	{
line 910
;910:		if (key & K_CHAR_FLAG)
ADDRFP4 0
INDIRI4
CNSTI4 1024
BANDI4
CNSTI4 0
EQI4 $531
line 911
;911:			goto ignorekey;
ADDRGP4 $526
JUMPV
LABELV $531
line 913
;912:
;913:		switch (key)
ADDRLP4 16
ADDRFP4 0
INDIRI4
ASGNI4
ADDRLP4 16
INDIRI4
CNSTI4 27
EQI4 $535
ADDRLP4 16
INDIRI4
CNSTI4 27
LTI4 $533
LABELV $538
ADDRFP4 0
INDIRI4
CNSTI4 96
EQI4 $526
ADDRGP4 $533
JUMPV
line 914
;914:		{
LABELV $535
line 916
;915:			case K_ESCAPE:
;916:				s_controls.waitingforkey = qfalse;
ADDRGP4 s_controls+4804
CNSTI4 0
ASGNI4
line 917
;917:				Controls_Update();
ADDRGP4 Controls_Update
CALLV
pop
line 918
;918:				return (menu_out_sound);
ADDRGP4 menu_out_sound
INDIRI4
RETI4
ADDRGP4 $515
JUMPV
line 921
;919:	
;920:			case '`':
;921:				goto ignorekey;
LABELV $533
line 923
;922:		}
;923:	}
LABELV $517
line 925
;924:
;925:	s_controls.changesmade = qtrue;
ADDRGP4 s_controls+4392
CNSTI4 1
ASGNI4
line 927
;926:	
;927:	if (key != -1)
ADDRFP4 0
INDIRI4
CNSTI4 -1
EQI4 $540
line 928
;928:	{
line 930
;929:		// remove from any other bind
;930:		bindptr = g_bindings;
ADDRLP4 0
ADDRGP4 g_bindings
ASGNP4
line 931
;931:		for (i=0; ;i++,bindptr++)
ADDRLP4 4
CNSTI4 0
ASGNI4
LABELV $542
line 932
;932:		{
line 933
;933:			if (!bindptr->label)	
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $546
line 934
;934:				break;
ADDRGP4 $544
JUMPV
LABELV $546
line 936
;935:
;936:			if (bindptr->bind2 == key)
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
INDIRI4
ADDRFP4 0
INDIRI4
NEI4 $548
line 937
;937:				bindptr->bind2 = -1;
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
CNSTI4 -1
ASGNI4
LABELV $548
line 939
;938:
;939:			if (bindptr->bind1 == key)
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
INDIRI4
ADDRFP4 0
INDIRI4
NEI4 $550
line 940
;940:			{
line 941
;941:				bindptr->bind1 = bindptr->bind2;	
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
INDIRI4
ASGNI4
line 942
;942:				bindptr->bind2 = -1;
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
CNSTI4 -1
ASGNI4
line 943
;943:			}
LABELV $550
line 944
;944:		}
LABELV $543
line 931
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 0
ADDRLP4 0
INDIRP4
CNSTI4 32
ADDP4
ASGNP4
ADDRGP4 $542
JUMPV
LABELV $544
line 945
;945:	}
LABELV $540
line 948
;946:
;947:	// assign key to local store
;948:	id      = ((menucommon_s*)(s_controls.menu.items[s_controls.menu.cursor]))->id;
ADDRLP4 8
ADDRGP4 s_controls
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 s_controls+12
ADDP4
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
ASGNI4
line 949
;949:	bindptr = g_bindings;
ADDRLP4 0
ADDRGP4 g_bindings
ASGNP4
line 950
;950:	for (i=0; ;i++,bindptr++)
ADDRLP4 4
CNSTI4 0
ASGNI4
LABELV $553
line 951
;951:	{
line 952
;952:		if (!bindptr->label)	
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $557
line 953
;953:			break;
ADDRGP4 $555
JUMPV
LABELV $557
line 955
;954:		
;955:		if (bindptr->id == id)
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
ADDRLP4 8
INDIRI4
NEI4 $559
line 956
;956:		{
line 957
;957:			found = qtrue;
ADDRLP4 12
CNSTI4 1
ASGNI4
line 958
;958:			if (key == -1)
ADDRFP4 0
INDIRI4
CNSTI4 -1
NEI4 $561
line 959
;959:			{
line 960
;960:				if( bindptr->bind1 != -1 ) {
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
INDIRI4
CNSTI4 -1
EQI4 $563
line 961
;961:					trap_Key_SetBinding( bindptr->bind1, "" );
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
INDIRI4
ARGI4
ADDRGP4 $565
ARGP4
ADDRGP4 trap_Key_SetBinding
CALLV
pop
line 962
;962:					bindptr->bind1 = -1;
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
CNSTI4 -1
ASGNI4
line 963
;963:				}
LABELV $563
line 964
;964:				if( bindptr->bind2 != -1 ) {
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
INDIRI4
CNSTI4 -1
EQI4 $555
line 965
;965:					trap_Key_SetBinding( bindptr->bind2, "" );
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
INDIRI4
ARGI4
ADDRGP4 $565
ARGP4
ADDRGP4 trap_Key_SetBinding
CALLV
pop
line 966
;966:					bindptr->bind2 = -1;
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
CNSTI4 -1
ASGNI4
line 967
;967:				}
line 968
;968:			}
ADDRGP4 $555
JUMPV
LABELV $561
line 969
;969:			else if (bindptr->bind1 == -1) {
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
INDIRI4
CNSTI4 -1
NEI4 $568
line 970
;970:				bindptr->bind1 = key;
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
ADDRFP4 0
INDIRI4
ASGNI4
line 971
;971:			}
ADDRGP4 $555
JUMPV
LABELV $568
line 972
;972:			else if (bindptr->bind1 != key && bindptr->bind2 == -1) {
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
INDIRI4
ADDRFP4 0
INDIRI4
EQI4 $570
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
INDIRI4
CNSTI4 -1
NEI4 $570
line 973
;973:				bindptr->bind2 = key;
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
ADDRFP4 0
INDIRI4
ASGNI4
line 974
;974:			}
ADDRGP4 $555
JUMPV
LABELV $570
line 976
;975:			else
;976:			{
line 977
;977:				trap_Key_SetBinding( bindptr->bind1, "" );
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
INDIRI4
ARGI4
ADDRGP4 $565
ARGP4
ADDRGP4 trap_Key_SetBinding
CALLV
pop
line 978
;978:				trap_Key_SetBinding( bindptr->bind2, "" );
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
INDIRI4
ARGI4
ADDRGP4 $565
ARGP4
ADDRGP4 trap_Key_SetBinding
CALLV
pop
line 979
;979:				bindptr->bind1 = key;
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
ADDRFP4 0
INDIRI4
ASGNI4
line 980
;980:				bindptr->bind2 = -1;
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
CNSTI4 -1
ASGNI4
line 981
;981:			}						
line 982
;982:			break;
ADDRGP4 $555
JUMPV
LABELV $559
line 984
;983:		}
;984:	}				
LABELV $554
line 950
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 0
ADDRLP4 0
INDIRP4
CNSTI4 32
ADDP4
ASGNP4
ADDRGP4 $553
JUMPV
LABELV $555
line 986
;985:		
;986:	s_controls.waitingforkey = qfalse;
ADDRGP4 s_controls+4804
CNSTI4 0
ASGNI4
line 988
;987:
;988:	if (found)
ADDRLP4 12
INDIRI4
CNSTI4 0
EQI4 $573
line 989
;989:	{	
line 990
;990:		Controls_Update();
ADDRGP4 Controls_Update
CALLV
pop
line 991
;991:		return (menu_out_sound);
ADDRGP4 menu_out_sound
INDIRI4
RETI4
ADDRGP4 $515
JUMPV
LABELV $573
LABELV $526
line 995
;992:	}
;993:
;994:ignorekey:
;995:	return Menu_DefaultKey( &s_controls.menu, key );
ADDRGP4 s_controls
ARGP4
ADDRFP4 0
INDIRI4
ARGI4
ADDRLP4 16
ADDRGP4 Menu_DefaultKey
CALLI4
ASGNI4
ADDRLP4 16
INDIRI4
RETI4
LABELV $515
endproc Controls_MenuKey 28 8
proc Controls_ResetDefaults_Action 0 0
line 1003
;996:}
;997:
;998:/*
;999:=================
;1000:Controls_ResetDefaults_Action
;1001:=================
;1002:*/
;1003:static void Controls_ResetDefaults_Action( qboolean result ) {
line 1004
;1004:	if( !result ) {
ADDRFP4 0
INDIRI4
CNSTI4 0
NEI4 $576
line 1005
;1005:		return;
ADDRGP4 $575
JUMPV
LABELV $576
line 1008
;1006:	}
;1007:
;1008:	s_controls.changesmade = qtrue;
ADDRGP4 s_controls+4392
CNSTI4 1
ASGNI4
line 1009
;1009:	Controls_SetDefaults();
ADDRGP4 Controls_SetDefaults
CALLV
pop
line 1010
;1010:	Controls_Update();
ADDRGP4 Controls_Update
CALLV
pop
line 1011
;1011:}
LABELV $575
endproc Controls_ResetDefaults_Action 0 0
proc Controls_ResetDefaults_Draw 0 20
line 1018
;1012:
;1013:/*
;1014:=================
;1015:Controls_ResetDefaults_Draw
;1016:=================
;1017:*/
;1018:static void Controls_ResetDefaults_Draw( void ) {
line 1019
;1019:	UI_DrawProportionalString( SCREEN_WIDTH/2, 356 + PROP_HEIGHT * 0, "WARNING: This will reset all", UI_CENTER|UI_SMALLFONT, color_yellow );
CNSTI4 320
ARGI4
CNSTI4 356
ARGI4
ADDRGP4 $580
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 color_yellow
ARGP4
ADDRGP4 UI_DrawProportionalString
CALLV
pop
line 1020
;1020:	UI_DrawProportionalString( SCREEN_WIDTH/2, 356 + PROP_HEIGHT * 1, "controls to their default values.", UI_CENTER|UI_SMALLFONT, color_yellow );
CNSTI4 320
ARGI4
CNSTI4 383
ARGI4
ADDRGP4 $581
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 color_yellow
ARGP4
ADDRGP4 UI_DrawProportionalString
CALLV
pop
line 1021
;1021:}
LABELV $579
endproc Controls_ResetDefaults_Draw 0 20
proc Controls_MenuEvent 12 12
line 1029
;1022:
;1023:/*
;1024:=================
;1025:Controls_MenuEvent
;1026:=================
;1027:*/
;1028:static void Controls_MenuEvent( void* ptr, int event )
;1029:{
line 1030
;1030:	switch (((menucommon_s*)ptr)->id)
ADDRLP4 0
ADDRFP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
ASGNI4
ADDRLP4 0
INDIRI4
CNSTI4 34
LTI4 $583
ADDRLP4 0
INDIRI4
CNSTI4 41
GTI4 $622
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 $623-136
ADDP4
INDIRP4
JUMPV
data
align 4
LABELV $623
address $618
address $618
address $618
address $618
address $618
address $618
address $618
address $618
code
LABELV $622
ADDRLP4 0
INDIRI4
CNSTI4 100
LTI4 $583
ADDRLP4 0
INDIRI4
CNSTI4 107
GTI4 $583
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 $625-400
ADDP4
INDIRP4
JUMPV
data
align 4
LABELV $625
address $586
address $590
address $594
address $598
address $602
address $606
address $612
address $615
code
line 1031
;1031:	{
LABELV $586
line 1033
;1032:		case ID_MOVEMENT:
;1033:			if (event == QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
NEI4 $584
line 1034
;1034:			{
line 1035
;1035:				s_controls.section = C_MOVEMENT; 
ADDRGP4 s_controls+4800
CNSTI4 0
ASGNI4
line 1036
;1036:				Controls_Update();
ADDRGP4 Controls_Update
CALLV
pop
line 1037
;1037:			}
line 1038
;1038:			break;
ADDRGP4 $584
JUMPV
LABELV $590
line 1041
;1039:
;1040:		case ID_LOOKING:
;1041:			if (event == QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
NEI4 $584
line 1042
;1042:			{
line 1043
;1043:				s_controls.section = C_LOOKING; 
ADDRGP4 s_controls+4800
CNSTI4 1
ASGNI4
line 1044
;1044:				Controls_Update();
ADDRGP4 Controls_Update
CALLV
pop
line 1045
;1045:			}
line 1046
;1046:			break;
ADDRGP4 $584
JUMPV
LABELV $594
line 1049
;1047:
;1048:		case ID_WEAPONS:
;1049:			if (event == QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
NEI4 $584
line 1050
;1050:			{
line 1051
;1051:				s_controls.section = C_WEAPONS; 
ADDRGP4 s_controls+4800
CNSTI4 2
ASGNI4
line 1052
;1052:				Controls_Update();
ADDRGP4 Controls_Update
CALLV
pop
line 1053
;1053:			}
line 1054
;1054:			break;
ADDRGP4 $584
JUMPV
LABELV $598
line 1057
;1055:
;1056:		case ID_MISC:
;1057:			if (event == QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
NEI4 $584
line 1058
;1058:			{
line 1059
;1059:				s_controls.section = C_MISC; 
ADDRGP4 s_controls+4800
CNSTI4 3
ASGNI4
line 1060
;1060:				Controls_Update();
ADDRGP4 Controls_Update
CALLV
pop
line 1061
;1061:			}
line 1062
;1062:			break;
ADDRGP4 $584
JUMPV
LABELV $602
line 1065
;1063:
;1064:		case ID_DEFAULTS:
;1065:			if (event == QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
NEI4 $584
line 1066
;1066:			{
line 1067
;1067:				UI_ConfirmMenu( "SET TO DEFAULTS?", Controls_ResetDefaults_Draw, Controls_ResetDefaults_Action );
ADDRGP4 $605
ARGP4
ADDRGP4 Controls_ResetDefaults_Draw
ARGP4
ADDRGP4 Controls_ResetDefaults_Action
ARGP4
ADDRGP4 UI_ConfirmMenu
CALLV
pop
line 1068
;1068:			}
line 1069
;1069:			break;
ADDRGP4 $584
JUMPV
LABELV $606
line 1072
;1070:
;1071:		case ID_BACK:
;1072:			if (event == QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
NEI4 $584
line 1073
;1073:			{
line 1074
;1074:				if (s_controls.changesmade)
ADDRGP4 s_controls+4392
INDIRI4
CNSTI4 0
EQI4 $609
line 1075
;1075:					Controls_SetConfig();
ADDRGP4 Controls_SetConfig
CALLV
pop
LABELV $609
line 1076
;1076:				UI_PopMenu();
ADDRGP4 UI_PopMenu
CALLV
pop
line 1077
;1077:			}
line 1078
;1078:			break;
ADDRGP4 $584
JUMPV
LABELV $612
line 1081
;1079:
;1080:		case ID_SAVEANDEXIT:
;1081:			if (event == QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
NEI4 $584
line 1082
;1082:			{
line 1083
;1083:				Controls_SetConfig();
ADDRGP4 Controls_SetConfig
CALLV
pop
line 1084
;1084:				UI_PopMenu();
ADDRGP4 UI_PopMenu
CALLV
pop
line 1085
;1085:			}
line 1086
;1086:			break;
ADDRGP4 $584
JUMPV
LABELV $615
line 1089
;1087:
;1088:		case ID_EXIT:
;1089:			if (event == QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
NEI4 $584
line 1090
;1090:			{
line 1091
;1091:				UI_PopMenu();
ADDRGP4 UI_PopMenu
CALLV
pop
line 1092
;1092:			}
line 1093
;1093:			break;
ADDRGP4 $584
JUMPV
LABELV $618
line 1103
;1094:
;1095:		case ID_FREELOOK:
;1096:		case ID_MOUSESPEED:
;1097:		case ID_INVERTMOUSE:
;1098:		case ID_SMOOTHMOUSE:
;1099:		case ID_ALWAYSRUN:
;1100:		case ID_AUTOSWITCH:
;1101:		case ID_JOYENABLE:
;1102:		case ID_JOYTHRESHOLD:
;1103:			if (event == QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
NEI4 $584
line 1104
;1104:			{
line 1105
;1105:				s_controls.changesmade = qtrue;
ADDRGP4 s_controls+4392
CNSTI4 1
ASGNI4
line 1106
;1106:			}
line 1107
;1107:			break;		
LABELV $583
LABELV $584
line 1109
;1108:	}
;1109:}
LABELV $582
endproc Controls_MenuEvent 12 12
proc Controls_ActionEvent 0 4
line 1117
;1110:
;1111:/*
;1112:=================
;1113:Controls_ActionEvent
;1114:=================
;1115:*/
;1116:static void Controls_ActionEvent( void* ptr, int event )
;1117:{
line 1118
;1118:	if (event == QM_LOSTFOCUS)
ADDRFP4 4
INDIRI4
CNSTI4 2
NEI4 $628
line 1119
;1119:	{
line 1120
;1120:		Controls_UpdateModel( ANIM_IDLE );
CNSTI4 0
ARGI4
ADDRGP4 Controls_UpdateModel
CALLV
pop
line 1121
;1121:	}
ADDRGP4 $629
JUMPV
LABELV $628
line 1122
;1122:	else if (event == QM_GOTFOCUS)
ADDRFP4 4
INDIRI4
CNSTI4 1
NEI4 $630
line 1123
;1123:	{
line 1124
;1124:		Controls_UpdateModel( g_bindings[((menucommon_s*)ptr)->id].anim );
ADDRFP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
CNSTI4 5
LSHI4
ADDRGP4 g_bindings+12
ADDP4
INDIRI4
ARGI4
ADDRGP4 Controls_UpdateModel
CALLV
pop
line 1125
;1125:	}
ADDRGP4 $631
JUMPV
LABELV $630
line 1126
;1126:	else if ((event == QM_ACTIVATED) && !s_controls.waitingforkey)
ADDRFP4 4
INDIRI4
CNSTI4 3
NEI4 $633
ADDRGP4 s_controls+4804
INDIRI4
CNSTI4 0
NEI4 $633
line 1127
;1127:	{
line 1128
;1128:		s_controls.waitingforkey = 1;
ADDRGP4 s_controls+4804
CNSTI4 1
ASGNI4
line 1129
;1129:		Controls_Update();
ADDRGP4 Controls_Update
CALLV
pop
line 1130
;1130:	}
LABELV $633
LABELV $631
LABELV $629
line 1131
;1131:}
LABELV $627
endproc Controls_ActionEvent 0 4
proc Controls_InitModel 4 12
line 1139
;1132:
;1133:/*
;1134:=================
;1135:Controls_InitModel
;1136:=================
;1137:*/
;1138:static void Controls_InitModel( void )
;1139:{
line 1140
;1140:	memset( &s_controls.playerinfo, 0, sizeof(playerInfo_t) );
ADDRGP4 s_controls+3284
ARGP4
CNSTI4 0
ARGI4
CNSTI4 1108
ARGI4
ADDRGP4 memset
CALLP4
pop
line 1142
;1141:
;1142:	UI_PlayerInfo_SetModel( &s_controls.playerinfo, UI_Cvar_VariableString( "model" ) );
ADDRGP4 $413
ARGP4
ADDRLP4 0
ADDRGP4 UI_Cvar_VariableString
CALLP4
ASGNP4
ADDRGP4 s_controls+3284
ARGP4
ADDRLP4 0
INDIRP4
ARGP4
ADDRGP4 UI_PlayerInfo_SetModel
CALLV
pop
line 1144
;1143:
;1144:	Controls_UpdateModel( ANIM_IDLE );
CNSTI4 0
ARGI4
ADDRGP4 Controls_UpdateModel
CALLV
pop
line 1145
;1145:}
LABELV $637
endproc Controls_InitModel 4 12
proc Controls_InitWeapons 4 4
line 1152
;1146:
;1147:/*
;1148:=================
;1149:Controls_InitWeapons
;1150:=================
;1151:*/
;1152:static void Controls_InitWeapons( void ) {
line 1155
;1153:	gitem_t *	item;
;1154:
;1155:	for ( item = bg_itemlist + 1 ; item->classname ; item++ ) {
ADDRLP4 0
ADDRGP4 bg_itemlist+52
ASGNP4
ADDRGP4 $644
JUMPV
LABELV $641
line 1156
;1156:		if ( item->giType != IT_WEAPON ) {
ADDRLP4 0
INDIRP4
CNSTI4 36
ADDP4
INDIRI4
CNSTI4 10
EQI4 $646
line 1157
;1157:			continue;
ADDRGP4 $642
JUMPV
LABELV $646
line 1159
;1158:		}
;1159:		trap_R_RegisterModel( item->world_model[0] );
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRP4
ARGP4
ADDRGP4 trap_R_RegisterModel
CALLI4
pop
line 1160
;1160:	}
LABELV $642
line 1155
ADDRLP4 0
ADDRLP4 0
INDIRP4
CNSTI4 52
ADDP4
ASGNP4
LABELV $644
ADDRLP4 0
INDIRP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $641
line 1161
;1161:}
LABELV $640
endproc Controls_InitWeapons 4 4
bss
align 1
LABELV $649
skip 32
code
proc Controls_MenuInit 0 12
line 1169
;1162:
;1163:/*
;1164:=================
;1165:Controls_MenuInit
;1166:=================
;1167:*/
;1168:static void Controls_MenuInit( void )
;1169:{
line 1173
;1170:	static char playername[32];
;1171:
;1172:	// zero set all our globals
;1173:	memset( &s_controls, 0 ,sizeof(controls_t) );
ADDRGP4 s_controls
ARGP4
CNSTI4 0
ARGI4
CNSTI4 5080
ARGI4
ADDRGP4 memset
CALLP4
pop
line 1175
;1174:
;1175:	Controls_Cache();
ADDRGP4 Controls_Cache
CALLV
pop
line 1177
;1176:
;1177:	s_controls.menu.key        = Controls_MenuKey;
ADDRGP4 s_controls+272
ADDRGP4 Controls_MenuKey
ASGNP4
line 1178
;1178:	s_controls.menu.wrapAround = qtrue;
ADDRGP4 s_controls+276
CNSTI4 1
ASGNI4
line 1179
;1179:	s_controls.menu.fullscreen = qtrue;
ADDRGP4 s_controls+280
CNSTI4 1
ASGNI4
line 1181
;1180:
;1181:	s_controls.banner.generic.type	= MTYPE_BTEXT;
ADDRGP4 s_controls+288
CNSTI4 10
ASGNI4
line 1182
;1182:	s_controls.banner.generic.flags	= QMF_CENTER_JUSTIFY;
ADDRGP4 s_controls+288+44
CNSTU4 8
ASGNU4
line 1183
;1183:	s_controls.banner.generic.x		= 320;
ADDRGP4 s_controls+288+12
CNSTI4 320
ASGNI4
line 1184
;1184:	s_controls.banner.generic.y		= 16;
ADDRGP4 s_controls+288+16
CNSTI4 16
ASGNI4
line 1185
;1185:	s_controls.banner.string		= "CONTROLS";
ADDRGP4 s_controls+288+64
ADDRGP4 $662
ASGNP4
line 1186
;1186:	s_controls.banner.color			= color_white;
ADDRGP4 s_controls+288+72
ADDRGP4 color_white
ASGNP4
line 1187
;1187:	s_controls.banner.style			= UI_CENTER;
ADDRGP4 s_controls+288+68
CNSTI4 1
ASGNI4
line 1189
;1188:
;1189:	s_controls.framel.generic.type  = MTYPE_BITMAP;
ADDRGP4 s_controls+364
CNSTI4 6
ASGNI4
line 1190
;1190:	s_controls.framel.generic.name  = ART_FRAMEL;
ADDRGP4 s_controls+364+4
ADDRGP4 $670
ASGNP4
line 1191
;1191:	s_controls.framel.generic.flags = QMF_LEFT_JUSTIFY|QMF_INACTIVE;
ADDRGP4 s_controls+364+44
CNSTU4 16388
ASGNU4
line 1192
;1192:	s_controls.framel.generic.x     = 0;
ADDRGP4 s_controls+364+12
CNSTI4 0
ASGNI4
line 1193
;1193:	s_controls.framel.generic.y     = 78;
ADDRGP4 s_controls+364+16
CNSTI4 78
ASGNI4
line 1194
;1194:	s_controls.framel.width  	    = 256;
ADDRGP4 s_controls+364+80
CNSTI4 256
ASGNI4
line 1195
;1195:	s_controls.framel.height  	    = 329;
ADDRGP4 s_controls+364+84
CNSTI4 329
ASGNI4
line 1197
;1196:
;1197:	s_controls.framer.generic.type  = MTYPE_BITMAP;
ADDRGP4 s_controls+456
CNSTI4 6
ASGNI4
line 1198
;1198:	s_controls.framer.generic.name  = ART_FRAMER;
ADDRGP4 s_controls+456+4
ADDRGP4 $684
ASGNP4
line 1199
;1199:	s_controls.framer.generic.flags = QMF_LEFT_JUSTIFY|QMF_INACTIVE;
ADDRGP4 s_controls+456+44
CNSTU4 16388
ASGNU4
line 1200
;1200:	s_controls.framer.generic.x     = 376;
ADDRGP4 s_controls+456+12
CNSTI4 376
ASGNI4
line 1201
;1201:	s_controls.framer.generic.y     = 76;
ADDRGP4 s_controls+456+16
CNSTI4 76
ASGNI4
line 1202
;1202:	s_controls.framer.width  	    = 256;
ADDRGP4 s_controls+456+80
CNSTI4 256
ASGNI4
line 1203
;1203:	s_controls.framer.height  	    = 334;
ADDRGP4 s_controls+456+84
CNSTI4 334
ASGNI4
line 1205
;1204:
;1205:	s_controls.looking.generic.type     = MTYPE_PTEXT;
ADDRGP4 s_controls+716
CNSTI4 9
ASGNI4
line 1206
;1206:	s_controls.looking.generic.flags    = QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 s_controls+716+44
CNSTU4 272
ASGNU4
line 1207
;1207:	s_controls.looking.generic.id	    = ID_LOOKING;
ADDRGP4 s_controls+716+8
CNSTI4 101
ASGNI4
line 1208
;1208:	s_controls.looking.generic.callback	= Controls_MenuEvent;
ADDRGP4 s_controls+716+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1209
;1209:	s_controls.looking.generic.x	    = 152;
ADDRGP4 s_controls+716+12
CNSTI4 152
ASGNI4
line 1210
;1210:	s_controls.looking.generic.y	    = 240 - 2 * PROP_HEIGHT;
ADDRGP4 s_controls+716+16
CNSTI4 186
ASGNI4
line 1211
;1211:	s_controls.looking.string			= "LOOK";
ADDRGP4 s_controls+716+64
ADDRGP4 $708
ASGNP4
line 1212
;1212:	s_controls.looking.style			= UI_RIGHT;
ADDRGP4 s_controls+716+68
CNSTI4 2
ASGNI4
line 1213
;1213:	s_controls.looking.color			= color_red;
ADDRGP4 s_controls+716+72
ADDRGP4 color_red
ASGNP4
line 1215
;1214:
;1215:	s_controls.movement.generic.type     = MTYPE_PTEXT;
ADDRGP4 s_controls+640
CNSTI4 9
ASGNI4
line 1216
;1216:	s_controls.movement.generic.flags    = QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 s_controls+640+44
CNSTU4 272
ASGNU4
line 1217
;1217:	s_controls.movement.generic.id	     = ID_MOVEMENT;
ADDRGP4 s_controls+640+8
CNSTI4 100
ASGNI4
line 1218
;1218:	s_controls.movement.generic.callback = Controls_MenuEvent;
ADDRGP4 s_controls+640+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1219
;1219:	s_controls.movement.generic.x	     = 152;
ADDRGP4 s_controls+640+12
CNSTI4 152
ASGNI4
line 1220
;1220:	s_controls.movement.generic.y	     = 240 - PROP_HEIGHT;
ADDRGP4 s_controls+640+16
CNSTI4 213
ASGNI4
line 1221
;1221:	s_controls.movement.string			= "MOVE";
ADDRGP4 s_controls+640+64
ADDRGP4 $726
ASGNP4
line 1222
;1222:	s_controls.movement.style			= UI_RIGHT;
ADDRGP4 s_controls+640+68
CNSTI4 2
ASGNI4
line 1223
;1223:	s_controls.movement.color			= color_red;
ADDRGP4 s_controls+640+72
ADDRGP4 color_red
ASGNP4
line 1225
;1224:
;1225:	s_controls.weapons.generic.type	    = MTYPE_PTEXT;
ADDRGP4 s_controls+792
CNSTI4 9
ASGNI4
line 1226
;1226:	s_controls.weapons.generic.flags    = QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 s_controls+792+44
CNSTU4 272
ASGNU4
line 1227
;1227:	s_controls.weapons.generic.id	    = ID_WEAPONS;
ADDRGP4 s_controls+792+8
CNSTI4 102
ASGNI4
line 1228
;1228:	s_controls.weapons.generic.callback	= Controls_MenuEvent;
ADDRGP4 s_controls+792+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1229
;1229:	s_controls.weapons.generic.x	    = 152;
ADDRGP4 s_controls+792+12
CNSTI4 152
ASGNI4
line 1230
;1230:	s_controls.weapons.generic.y	    = 240;
ADDRGP4 s_controls+792+16
CNSTI4 240
ASGNI4
line 1231
;1231:	s_controls.weapons.string			= "SHOOT";
ADDRGP4 s_controls+792+64
ADDRGP4 $744
ASGNP4
line 1232
;1232:	s_controls.weapons.style			= UI_RIGHT;
ADDRGP4 s_controls+792+68
CNSTI4 2
ASGNI4
line 1233
;1233:	s_controls.weapons.color			= color_red;
ADDRGP4 s_controls+792+72
ADDRGP4 color_red
ASGNP4
line 1235
;1234:
;1235:	s_controls.misc.generic.type	 = MTYPE_PTEXT;
ADDRGP4 s_controls+868
CNSTI4 9
ASGNI4
line 1236
;1236:	s_controls.misc.generic.flags    = QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 s_controls+868+44
CNSTU4 272
ASGNU4
line 1237
;1237:	s_controls.misc.generic.id	     = ID_MISC;
ADDRGP4 s_controls+868+8
CNSTI4 103
ASGNI4
line 1238
;1238:	s_controls.misc.generic.callback = Controls_MenuEvent;
ADDRGP4 s_controls+868+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1239
;1239:	s_controls.misc.generic.x		 = 152;
ADDRGP4 s_controls+868+12
CNSTI4 152
ASGNI4
line 1240
;1240:	s_controls.misc.generic.y		 = 240 + PROP_HEIGHT;
ADDRGP4 s_controls+868+16
CNSTI4 267
ASGNI4
line 1241
;1241:	s_controls.misc.string			= "MISC";
ADDRGP4 s_controls+868+64
ADDRGP4 $762
ASGNP4
line 1242
;1242:	s_controls.misc.style			= UI_RIGHT;
ADDRGP4 s_controls+868+68
CNSTI4 2
ASGNI4
line 1243
;1243:	s_controls.misc.color			= color_red;
ADDRGP4 s_controls+868+72
ADDRGP4 color_red
ASGNP4
line 1245
;1244:
;1245:	s_controls.back.generic.type	 = MTYPE_BITMAP;
ADDRGP4 s_controls+4912
CNSTI4 6
ASGNI4
line 1246
;1246:	s_controls.back.generic.name     = ART_BACK0;
ADDRGP4 s_controls+4912+4
ADDRGP4 $770
ASGNP4
line 1247
;1247:	s_controls.back.generic.flags    = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 s_controls+4912+44
CNSTU4 260
ASGNU4
line 1248
;1248:	s_controls.back.generic.x		 = 0;
ADDRGP4 s_controls+4912+12
CNSTI4 0
ASGNI4
line 1249
;1249:	s_controls.back.generic.y		 = 480-64;
ADDRGP4 s_controls+4912+16
CNSTI4 416
ASGNI4
line 1250
;1250:	s_controls.back.generic.id	     = ID_BACK;
ADDRGP4 s_controls+4912+8
CNSTI4 105
ASGNI4
line 1251
;1251:	s_controls.back.generic.callback = Controls_MenuEvent;
ADDRGP4 s_controls+4912+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1252
;1252:	s_controls.back.width  		     = 128;
ADDRGP4 s_controls+4912+80
CNSTI4 128
ASGNI4
line 1253
;1253:	s_controls.back.height  		 = 64;
ADDRGP4 s_controls+4912+84
CNSTI4 64
ASGNI4
line 1254
;1254:	s_controls.back.focuspic         = ART_BACK1;
ADDRGP4 s_controls+4912+64
ADDRGP4 $787
ASGNP4
line 1256
;1255:
;1256:	s_controls.player.generic.type      = MTYPE_BITMAP;
ADDRGP4 s_controls+548
CNSTI4 6
ASGNI4
line 1257
;1257:	s_controls.player.generic.flags     = QMF_INACTIVE;
ADDRGP4 s_controls+548+44
CNSTU4 16384
ASGNU4
line 1258
;1258:	s_controls.player.generic.ownerdraw = Controls_DrawPlayer;
ADDRGP4 s_controls+548+56
ADDRGP4 Controls_DrawPlayer
ASGNP4
line 1259
;1259:	s_controls.player.generic.x	        = 400;
ADDRGP4 s_controls+548+12
CNSTI4 400
ASGNI4
line 1260
;1260:	s_controls.player.generic.y	        = -40;
ADDRGP4 s_controls+548+16
CNSTI4 -40
ASGNI4
line 1261
;1261:	s_controls.player.width	            = 32*10;
ADDRGP4 s_controls+548+80
CNSTI4 320
ASGNI4
line 1262
;1262:	s_controls.player.height            = 56*10;
ADDRGP4 s_controls+548+84
CNSTI4 560
ASGNI4
line 1264
;1263:
;1264:	s_controls.walkforward.generic.type	     = MTYPE_ACTION;
ADDRGP4 s_controls+944
CNSTI4 2
ASGNI4
line 1265
;1265:	s_controls.walkforward.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+944+44
CNSTU4 12548
ASGNU4
line 1266
;1266:	s_controls.walkforward.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+944+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1267
;1267:	s_controls.walkforward.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+944+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1268
;1268:	s_controls.walkforward.generic.id 	     = ID_FORWARD;
ADDRGP4 s_controls+944+8
CNSTI4 3
ASGNI4
line 1270
;1269:
;1270:	s_controls.backpedal.generic.type	   = MTYPE_ACTION;
ADDRGP4 s_controls+1008
CNSTI4 2
ASGNI4
line 1271
;1271:	s_controls.backpedal.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1008+44
CNSTU4 12548
ASGNU4
line 1272
;1272:	s_controls.backpedal.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1008+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1273
;1273:	s_controls.backpedal.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1008+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1274
;1274:	s_controls.backpedal.generic.id 	   = ID_BACKPEDAL;
ADDRGP4 s_controls+1008+8
CNSTI4 4
ASGNI4
line 1276
;1275:
;1276:	s_controls.stepleft.generic.type	  = MTYPE_ACTION;
ADDRGP4 s_controls+1072
CNSTI4 2
ASGNI4
line 1277
;1277:	s_controls.stepleft.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1072+44
CNSTU4 12548
ASGNU4
line 1278
;1278:	s_controls.stepleft.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1072+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1279
;1279:	s_controls.stepleft.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1072+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1280
;1280:	s_controls.stepleft.generic.id 		  = ID_MOVELEFT;
ADDRGP4 s_controls+1072+8
CNSTI4 5
ASGNI4
line 1282
;1281:
;1282:	s_controls.stepright.generic.type	   = MTYPE_ACTION;
ADDRGP4 s_controls+1136
CNSTI4 2
ASGNI4
line 1283
;1283:	s_controls.stepright.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1136+44
CNSTU4 12548
ASGNU4
line 1284
;1284:	s_controls.stepright.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1136+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1285
;1285:	s_controls.stepright.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1136+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1286
;1286:	s_controls.stepright.generic.id        = ID_MOVERIGHT;
ADDRGP4 s_controls+1136+8
CNSTI4 6
ASGNI4
line 1288
;1287:
;1288:	s_controls.moveup.generic.type	    = MTYPE_ACTION;
ADDRGP4 s_controls+1200
CNSTI4 2
ASGNI4
line 1289
;1289:	s_controls.moveup.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1200+44
CNSTU4 12548
ASGNU4
line 1290
;1290:	s_controls.moveup.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1200+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1291
;1291:	s_controls.moveup.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1200+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1292
;1292:	s_controls.moveup.generic.id        = ID_MOVEUP;
ADDRGP4 s_controls+1200+8
CNSTI4 7
ASGNI4
line 1294
;1293:
;1294:	s_controls.movedown.generic.type	  = MTYPE_ACTION;
ADDRGP4 s_controls+1264
CNSTI4 2
ASGNI4
line 1295
;1295:	s_controls.movedown.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1264+44
CNSTU4 12548
ASGNU4
line 1296
;1296:	s_controls.movedown.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1264+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1297
;1297:	s_controls.movedown.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1264+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1298
;1298:	s_controls.movedown.generic.id        = ID_MOVEDOWN;
ADDRGP4 s_controls+1264+8
CNSTI4 8
ASGNI4
line 1300
;1299:
;1300:	s_controls.turnleft.generic.type	  = MTYPE_ACTION;
ADDRGP4 s_controls+1328
CNSTI4 2
ASGNI4
line 1301
;1301:	s_controls.turnleft.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1328+44
CNSTU4 12548
ASGNU4
line 1302
;1302:	s_controls.turnleft.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1328+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1303
;1303:	s_controls.turnleft.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1328+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1304
;1304:	s_controls.turnleft.generic.id        = ID_LEFT;
ADDRGP4 s_controls+1328+8
CNSTI4 9
ASGNI4
line 1306
;1305:
;1306:	s_controls.turnright.generic.type	   = MTYPE_ACTION;
ADDRGP4 s_controls+1392
CNSTI4 2
ASGNI4
line 1307
;1307:	s_controls.turnright.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1392+44
CNSTU4 12548
ASGNU4
line 1308
;1308:	s_controls.turnright.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1392+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1309
;1309:	s_controls.turnright.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1392+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1310
;1310:	s_controls.turnright.generic.id        = ID_RIGHT;
ADDRGP4 s_controls+1392+8
CNSTI4 10
ASGNI4
line 1312
;1311:
;1312:	s_controls.sidestep.generic.type	  = MTYPE_ACTION;
ADDRGP4 s_controls+1456
CNSTI4 2
ASGNI4
line 1313
;1313:	s_controls.sidestep.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1456+44
CNSTU4 12548
ASGNU4
line 1314
;1314:	s_controls.sidestep.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1456+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1315
;1315:	s_controls.sidestep.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1456+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1316
;1316:	s_controls.sidestep.generic.id        = ID_STRAFE;
ADDRGP4 s_controls+1456+8
CNSTI4 11
ASGNI4
line 1318
;1317:
;1318:	s_controls.run.generic.type	     = MTYPE_ACTION;
ADDRGP4 s_controls+1520
CNSTI4 2
ASGNI4
line 1319
;1319:	s_controls.run.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1520+44
CNSTU4 12548
ASGNU4
line 1320
;1320:	s_controls.run.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1520+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1321
;1321:	s_controls.run.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1520+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1322
;1322:	s_controls.run.generic.id        = ID_SPEED;
ADDRGP4 s_controls+1520+8
CNSTI4 2
ASGNI4
line 1324
;1323:
;1324:	s_controls.chainsaw.generic.type	  = MTYPE_ACTION;
ADDRGP4 s_controls+1648
CNSTI4 2
ASGNI4
line 1325
;1325:	s_controls.chainsaw.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1648+44
CNSTU4 12548
ASGNU4
line 1326
;1326:	s_controls.chainsaw.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1648+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1327
;1327:	s_controls.chainsaw.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1648+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1328
;1328:	s_controls.chainsaw.generic.id        = ID_WEAPON1;
ADDRGP4 s_controls+1648+8
CNSTI4 17
ASGNI4
line 1330
;1329:
;1330:	s_controls.machinegun.generic.type	    = MTYPE_ACTION;
ADDRGP4 s_controls+1584
CNSTI4 2
ASGNI4
line 1331
;1331:	s_controls.machinegun.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1584+44
CNSTU4 12548
ASGNU4
line 1332
;1332:	s_controls.machinegun.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1584+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1333
;1333:	s_controls.machinegun.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1584+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1334
;1334:	s_controls.machinegun.generic.id        = ID_WEAPON2;
ADDRGP4 s_controls+1584+8
CNSTI4 18
ASGNI4
line 1336
;1335:
;1336:	s_controls.shotgun.generic.type	     = MTYPE_ACTION;
ADDRGP4 s_controls+1712
CNSTI4 2
ASGNI4
line 1337
;1337:	s_controls.shotgun.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1712+44
CNSTU4 12548
ASGNU4
line 1338
;1338:	s_controls.shotgun.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1712+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1339
;1339:	s_controls.shotgun.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1712+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1340
;1340:	s_controls.shotgun.generic.id        = ID_WEAPON3;
ADDRGP4 s_controls+1712+8
CNSTI4 19
ASGNI4
line 1342
;1341:
;1342:	s_controls.grenadelauncher.generic.type	     = MTYPE_ACTION;
ADDRGP4 s_controls+1776
CNSTI4 2
ASGNI4
line 1343
;1343:	s_controls.grenadelauncher.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1776+44
CNSTU4 12548
ASGNU4
line 1344
;1344:	s_controls.grenadelauncher.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1776+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1345
;1345:	s_controls.grenadelauncher.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1776+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1346
;1346:	s_controls.grenadelauncher.generic.id        = ID_WEAPON4;
ADDRGP4 s_controls+1776+8
CNSTI4 20
ASGNI4
line 1348
;1347:
;1348:	s_controls.rocketlauncher.generic.type	    = MTYPE_ACTION;
ADDRGP4 s_controls+1840
CNSTI4 2
ASGNI4
line 1349
;1349:	s_controls.rocketlauncher.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1840+44
CNSTU4 12548
ASGNU4
line 1350
;1350:	s_controls.rocketlauncher.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1840+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1351
;1351:	s_controls.rocketlauncher.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1840+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1352
;1352:	s_controls.rocketlauncher.generic.id        = ID_WEAPON5;
ADDRGP4 s_controls+1840+8
CNSTI4 21
ASGNI4
line 1354
;1353:
;1354:	s_controls.lightning.generic.type	   = MTYPE_ACTION;
ADDRGP4 s_controls+1904
CNSTI4 2
ASGNI4
line 1355
;1355:	s_controls.lightning.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1904+44
CNSTU4 12548
ASGNU4
line 1356
;1356:	s_controls.lightning.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1904+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1357
;1357:	s_controls.lightning.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1904+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1358
;1358:	s_controls.lightning.generic.id        = ID_WEAPON6;
ADDRGP4 s_controls+1904+8
CNSTI4 22
ASGNI4
line 1360
;1359:
;1360:	s_controls.railgun.generic.type	     = MTYPE_ACTION;
ADDRGP4 s_controls+1968
CNSTI4 2
ASGNI4
line 1361
;1361:	s_controls.railgun.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+1968+44
CNSTU4 12548
ASGNU4
line 1362
;1362:	s_controls.railgun.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+1968+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1363
;1363:	s_controls.railgun.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+1968+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1364
;1364:	s_controls.railgun.generic.id        = ID_WEAPON7;
ADDRGP4 s_controls+1968+8
CNSTI4 23
ASGNI4
line 1366
;1365:
;1366:	s_controls.plasma.generic.type	    = MTYPE_ACTION;
ADDRGP4 s_controls+2032
CNSTI4 2
ASGNI4
line 1367
;1367:	s_controls.plasma.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+2032+44
CNSTU4 12548
ASGNU4
line 1368
;1368:	s_controls.plasma.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+2032+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1369
;1369:	s_controls.plasma.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+2032+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1370
;1370:	s_controls.plasma.generic.id        = ID_WEAPON8;
ADDRGP4 s_controls+2032+8
CNSTI4 24
ASGNI4
line 1372
;1371:
;1372:	s_controls.bfg.generic.type	     = MTYPE_ACTION;
ADDRGP4 s_controls+2096
CNSTI4 2
ASGNI4
line 1373
;1373:	s_controls.bfg.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+2096+44
CNSTU4 12548
ASGNU4
line 1374
;1374:	s_controls.bfg.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+2096+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1375
;1375:	s_controls.bfg.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+2096+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1376
;1376:	s_controls.bfg.generic.id        = ID_WEAPON9;
ADDRGP4 s_controls+2096+8
CNSTI4 25
ASGNI4
line 1378
;1377:
;1378:	s_controls.attack.generic.type	    = MTYPE_ACTION;
ADDRGP4 s_controls+2160
CNSTI4 2
ASGNI4
line 1379
;1379:	s_controls.attack.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+2160+44
CNSTU4 12548
ASGNU4
line 1380
;1380:	s_controls.attack.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+2160+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1381
;1381:	s_controls.attack.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+2160+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1382
;1382:	s_controls.attack.generic.id        = ID_ATTACK;
ADDRGP4 s_controls+2160+8
CNSTI4 26
ASGNI4
line 1384
;1383:
;1384:	s_controls.prevweapon.generic.type	    = MTYPE_ACTION;
ADDRGP4 s_controls+2224
CNSTI4 2
ASGNI4
line 1385
;1385:	s_controls.prevweapon.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+2224+44
CNSTU4 12548
ASGNU4
line 1386
;1386:	s_controls.prevweapon.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+2224+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1387
;1387:	s_controls.prevweapon.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+2224+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1388
;1388:	s_controls.prevweapon.generic.id        = ID_WEAPPREV;
ADDRGP4 s_controls+2224+8
CNSTI4 27
ASGNI4
line 1390
;1389:
;1390:	s_controls.nextweapon.generic.type	    = MTYPE_ACTION;
ADDRGP4 s_controls+2288
CNSTI4 2
ASGNI4
line 1391
;1391:	s_controls.nextweapon.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+2288+44
CNSTU4 12548
ASGNU4
line 1392
;1392:	s_controls.nextweapon.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+2288+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1393
;1393:	s_controls.nextweapon.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+2288+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1394
;1394:	s_controls.nextweapon.generic.id        = ID_WEAPNEXT;
ADDRGP4 s_controls+2288+8
CNSTI4 28
ASGNI4
line 1396
;1395:
;1396:	s_controls.lookup.generic.type	    = MTYPE_ACTION;
ADDRGP4 s_controls+2352
CNSTI4 2
ASGNI4
line 1397
;1397:	s_controls.lookup.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+2352+44
CNSTU4 12548
ASGNU4
line 1398
;1398:	s_controls.lookup.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+2352+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1399
;1399:	s_controls.lookup.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+2352+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1400
;1400:	s_controls.lookup.generic.id        = ID_LOOKUP;
ADDRGP4 s_controls+2352+8
CNSTI4 12
ASGNI4
line 1402
;1401:
;1402:	s_controls.lookdown.generic.type	  = MTYPE_ACTION;
ADDRGP4 s_controls+2416
CNSTI4 2
ASGNI4
line 1403
;1403:	s_controls.lookdown.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+2416+44
CNSTU4 12548
ASGNU4
line 1404
;1404:	s_controls.lookdown.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+2416+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1405
;1405:	s_controls.lookdown.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+2416+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1406
;1406:	s_controls.lookdown.generic.id        = ID_LOOKDOWN;
ADDRGP4 s_controls+2416+8
CNSTI4 13
ASGNI4
line 1408
;1407:
;1408:	s_controls.mouselook.generic.type	   = MTYPE_ACTION;
ADDRGP4 s_controls+2480
CNSTI4 2
ASGNI4
line 1409
;1409:	s_controls.mouselook.generic.flags     = QMF_LEFT_JUSTIFY|QMF_HIGHLIGHT_IF_FOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+2480+44
CNSTU4 12420
ASGNU4
line 1410
;1410:	s_controls.mouselook.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+2480+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1411
;1411:	s_controls.mouselook.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+2480+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1412
;1412:	s_controls.mouselook.generic.id        = ID_MOUSELOOK;
ADDRGP4 s_controls+2480+8
CNSTI4 14
ASGNI4
line 1414
;1413:
;1414:	s_controls.freelook.generic.type		= MTYPE_RADIOBUTTON;
ADDRGP4 s_controls+2544
CNSTI4 5
ASGNI4
line 1415
;1415:	s_controls.freelook.generic.flags		= QMF_SMALLFONT;
ADDRGP4 s_controls+2544+44
CNSTU4 2
ASGNU4
line 1416
;1416:	s_controls.freelook.generic.x			= SCREEN_WIDTH/2;
ADDRGP4 s_controls+2544+12
CNSTI4 320
ASGNI4
line 1417
;1417:	s_controls.freelook.generic.name		= "Free Look";
ADDRGP4 s_controls+2544+4
ADDRGP4 $1033
ASGNP4
line 1418
;1418:	s_controls.freelook.generic.id			= ID_FREELOOK;
ADDRGP4 s_controls+2544+8
CNSTI4 34
ASGNI4
line 1419
;1419:	s_controls.freelook.generic.callback	= Controls_MenuEvent;
ADDRGP4 s_controls+2544+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1420
;1420:	s_controls.freelook.generic.statusbar	= Controls_StatusBar;
ADDRGP4 s_controls+2544+52
ADDRGP4 Controls_StatusBar
ASGNP4
line 1422
;1421:
;1422:	s_controls.centerview.generic.type	    = MTYPE_ACTION;
ADDRGP4 s_controls+2612
CNSTI4 2
ASGNI4
line 1423
;1423:	s_controls.centerview.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+2612+44
CNSTU4 12548
ASGNU4
line 1424
;1424:	s_controls.centerview.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+2612+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1425
;1425:	s_controls.centerview.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+2612+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1426
;1426:	s_controls.centerview.generic.id        = ID_CENTERVIEW;
ADDRGP4 s_controls+2612+8
CNSTI4 15
ASGNI4
line 1428
;1427:
;1428:	s_controls.zoomview.generic.type	  = MTYPE_ACTION;
ADDRGP4 s_controls+2676
CNSTI4 2
ASGNI4
line 1429
;1429:	s_controls.zoomview.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+2676+44
CNSTU4 12548
ASGNU4
line 1430
;1430:	s_controls.zoomview.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+2676+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1431
;1431:	s_controls.zoomview.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+2676+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1432
;1432:	s_controls.zoomview.generic.id        = ID_ZOOMVIEW;
ADDRGP4 s_controls+2676+8
CNSTI4 16
ASGNI4
line 1434
;1433:
;1434:	s_controls.useitem.generic.type	     = MTYPE_ACTION;
ADDRGP4 s_controls+3220
CNSTI4 2
ASGNI4
line 1435
;1435:	s_controls.useitem.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+3220+44
CNSTU4 12548
ASGNU4
line 1436
;1436:	s_controls.useitem.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+3220+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1437
;1437:	s_controls.useitem.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+3220+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1438
;1438:	s_controls.useitem.generic.id        = ID_USEITEM;
ADDRGP4 s_controls+3220+8
CNSTI4 1
ASGNI4
line 1440
;1439:
;1440:	s_controls.showscores.generic.type	    = MTYPE_ACTION;
ADDRGP4 s_controls+3088
CNSTI4 2
ASGNI4
line 1441
;1441:	s_controls.showscores.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+3088+44
CNSTU4 12548
ASGNU4
line 1442
;1442:	s_controls.showscores.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+3088+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1443
;1443:	s_controls.showscores.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+3088+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1444
;1444:	s_controls.showscores.generic.id        = ID_SHOWSCORES;
ADDRGP4 s_controls+3088+8
CNSTI4 0
ASGNI4
line 1446
;1445:
;1446:	s_controls.invertmouse.generic.type      = MTYPE_RADIOBUTTON;
ADDRGP4 s_controls+2804
CNSTI4 5
ASGNI4
line 1447
;1447:	s_controls.invertmouse.generic.flags	 = QMF_SMALLFONT;
ADDRGP4 s_controls+2804+44
CNSTU4 2
ASGNU4
line 1448
;1448:	s_controls.invertmouse.generic.x	     = SCREEN_WIDTH/2;
ADDRGP4 s_controls+2804+12
CNSTI4 320
ASGNI4
line 1449
;1449:	s_controls.invertmouse.generic.name	     = "Invert Mouse";
ADDRGP4 s_controls+2804+4
ADDRGP4 $1083
ASGNP4
line 1450
;1450:	s_controls.invertmouse.generic.id        = ID_INVERTMOUSE;
ADDRGP4 s_controls+2804+8
CNSTI4 35
ASGNI4
line 1451
;1451:	s_controls.invertmouse.generic.callback  = Controls_MenuEvent;
ADDRGP4 s_controls+2804+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1452
;1452:	s_controls.invertmouse.generic.statusbar = Controls_StatusBar;
ADDRGP4 s_controls+2804+52
ADDRGP4 Controls_StatusBar
ASGNP4
line 1454
;1453:
;1454:	s_controls.smoothmouse.generic.type      = MTYPE_RADIOBUTTON;
ADDRGP4 s_controls+2952
CNSTI4 5
ASGNI4
line 1455
;1455:	s_controls.smoothmouse.generic.flags	 = QMF_SMALLFONT;
ADDRGP4 s_controls+2952+44
CNSTU4 2
ASGNU4
line 1456
;1456:	s_controls.smoothmouse.generic.x	     = SCREEN_WIDTH/2;
ADDRGP4 s_controls+2952+12
CNSTI4 320
ASGNI4
line 1457
;1457:	s_controls.smoothmouse.generic.name	     = "Smooth Mouse";
ADDRGP4 s_controls+2952+4
ADDRGP4 $1097
ASGNP4
line 1458
;1458:	s_controls.smoothmouse.generic.id        = ID_SMOOTHMOUSE;
ADDRGP4 s_controls+2952+8
CNSTI4 41
ASGNI4
line 1459
;1459:	s_controls.smoothmouse.generic.callback  = Controls_MenuEvent;
ADDRGP4 s_controls+2952+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1460
;1460:	s_controls.smoothmouse.generic.statusbar = Controls_StatusBar;
ADDRGP4 s_controls+2952+52
ADDRGP4 Controls_StatusBar
ASGNP4
line 1462
;1461:
;1462:	s_controls.alwaysrun.generic.type      = MTYPE_RADIOBUTTON;
ADDRGP4 s_controls+3020
CNSTI4 5
ASGNI4
line 1463
;1463:	s_controls.alwaysrun.generic.flags	   = QMF_SMALLFONT;
ADDRGP4 s_controls+3020+44
CNSTU4 2
ASGNU4
line 1464
;1464:	s_controls.alwaysrun.generic.x	       = SCREEN_WIDTH/2;
ADDRGP4 s_controls+3020+12
CNSTI4 320
ASGNI4
line 1465
;1465:	s_controls.alwaysrun.generic.name	   = "Always Run";
ADDRGP4 s_controls+3020+4
ADDRGP4 $1111
ASGNP4
line 1466
;1466:	s_controls.alwaysrun.generic.id        = ID_ALWAYSRUN;
ADDRGP4 s_controls+3020+8
CNSTI4 36
ASGNI4
line 1467
;1467:	s_controls.alwaysrun.generic.callback  = Controls_MenuEvent;
ADDRGP4 s_controls+3020+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1468
;1468:	s_controls.alwaysrun.generic.statusbar = Controls_StatusBar;
ADDRGP4 s_controls+3020+52
ADDRGP4 Controls_StatusBar
ASGNP4
line 1470
;1469:
;1470:	s_controls.autoswitch.generic.type      = MTYPE_RADIOBUTTON;
ADDRGP4 s_controls+3152
CNSTI4 5
ASGNI4
line 1471
;1471:	s_controls.autoswitch.generic.flags	    = QMF_SMALLFONT;
ADDRGP4 s_controls+3152+44
CNSTU4 2
ASGNU4
line 1472
;1472:	s_controls.autoswitch.generic.x	        = SCREEN_WIDTH/2;
ADDRGP4 s_controls+3152+12
CNSTI4 320
ASGNI4
line 1473
;1473:	s_controls.autoswitch.generic.name	    = "Autoswitch Weapons";
ADDRGP4 s_controls+3152+4
ADDRGP4 $1125
ASGNP4
line 1474
;1474:	s_controls.autoswitch.generic.id        = ID_AUTOSWITCH;
ADDRGP4 s_controls+3152+8
CNSTI4 37
ASGNI4
line 1475
;1475:	s_controls.autoswitch.generic.callback  = Controls_MenuEvent;
ADDRGP4 s_controls+3152+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1476
;1476:	s_controls.autoswitch.generic.statusbar = Controls_StatusBar;
ADDRGP4 s_controls+3152+52
ADDRGP4 Controls_StatusBar
ASGNP4
line 1478
;1477:
;1478:	s_controls.sensitivity.generic.type	     = MTYPE_SLIDER;
ADDRGP4 s_controls+2872
CNSTI4 1
ASGNI4
line 1479
;1479:	s_controls.sensitivity.generic.x		 = SCREEN_WIDTH/2;
ADDRGP4 s_controls+2872+12
CNSTI4 320
ASGNI4
line 1480
;1480:	s_controls.sensitivity.generic.flags	 = QMF_SMALLFONT;
ADDRGP4 s_controls+2872+44
CNSTU4 2
ASGNU4
line 1481
;1481:	s_controls.sensitivity.generic.name	     = "Mouse Speed";
ADDRGP4 s_controls+2872+4
ADDRGP4 $1139
ASGNP4
line 1482
;1482:	s_controls.sensitivity.generic.id 	     = ID_MOUSESPEED;
ADDRGP4 s_controls+2872+8
CNSTI4 38
ASGNI4
line 1483
;1483:	s_controls.sensitivity.generic.callback  = Controls_MenuEvent;
ADDRGP4 s_controls+2872+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1484
;1484:	s_controls.sensitivity.minvalue		     = 2;
ADDRGP4 s_controls+2872+64
CNSTF4 1073741824
ASGNF4
line 1485
;1485:	s_controls.sensitivity.maxvalue		     = 30;
ADDRGP4 s_controls+2872+68
CNSTF4 1106247680
ASGNF4
line 1486
;1486:	s_controls.sensitivity.generic.statusbar = Controls_StatusBar;
ADDRGP4 s_controls+2872+52
ADDRGP4 Controls_StatusBar
ASGNP4
line 1488
;1487:
;1488:	s_controls.gesture.generic.type	     = MTYPE_ACTION;
ADDRGP4 s_controls+2740
CNSTI4 2
ASGNI4
line 1489
;1489:	s_controls.gesture.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+2740+44
CNSTU4 12548
ASGNU4
line 1490
;1490:	s_controls.gesture.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+2740+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1491
;1491:	s_controls.gesture.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+2740+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1492
;1492:	s_controls.gesture.generic.id        = ID_GESTURE;
ADDRGP4 s_controls+2740+8
CNSTI4 29
ASGNI4
line 1494
;1493:
;1494:	s_controls.chat.generic.type	  = MTYPE_ACTION;
ADDRGP4 s_controls+4396
CNSTI4 2
ASGNI4
line 1495
;1495:	s_controls.chat.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+4396+44
CNSTU4 12548
ASGNU4
line 1496
;1496:	s_controls.chat.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+4396+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1497
;1497:	s_controls.chat.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+4396+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1498
;1498:	s_controls.chat.generic.id        = ID_CHAT;
ADDRGP4 s_controls+4396+8
CNSTI4 30
ASGNI4
line 1500
;1499:
;1500:	s_controls.chat2.generic.type	   = MTYPE_ACTION;
ADDRGP4 s_controls+4460
CNSTI4 2
ASGNI4
line 1501
;1501:	s_controls.chat2.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+4460+44
CNSTU4 12548
ASGNU4
line 1502
;1502:	s_controls.chat2.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+4460+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1503
;1503:	s_controls.chat2.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+4460+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1504
;1504:	s_controls.chat2.generic.id        = ID_CHAT2;
ADDRGP4 s_controls+4460+8
CNSTI4 31
ASGNI4
line 1506
;1505:
;1506:	s_controls.chat3.generic.type	   = MTYPE_ACTION;
ADDRGP4 s_controls+4524
CNSTI4 2
ASGNI4
line 1507
;1507:	s_controls.chat3.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+4524+44
CNSTU4 12548
ASGNU4
line 1508
;1508:	s_controls.chat3.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+4524+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1509
;1509:	s_controls.chat3.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+4524+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1510
;1510:	s_controls.chat3.generic.id        = ID_CHAT3;
ADDRGP4 s_controls+4524+8
CNSTI4 32
ASGNI4
line 1512
;1511:
;1512:	s_controls.chat4.generic.type	   = MTYPE_ACTION;
ADDRGP4 s_controls+4588
CNSTI4 2
ASGNI4
line 1513
;1513:	s_controls.chat4.generic.flags     = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_GRAYED|QMF_HIDDEN;
ADDRGP4 s_controls+4588+44
CNSTU4 12548
ASGNU4
line 1514
;1514:	s_controls.chat4.generic.callback  = Controls_ActionEvent;
ADDRGP4 s_controls+4588+48
ADDRGP4 Controls_ActionEvent
ASGNP4
line 1515
;1515:	s_controls.chat4.generic.ownerdraw = Controls_DrawKeyBinding;
ADDRGP4 s_controls+4588+56
ADDRGP4 Controls_DrawKeyBinding
ASGNP4
line 1516
;1516:	s_controls.chat4.generic.id        = ID_CHAT4;
ADDRGP4 s_controls+4588+8
CNSTI4 33
ASGNI4
line 1518
;1517:
;1518:	s_controls.joyenable.generic.type      = MTYPE_RADIOBUTTON;
ADDRGP4 s_controls+4652
CNSTI4 5
ASGNI4
line 1519
;1519:	s_controls.joyenable.generic.flags	   = QMF_SMALLFONT;
ADDRGP4 s_controls+4652+44
CNSTU4 2
ASGNU4
line 1520
;1520:	s_controls.joyenable.generic.x	       = SCREEN_WIDTH/2;
ADDRGP4 s_controls+4652+12
CNSTI4 320
ASGNI4
line 1521
;1521:	s_controls.joyenable.generic.name	   = "Joystick";
ADDRGP4 s_controls+4652+4
ADDRGP4 $1202
ASGNP4
line 1522
;1522:	s_controls.joyenable.generic.id        = ID_JOYENABLE;
ADDRGP4 s_controls+4652+8
CNSTI4 39
ASGNI4
line 1523
;1523:	s_controls.joyenable.generic.callback  = Controls_MenuEvent;
ADDRGP4 s_controls+4652+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1524
;1524:	s_controls.joyenable.generic.statusbar = Controls_StatusBar;
ADDRGP4 s_controls+4652+52
ADDRGP4 Controls_StatusBar
ASGNP4
line 1526
;1525:
;1526:	s_controls.joythreshold.generic.type	  = MTYPE_SLIDER;
ADDRGP4 s_controls+4720
CNSTI4 1
ASGNI4
line 1527
;1527:	s_controls.joythreshold.generic.x		  = SCREEN_WIDTH/2;
ADDRGP4 s_controls+4720+12
CNSTI4 320
ASGNI4
line 1528
;1528:	s_controls.joythreshold.generic.flags	  = QMF_SMALLFONT;
ADDRGP4 s_controls+4720+44
CNSTU4 2
ASGNU4
line 1529
;1529:	s_controls.joythreshold.generic.name	  = "Joystick Threshold";
ADDRGP4 s_controls+4720+4
ADDRGP4 $1216
ASGNP4
line 1530
;1530:	s_controls.joythreshold.generic.id 	      = ID_JOYTHRESHOLD;
ADDRGP4 s_controls+4720+8
CNSTI4 40
ASGNI4
line 1531
;1531:	s_controls.joythreshold.generic.callback  = Controls_MenuEvent;
ADDRGP4 s_controls+4720+48
ADDRGP4 Controls_MenuEvent
ASGNP4
line 1532
;1532:	s_controls.joythreshold.minvalue		  = 0.05f;
ADDRGP4 s_controls+4720+64
CNSTF4 1028443341
ASGNF4
line 1533
;1533:	s_controls.joythreshold.maxvalue		  = 0.75f;
ADDRGP4 s_controls+4720+68
CNSTF4 1061158912
ASGNF4
line 1534
;1534:	s_controls.joythreshold.generic.statusbar = Controls_StatusBar;
ADDRGP4 s_controls+4720+52
ADDRGP4 Controls_StatusBar
ASGNP4
line 1536
;1535:
;1536:	s_controls.name.generic.type	= MTYPE_PTEXT;
ADDRGP4 s_controls+5004
CNSTI4 9
ASGNI4
line 1537
;1537:	s_controls.name.generic.flags	= QMF_CENTER_JUSTIFY|QMF_INACTIVE;
ADDRGP4 s_controls+5004+44
CNSTU4 16392
ASGNU4
line 1538
;1538:	s_controls.name.generic.x		= 320;
ADDRGP4 s_controls+5004+12
CNSTI4 320
ASGNI4
line 1539
;1539:	s_controls.name.generic.y		= 440;
ADDRGP4 s_controls+5004+16
CNSTI4 440
ASGNI4
line 1540
;1540:	s_controls.name.string			= playername;
ADDRGP4 s_controls+5004+64
ADDRGP4 $649
ASGNP4
line 1541
;1541:	s_controls.name.style			= UI_CENTER;
ADDRGP4 s_controls+5004+68
CNSTI4 1
ASGNI4
line 1542
;1542:	s_controls.name.color			= text_color_normal;
ADDRGP4 s_controls+5004+72
ADDRGP4 text_color_normal
ASGNP4
line 1544
;1543:
;1544:	Menu_AddItem( &s_controls.menu, &s_controls.banner );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+288
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1545
;1545:	Menu_AddItem( &s_controls.menu, &s_controls.framel );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+364
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1546
;1546:	Menu_AddItem( &s_controls.menu, &s_controls.framer );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+456
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1547
;1547:	Menu_AddItem( &s_controls.menu, &s_controls.player );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+548
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1548
;1548:	Menu_AddItem( &s_controls.menu, &s_controls.name );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+5004
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1550
;1549:
;1550:	Menu_AddItem( &s_controls.menu, &s_controls.looking );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+716
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1551
;1551:	Menu_AddItem( &s_controls.menu, &s_controls.movement );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+640
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1552
;1552:	Menu_AddItem( &s_controls.menu, &s_controls.weapons );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+792
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1553
;1553:	Menu_AddItem( &s_controls.menu, &s_controls.misc );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+868
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1555
;1554:
;1555:	Menu_AddItem( &s_controls.menu, &s_controls.sensitivity );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2872
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1556
;1556:	Menu_AddItem( &s_controls.menu, &s_controls.smoothmouse );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2952
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1557
;1557:	Menu_AddItem( &s_controls.menu, &s_controls.invertmouse );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2804
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1558
;1558:	Menu_AddItem( &s_controls.menu, &s_controls.lookup );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2352
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1559
;1559:	Menu_AddItem( &s_controls.menu, &s_controls.lookdown );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2416
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1560
;1560:	Menu_AddItem( &s_controls.menu, &s_controls.mouselook );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2480
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1561
;1561:	Menu_AddItem( &s_controls.menu, &s_controls.freelook );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2544
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1562
;1562:	Menu_AddItem( &s_controls.menu, &s_controls.centerview );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2612
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1563
;1563:	Menu_AddItem( &s_controls.menu, &s_controls.zoomview );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2676
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1564
;1564:	Menu_AddItem( &s_controls.menu, &s_controls.joyenable );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+4652
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1565
;1565:	Menu_AddItem( &s_controls.menu, &s_controls.joythreshold );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+4720
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1567
;1566:
;1567:	Menu_AddItem( &s_controls.menu, &s_controls.alwaysrun );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+3020
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1568
;1568:	Menu_AddItem( &s_controls.menu, &s_controls.run );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1520
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1569
;1569:	Menu_AddItem( &s_controls.menu, &s_controls.walkforward );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+944
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1570
;1570:	Menu_AddItem( &s_controls.menu, &s_controls.backpedal );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1008
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1571
;1571:	Menu_AddItem( &s_controls.menu, &s_controls.stepleft );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1072
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1572
;1572:	Menu_AddItem( &s_controls.menu, &s_controls.stepright );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1136
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1573
;1573:	Menu_AddItem( &s_controls.menu, &s_controls.moveup );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1200
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1574
;1574:	Menu_AddItem( &s_controls.menu, &s_controls.movedown );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1264
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1575
;1575:	Menu_AddItem( &s_controls.menu, &s_controls.turnleft );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1328
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1576
;1576:	Menu_AddItem( &s_controls.menu, &s_controls.turnright );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1392
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1577
;1577:	Menu_AddItem( &s_controls.menu, &s_controls.sidestep );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1456
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1579
;1578:
;1579:	Menu_AddItem( &s_controls.menu, &s_controls.attack );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2160
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1580
;1580:	Menu_AddItem( &s_controls.menu, &s_controls.nextweapon );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2288
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1581
;1581:	Menu_AddItem( &s_controls.menu, &s_controls.prevweapon );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2224
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1582
;1582:	Menu_AddItem( &s_controls.menu, &s_controls.autoswitch );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+3152
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1583
;1583:	Menu_AddItem( &s_controls.menu, &s_controls.chainsaw );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1648
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1584
;1584:	Menu_AddItem( &s_controls.menu, &s_controls.machinegun );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1584
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1585
;1585:	Menu_AddItem( &s_controls.menu, &s_controls.shotgun );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1712
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1586
;1586:	Menu_AddItem( &s_controls.menu, &s_controls.grenadelauncher );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1776
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1587
;1587:	Menu_AddItem( &s_controls.menu, &s_controls.rocketlauncher );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1840
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1588
;1588:	Menu_AddItem( &s_controls.menu, &s_controls.lightning );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1904
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1589
;1589:	Menu_AddItem( &s_controls.menu, &s_controls.railgun );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+1968
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1590
;1590:	Menu_AddItem( &s_controls.menu, &s_controls.plasma );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2032
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1591
;1591:	Menu_AddItem( &s_controls.menu, &s_controls.bfg );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2096
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1593
;1592:
;1593:	Menu_AddItem( &s_controls.menu, &s_controls.showscores );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+3088
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1594
;1594:	Menu_AddItem( &s_controls.menu, &s_controls.useitem );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+3220
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1595
;1595:	Menu_AddItem( &s_controls.menu, &s_controls.gesture );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+2740
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1596
;1596:	Menu_AddItem( &s_controls.menu, &s_controls.chat );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+4396
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1597
;1597:	Menu_AddItem( &s_controls.menu, &s_controls.chat2 );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+4460
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1598
;1598:	Menu_AddItem( &s_controls.menu, &s_controls.chat3 );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+4524
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1599
;1599:	Menu_AddItem( &s_controls.menu, &s_controls.chat4 );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+4588
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1601
;1600:
;1601:	Menu_AddItem( &s_controls.menu, &s_controls.back );
ADDRGP4 s_controls
ARGP4
ADDRGP4 s_controls+4912
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1603
;1602:
;1603:	trap_Cvar_VariableStringBuffer( "name", s_controls.name.string, 16 );
ADDRGP4 $1292
ARGP4
ADDRGP4 s_controls+5004+64
INDIRP4
ARGP4
CNSTI4 16
ARGI4
ADDRGP4 trap_Cvar_VariableStringBuffer
CALLV
pop
line 1604
;1604:	Q_CleanStr( s_controls.name.string );
ADDRGP4 s_controls+5004+64
INDIRP4
ARGP4
ADDRGP4 Q_CleanStr
CALLP4
pop
line 1607
;1605:
;1606:	// initialize the configurable cvars
;1607:	Controls_InitCvars();
ADDRGP4 Controls_InitCvars
CALLV
pop
line 1610
;1608:
;1609:	// initialize the current config
;1610:	Controls_GetConfig();
ADDRGP4 Controls_GetConfig
CALLV
pop
line 1613
;1611:
;1612:	// intialize the model
;1613:	Controls_InitModel();
ADDRGP4 Controls_InitModel
CALLV
pop
line 1616
;1614:
;1615:	// intialize the weapons
;1616:	Controls_InitWeapons ();
ADDRGP4 Controls_InitWeapons
CALLV
pop
line 1619
;1617:
;1618:	// initial default section
;1619:	s_controls.section = C_LOOKING;
ADDRGP4 s_controls+4800
CNSTI4 1
ASGNI4
line 1622
;1620:
;1621:	// update the ui
;1622:	Controls_Update();
ADDRGP4 Controls_Update
CALLV
pop
line 1623
;1623:}
LABELV $648
endproc Controls_MenuInit 0 12
export Controls_Cache
proc Controls_Cache 0 4
line 1631
;1624:
;1625:
;1626:/*
;1627:=================
;1628:Controls_Cache
;1629:=================
;1630:*/
;1631:void Controls_Cache( void ) {
line 1632
;1632:	trap_R_RegisterShaderNoMip( ART_BACK0 );
ADDRGP4 $770
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 1633
;1633:	trap_R_RegisterShaderNoMip( ART_BACK1 );
ADDRGP4 $787
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 1634
;1634:	trap_R_RegisterShaderNoMip( ART_FRAMEL );
ADDRGP4 $670
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 1635
;1635:	trap_R_RegisterShaderNoMip( ART_FRAMER );
ADDRGP4 $684
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 1636
;1636:}
LABELV $1298
endproc Controls_Cache 0 4
export UI_ControlsMenu
proc UI_ControlsMenu 0 4
line 1644
;1637:
;1638:
;1639:/*
;1640:=================
;1641:UI_ControlsMenu
;1642:=================
;1643:*/
;1644:void UI_ControlsMenu( void ) {
line 1645
;1645:	Controls_MenuInit();
ADDRGP4 Controls_MenuInit
CALLV
pop
line 1646
;1646:	UI_PushMenu( &s_controls.menu );
ADDRGP4 s_controls
ARGP4
ADDRGP4 UI_PushMenu
CALLV
pop
line 1647
;1647:}
LABELV $1299
endproc UI_ControlsMenu 0 4
bss
align 4
LABELV s_controls
skip 5080
import UI_RankStatusMenu
import RankStatus_Cache
import UI_SignupMenu
import Signup_Cache
import UI_LoginMenu
import Login_Cache
import UI_RankingsMenu
import Rankings_Cache
import Rankings_DrawPassword
import Rankings_DrawName
import Rankings_DrawText
import UI_InitGameinfo
import UI_SPUnlockMedals_f
import UI_SPUnlock_f
import UI_GetAwardLevel
import UI_LogAwardData
import UI_NewGame
import UI_GetCurrentGame
import UI_CanShowTierVideo
import UI_ShowTierVideo
import UI_TierCompleted
import UI_SetBestScore
import UI_GetBestScore
import UI_GetNumBots
import UI_GetBotInfoByName
import UI_GetBotInfoByNumber
import UI_GetNumSPTiers
import UI_GetNumSPArenas
import UI_GetNumArenas
import UI_GetSpecialArenaInfo
import UI_GetArenaInfoByMap
import UI_GetArenaInfoByNumber
import UI_NetworkOptionsMenu
import UI_NetworkOptionsMenu_Cache
import UI_SoundOptionsMenu
import UI_SoundOptionsMenu_Cache
import UI_DisplayOptionsMenu
import UI_DisplayOptionsMenu_Cache
import UI_SaveConfigMenu
import UI_SaveConfigMenu_Cache
import UI_LoadConfigMenu
import UI_LoadConfig_Cache
import UI_TeamOrdersMenu_Cache
import UI_TeamOrdersMenu_f
import UI_TeamOrdersMenu
import UI_RemoveBotsMenu
import UI_RemoveBots_Cache
import UI_AddBotsMenu
import UI_AddBots_Cache
import trap_SetPbClStatus
import trap_VerifyCDKey
import trap_SetCDKey
import trap_GetCDKey
import trap_MemoryRemaining
import trap_LAN_GetPingInfo
import trap_LAN_GetPing
import trap_LAN_ClearPing
import trap_LAN_ServerStatus
import trap_LAN_LoadCachedServers
import trap_LAN_SaveCachedServers
import trap_LAN_GetPingQueueCount
import trap_LAN_GetServerInfo
import trap_LAN_GetServerAddressString
import trap_LAN_GetServerCount
import trap_GetConfigString
import trap_GetGlconfig
import trap_GetClientState
import trap_GetClipboardData
import trap_Key_SetCatcher
import trap_Key_GetCatcher
import trap_Key_ClearStates
import trap_Key_SetOverstrikeMode
import trap_Key_GetOverstrikeMode
import trap_Key_IsDown
import trap_Key_SetBinding
import trap_Key_GetBindingBuf
import trap_Key_KeynumToStringBuf
import trap_S_RegisterSound
import trap_S_StartLocalSound
import trap_CM_LerpTag
import trap_UpdateScreen
import trap_R_DrawStretchPic
import trap_R_SetColor
import trap_R_RenderScene
import trap_R_AddLightToScene
import trap_R_AddPolyToScene
import trap_R_AddRefEntityToScene
import trap_R_ClearScene
import trap_R_RegisterShaderNoMip
import trap_R_RegisterSkin
import trap_R_RegisterModel
import trap_FS_Seek
import trap_FS_GetFileList
import trap_FS_FCloseFile
import trap_FS_Write
import trap_FS_Read
import trap_FS_FOpenFile
import trap_Cmd_ExecuteText
import trap_Argv
import trap_Argc
import trap_Cvar_InfoStringBuffer
import trap_Cvar_Create
import trap_Cvar_Reset
import trap_Cvar_SetValue
import trap_Cvar_VariableStringBuffer
import trap_Cvar_VariableValue
import trap_Cvar_Set
import trap_Cvar_Update
import trap_Cvar_Register
import trap_Milliseconds
import trap_Error
import trap_Print
import UI_SPSkillMenu_Cache
import UI_SPSkillMenu
import UI_SPPostgameMenu_f
import UI_SPPostgameMenu_Cache
import UI_SPArena_Start
import UI_SPLevelMenu_ReInit
import UI_SPLevelMenu_f
import UI_SPLevelMenu
import UI_SPLevelMenu_Cache
import uis
import m_entersound
import UI_StartDemoLoop
import UI_Cvar_VariableString
import UI_Argv
import UI_ForceMenuOff
import UI_PopMenu
import UI_PushMenu
import UI_SetActiveMenu
import UI_IsFullscreen
import UI_DrawTextBox
import UI_AdjustFrom640
import UI_CursorInRect
import UI_DrawChar
import UI_DrawString
import UI_ProportionalStringWidth
import UI_DrawProportionalString_AutoWrapped
import UI_DrawProportionalString
import UI_ProportionalSizeScale
import UI_DrawBannerString
import UI_LerpColor
import UI_SetColor
import UI_UpdateScreen
import UI_DrawRect
import UI_FillRect
import UI_DrawHandlePic
import UI_DrawNamedPic
import UI_ClampCvar
import UI_ConsoleCommand
import UI_Refresh
import UI_MouseEvent
import UI_KeyEvent
import UI_Shutdown
import UI_Init
import UI_RegisterClientModelname
import UI_PlayerInfo_SetInfo
import UI_PlayerInfo_SetModel
import UI_DrawPlayer
import DriverInfo_Cache
import GraphicsOptions_Cache
import UI_GraphicsOptionsMenu
import ServerInfo_Cache
import UI_ServerInfoMenu
import UI_BotSelectMenu_Cache
import UI_BotSelectMenu
import ServerOptions_Cache
import StartServer_Cache
import UI_StartServerMenu
import ArenaServers_Cache
import UI_ArenaServersMenu
import SpecifyServer_Cache
import UI_SpecifyServerMenu
import SpecifyLeague_Cache
import UI_SpecifyLeagueMenu
import Preferences_Cache
import UI_PreferencesMenu
import PlayerSettings_Cache
import UI_PlayerSettingsMenu
import PlayerModel_Cache
import UI_PlayerModelMenu
import UI_CDKeyMenu_f
import UI_CDKeyMenu_Cache
import UI_CDKeyMenu
import UI_ModsMenu_Cache
import UI_ModsMenu
import UI_CinematicsMenu_Cache
import UI_CinematicsMenu_f
import UI_CinematicsMenu
import Demos_Cache
import UI_DemosMenu
import UI_DrawConnectScreen
import TeamMain_Cache
import UI_TeamMainMenu
import UI_SetupMenu
import UI_SetupMenu_Cache
import UI_Message
import UI_ConfirmMenu_Style
import UI_ConfirmMenu
import ConfirmMenu_Cache
import UI_InGameMenu
import InGame_Cache
import UI_CreditMenu
import UI_UpdateCvars
import UI_RegisterCvars
import UI_MainMenu
import MainMenu_Cache
import MenuField_Key
import MenuField_Draw
import MenuField_Init
import MField_Draw
import MField_CharEvent
import MField_KeyDownEvent
import MField_Clear
import UI_VideoCheck
import ui_medalSounds
import ui_medalPicNames
import ui_medalNames
import text_color_highlight
import text_color_normal
import text_color_disabled
import listbar_color
import list_color
import name_color
import color_dim
import color_red
import color_orange
import color_blue
import color_yellow
import color_white
import color_black
import menu_dim_color
import menu_black_color
import menu_red_color
import menu_highlight_color
import menu_dark_color
import menu_grayed_color
import menu_text_color
import weaponChangeSound
import menu_null_sound
import menu_buzz_sound
import menu_out_sound
import menu_move_sound
import menu_in_sound
import ScrollList_Key
import ScrollList_Draw
import Bitmap_Draw
import Bitmap_Init
import Menu_DefaultKey
import Menu_SetCursorToItem
import Menu_SetCursor
import Menu_ActivateItem
import Menu_ItemAtCursor
import Menu_Draw
import Menu_AdjustCursor
import Menu_AddItem
import Menu_Focus
import Menu_Cache
import ui_cdkeychecked
import ui_cdkey
import ui_server16
import ui_server15
import ui_server14
import ui_server13
import ui_server12
import ui_server11
import ui_server10
import ui_server9
import ui_server8
import ui_server7
import ui_server6
import ui_server5
import ui_server4
import ui_server3
import ui_server2
import ui_server1
import ui_marks
import ui_drawCrosshairNames
import ui_drawCrosshair
import ui_brassTime
import ui_browserShowEmpty
import ui_browserShowFull
import ui_browserSortKey
import ui_browserGameType
import ui_browserMaster
import ui_spSelection
import ui_spSkill
import ui_spVideos
import ui_spAwards
import ui_spScores5
import ui_spScores4
import ui_spScores3
import ui_spScores2
import ui_spScores1
import ui_botsFile
import ui_arenasFile
import ui_ctf_friendly
import ui_ctf_timelimit
import ui_ctf_capturelimit
import ui_team_friendly
import ui_team_timelimit
import ui_team_fraglimit
import ui_tourney_timelimit
import ui_tourney_fraglimit
import ui_ffa_timelimit
import ui_ffa_fraglimit
import BigEndian
import replace1
import Q_stradd
import Q_strcpy
import BG_StripColor
import BG_CleanName
import DecodedString
import EncodedString
import strtok
import Q_stristr
import BG_sprintf
import BG_PlayerTouchesItem
import BG_PlayerStateToEntityStateExtraPolate
import BG_PlayerStateToEntityState
import BG_TouchJumpPad
import BG_AddPredictableEventToPlayerstate
import BG_EvaluateTrajectoryDelta
import BG_EvaluateTrajectory
import BG_CanItemBeGrabbed
import BG_FindItemForHoldable
import BG_FindItemForPowerup
import BG_FindItemForWeapon
import BG_FindItem
import bg_numItems
import bg_itemlist
import Pmove
import PM_UpdateViewAngles
import gt
import Com_Printf
import Com_Error
import Info_NextPair
import Info_ValidateKeyValue
import Info_Validate
import Info_SetValueForKey_Big
import Info_SetValueForKey
import Info_ValueForKey
import va
import Q_CleanStr
import Q_PrintStrlen
import Q_strcat
import Q_strncpyz
import Q_strrchr
import Q_strupr
import Q_strlwr
import Q_stricmpn
import Q_strncmp
import Q_stricmp
import Q_isalpha
import Q_isupper
import Q_islower
import Q_isprint
import locase
import Com_sprintf
import Parse3DMatrix
import Parse2DMatrix
import Parse1DMatrix
import SkipRestOfLine
import SkipBracedSection
import COM_MatchToken
import Com_Split
import COM_ParseSep
import Com_InitSeparators
import SkipTillSeparators
import COM_ParseWarning
import COM_ParseError
import COM_Compress
import COM_ParseExt
import COM_Parse
import COM_GetCurrentParseLine
import COM_BeginParseSession
import COM_DefaultExtension
import COM_StripExtension
import COM_SkipPath
import Com_Clamp
import PerpendicularVector
import AngleVectors
import MatrixMultiply
import MakeNormalVectors
import RotateAroundDirection
import RotatePointAroundVector
import ProjectPointOnPlane
import PlaneFromPoints
import AngleDelta
import AngleNormalize180
import AngleNormalize360
import AnglesSubtract
import AngleSubtract
import LerpAngle
import AngleMod
import BoxOnPlaneSide
import SetPlaneSignbits
import AxisCopy
import AxisClear
import AnglesToAxis
import vectoangles
import Q_crandom
import Q_random
import Q_rand
import Q_acos
import Q_log2
import VectorRotate
import Vector4Scale
import VectorNormalize2
import VectorNormalize
import CrossProduct
import VectorInverse
import VectorNormalizeFast
import DistanceSquared
import Distance
import VectorLengthSquared
import VectorLength
import VectorCompare
import AddPointToBounds
import ClearBounds
import RadiusFromBounds
import NormalizeColor
import ColorBytes4
import ColorBytes3
import _VectorMA
import _VectorScale
import _VectorCopy
import _VectorAdd
import _VectorSubtract
import _DotProduct
import ByteToDir
import DirToByte
import ClampShort
import ClampChar
import Q_rsqrt
import Q_fabs
import axisDefault
import vec3_origin
import g_color_table
import colorDkGrey
import colorMdGrey
import colorLtGrey
import colorWhite
import colorCyan
import colorMagenta
import colorYellow
import colorBlue
import colorGreen
import colorRed
import colorBlack
import bytedirs
import Hunk_Alloc
import acos
import fabs
import abs
import tan
import atan2
import cos
import sin
import sqrt
import floor
import ceil
import memcpy
import memset
import memmove
import Q_sscanf
import ED_vsprintf
import atoi
import atof
import toupper
import tolower
import strncpy
import strstr
import strchr
import strcmp
import strcpy
import strcat
import strlen
import rand
import srand
import qsort
lit
align 1
LABELV $1292
byte 1 110
byte 1 97
byte 1 109
byte 1 101
byte 1 0
align 1
LABELV $1216
byte 1 74
byte 1 111
byte 1 121
byte 1 115
byte 1 116
byte 1 105
byte 1 99
byte 1 107
byte 1 32
byte 1 84
byte 1 104
byte 1 114
byte 1 101
byte 1 115
byte 1 104
byte 1 111
byte 1 108
byte 1 100
byte 1 0
align 1
LABELV $1202
byte 1 74
byte 1 111
byte 1 121
byte 1 115
byte 1 116
byte 1 105
byte 1 99
byte 1 107
byte 1 0
align 1
LABELV $1139
byte 1 77
byte 1 111
byte 1 117
byte 1 115
byte 1 101
byte 1 32
byte 1 83
byte 1 112
byte 1 101
byte 1 101
byte 1 100
byte 1 0
align 1
LABELV $1125
byte 1 65
byte 1 117
byte 1 116
byte 1 111
byte 1 115
byte 1 119
byte 1 105
byte 1 116
byte 1 99
byte 1 104
byte 1 32
byte 1 87
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 115
byte 1 0
align 1
LABELV $1111
byte 1 65
byte 1 108
byte 1 119
byte 1 97
byte 1 121
byte 1 115
byte 1 32
byte 1 82
byte 1 117
byte 1 110
byte 1 0
align 1
LABELV $1097
byte 1 83
byte 1 109
byte 1 111
byte 1 111
byte 1 116
byte 1 104
byte 1 32
byte 1 77
byte 1 111
byte 1 117
byte 1 115
byte 1 101
byte 1 0
align 1
LABELV $1083
byte 1 73
byte 1 110
byte 1 118
byte 1 101
byte 1 114
byte 1 116
byte 1 32
byte 1 77
byte 1 111
byte 1 117
byte 1 115
byte 1 101
byte 1 0
align 1
LABELV $1033
byte 1 70
byte 1 114
byte 1 101
byte 1 101
byte 1 32
byte 1 76
byte 1 111
byte 1 111
byte 1 107
byte 1 0
align 1
LABELV $787
byte 1 109
byte 1 101
byte 1 110
byte 1 117
byte 1 47
byte 1 97
byte 1 114
byte 1 116
byte 1 47
byte 1 98
byte 1 97
byte 1 99
byte 1 107
byte 1 95
byte 1 49
byte 1 0
align 1
LABELV $770
byte 1 109
byte 1 101
byte 1 110
byte 1 117
byte 1 47
byte 1 97
byte 1 114
byte 1 116
byte 1 47
byte 1 98
byte 1 97
byte 1 99
byte 1 107
byte 1 95
byte 1 48
byte 1 0
align 1
LABELV $762
byte 1 77
byte 1 73
byte 1 83
byte 1 67
byte 1 0
align 1
LABELV $744
byte 1 83
byte 1 72
byte 1 79
byte 1 79
byte 1 84
byte 1 0
align 1
LABELV $726
byte 1 77
byte 1 79
byte 1 86
byte 1 69
byte 1 0
align 1
LABELV $708
byte 1 76
byte 1 79
byte 1 79
byte 1 75
byte 1 0
align 1
LABELV $684
byte 1 109
byte 1 101
byte 1 110
byte 1 117
byte 1 47
byte 1 97
byte 1 114
byte 1 116
byte 1 47
byte 1 102
byte 1 114
byte 1 97
byte 1 109
byte 1 101
byte 1 49
byte 1 95
byte 1 114
byte 1 0
align 1
LABELV $670
byte 1 109
byte 1 101
byte 1 110
byte 1 117
byte 1 47
byte 1 97
byte 1 114
byte 1 116
byte 1 47
byte 1 102
byte 1 114
byte 1 97
byte 1 109
byte 1 101
byte 1 50
byte 1 95
byte 1 108
byte 1 0
align 1
LABELV $662
byte 1 67
byte 1 79
byte 1 78
byte 1 84
byte 1 82
byte 1 79
byte 1 76
byte 1 83
byte 1 0
align 1
LABELV $605
byte 1 83
byte 1 69
byte 1 84
byte 1 32
byte 1 84
byte 1 79
byte 1 32
byte 1 68
byte 1 69
byte 1 70
byte 1 65
byte 1 85
byte 1 76
byte 1 84
byte 1 83
byte 1 63
byte 1 0
align 1
LABELV $581
byte 1 99
byte 1 111
byte 1 110
byte 1 116
byte 1 114
byte 1 111
byte 1 108
byte 1 115
byte 1 32
byte 1 116
byte 1 111
byte 1 32
byte 1 116
byte 1 104
byte 1 101
byte 1 105
byte 1 114
byte 1 32
byte 1 100
byte 1 101
byte 1 102
byte 1 97
byte 1 117
byte 1 108
byte 1 116
byte 1 32
byte 1 118
byte 1 97
byte 1 108
byte 1 117
byte 1 101
byte 1 115
byte 1 46
byte 1 0
align 1
LABELV $580
byte 1 87
byte 1 65
byte 1 82
byte 1 78
byte 1 73
byte 1 78
byte 1 71
byte 1 58
byte 1 32
byte 1 84
byte 1 104
byte 1 105
byte 1 115
byte 1 32
byte 1 119
byte 1 105
byte 1 108
byte 1 108
byte 1 32
byte 1 114
byte 1 101
byte 1 115
byte 1 101
byte 1 116
byte 1 32
byte 1 97
byte 1 108
byte 1 108
byte 1 0
align 1
LABELV $565
byte 1 0
align 1
LABELV $488
byte 1 105
byte 1 110
byte 1 95
byte 1 114
byte 1 101
byte 1 115
byte 1 116
byte 1 97
byte 1 114
byte 1 116
byte 1 10
byte 1 0
align 1
LABELV $413
byte 1 109
byte 1 111
byte 1 100
byte 1 101
byte 1 108
byte 1 0
align 1
LABELV $411
byte 1 85
byte 1 115
byte 1 101
byte 1 32
byte 1 65
byte 1 114
byte 1 114
byte 1 111
byte 1 119
byte 1 32
byte 1 75
byte 1 101
byte 1 121
byte 1 115
byte 1 32
byte 1 111
byte 1 114
byte 1 32
byte 1 67
byte 1 76
byte 1 73
byte 1 67
byte 1 75
byte 1 32
byte 1 116
byte 1 111
byte 1 32
byte 1 99
byte 1 104
byte 1 97
byte 1 110
byte 1 103
byte 1 101
byte 1 0
align 1
LABELV $405
byte 1 80
byte 1 114
byte 1 101
byte 1 115
byte 1 115
byte 1 32
byte 1 66
byte 1 65
byte 1 67
byte 1 75
byte 1 83
byte 1 80
byte 1 65
byte 1 67
byte 1 69
byte 1 32
byte 1 116
byte 1 111
byte 1 32
byte 1 99
byte 1 108
byte 1 101
byte 1 97
byte 1 114
byte 1 0
align 1
LABELV $404
byte 1 80
byte 1 114
byte 1 101
byte 1 115
byte 1 115
byte 1 32
byte 1 69
byte 1 78
byte 1 84
byte 1 69
byte 1 82
byte 1 32
byte 1 111
byte 1 114
byte 1 32
byte 1 67
byte 1 76
byte 1 73
byte 1 67
byte 1 75
byte 1 32
byte 1 116
byte 1 111
byte 1 32
byte 1 99
byte 1 104
byte 1 97
byte 1 110
byte 1 103
byte 1 101
byte 1 0
align 1
LABELV $403
byte 1 87
byte 1 97
byte 1 105
byte 1 116
byte 1 105
byte 1 110
byte 1 103
byte 1 32
byte 1 102
byte 1 111
byte 1 114
byte 1 32
byte 1 110
byte 1 101
byte 1 119
byte 1 32
byte 1 107
byte 1 101
byte 1 121
byte 1 32
byte 1 46
byte 1 46
byte 1 46
byte 1 32
byte 1 69
byte 1 83
byte 1 67
byte 1 65
byte 1 80
byte 1 69
byte 1 32
byte 1 116
byte 1 111
byte 1 32
byte 1 99
byte 1 97
byte 1 110
byte 1 99
byte 1 101
byte 1 108
byte 1 0
align 1
LABELV $396
byte 1 32
byte 1 111
byte 1 114
byte 1 32
byte 1 0
align 1
LABELV $392
byte 1 63
byte 1 63
byte 1 63
byte 1 0
align 1
LABELV $147
byte 1 99
byte 1 108
byte 1 95
byte 1 102
byte 1 114
byte 1 101
byte 1 101
byte 1 108
byte 1 111
byte 1 111
byte 1 107
byte 1 0
align 1
LABELV $146
byte 1 109
byte 1 95
byte 1 102
byte 1 105
byte 1 108
byte 1 116
byte 1 101
byte 1 114
byte 1 0
align 1
LABELV $145
byte 1 106
byte 1 111
byte 1 121
byte 1 95
byte 1 116
byte 1 104
byte 1 114
byte 1 101
byte 1 115
byte 1 104
byte 1 111
byte 1 108
byte 1 100
byte 1 0
align 1
LABELV $144
byte 1 105
byte 1 110
byte 1 95
byte 1 106
byte 1 111
byte 1 121
byte 1 115
byte 1 116
byte 1 105
byte 1 99
byte 1 107
byte 1 0
align 1
LABELV $143
byte 1 115
byte 1 101
byte 1 110
byte 1 115
byte 1 105
byte 1 116
byte 1 105
byte 1 118
byte 1 105
byte 1 116
byte 1 121
byte 1 0
align 1
LABELV $142
byte 1 99
byte 1 103
byte 1 95
byte 1 97
byte 1 117
byte 1 116
byte 1 111
byte 1 115
byte 1 119
byte 1 105
byte 1 116
byte 1 99
byte 1 104
byte 1 0
align 1
LABELV $141
byte 1 109
byte 1 95
byte 1 112
byte 1 105
byte 1 116
byte 1 99
byte 1 104
byte 1 0
align 1
LABELV $140
byte 1 99
byte 1 108
byte 1 95
byte 1 114
byte 1 117
byte 1 110
byte 1 0
align 1
LABELV $139
byte 1 99
byte 1 104
byte 1 97
byte 1 116
byte 1 32
byte 1 45
byte 1 32
byte 1 97
byte 1 116
byte 1 116
byte 1 97
byte 1 99
byte 1 107
byte 1 101
byte 1 114
byte 1 0
align 1
LABELV $138
byte 1 109
byte 1 101
byte 1 115
byte 1 115
byte 1 97
byte 1 103
byte 1 101
byte 1 109
byte 1 111
byte 1 100
byte 1 101
byte 1 52
byte 1 0
align 1
LABELV $137
byte 1 99
byte 1 104
byte 1 97
byte 1 116
byte 1 32
byte 1 45
byte 1 32
byte 1 116
byte 1 97
byte 1 114
byte 1 103
byte 1 101
byte 1 116
byte 1 0
align 1
LABELV $136
byte 1 109
byte 1 101
byte 1 115
byte 1 115
byte 1 97
byte 1 103
byte 1 101
byte 1 109
byte 1 111
byte 1 100
byte 1 101
byte 1 51
byte 1 0
align 1
LABELV $135
byte 1 99
byte 1 104
byte 1 97
byte 1 116
byte 1 32
byte 1 45
byte 1 32
byte 1 116
byte 1 101
byte 1 97
byte 1 109
byte 1 0
align 1
LABELV $134
byte 1 109
byte 1 101
byte 1 115
byte 1 115
byte 1 97
byte 1 103
byte 1 101
byte 1 109
byte 1 111
byte 1 100
byte 1 101
byte 1 50
byte 1 0
align 1
LABELV $133
byte 1 99
byte 1 104
byte 1 97
byte 1 116
byte 1 0
align 1
LABELV $132
byte 1 109
byte 1 101
byte 1 115
byte 1 115
byte 1 97
byte 1 103
byte 1 101
byte 1 109
byte 1 111
byte 1 100
byte 1 101
byte 1 0
align 1
LABELV $131
byte 1 103
byte 1 101
byte 1 115
byte 1 116
byte 1 117
byte 1 114
byte 1 101
byte 1 0
align 1
LABELV $130
byte 1 43
byte 1 98
byte 1 117
byte 1 116
byte 1 116
byte 1 111
byte 1 110
byte 1 51
byte 1 0
align 1
LABELV $129
byte 1 110
byte 1 101
byte 1 120
byte 1 116
byte 1 32
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 0
align 1
LABELV $128
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 110
byte 1 101
byte 1 120
byte 1 116
byte 1 0
align 1
LABELV $127
byte 1 112
byte 1 114
byte 1 101
byte 1 118
byte 1 32
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 0
align 1
LABELV $126
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 112
byte 1 114
byte 1 101
byte 1 118
byte 1 0
align 1
LABELV $125
byte 1 97
byte 1 116
byte 1 116
byte 1 97
byte 1 99
byte 1 107
byte 1 0
align 1
LABELV $124
byte 1 43
byte 1 97
byte 1 116
byte 1 116
byte 1 97
byte 1 99
byte 1 107
byte 1 0
align 1
LABELV $123
byte 1 66
byte 1 70
byte 1 71
byte 1 0
align 1
LABELV $122
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 32
byte 1 57
byte 1 0
align 1
LABELV $121
byte 1 112
byte 1 108
byte 1 97
byte 1 115
byte 1 109
byte 1 97
byte 1 32
byte 1 103
byte 1 117
byte 1 110
byte 1 0
align 1
LABELV $120
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 32
byte 1 56
byte 1 0
align 1
LABELV $119
byte 1 114
byte 1 97
byte 1 105
byte 1 108
byte 1 103
byte 1 117
byte 1 110
byte 1 0
align 1
LABELV $118
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 32
byte 1 55
byte 1 0
align 1
LABELV $117
byte 1 108
byte 1 105
byte 1 103
byte 1 104
byte 1 116
byte 1 110
byte 1 105
byte 1 110
byte 1 103
byte 1 0
align 1
LABELV $116
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 32
byte 1 54
byte 1 0
align 1
LABELV $115
byte 1 114
byte 1 111
byte 1 99
byte 1 107
byte 1 101
byte 1 116
byte 1 32
byte 1 108
byte 1 97
byte 1 117
byte 1 110
byte 1 99
byte 1 104
byte 1 101
byte 1 114
byte 1 0
align 1
LABELV $114
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 32
byte 1 53
byte 1 0
align 1
LABELV $113
byte 1 103
byte 1 114
byte 1 101
byte 1 110
byte 1 97
byte 1 100
byte 1 101
byte 1 32
byte 1 108
byte 1 97
byte 1 117
byte 1 110
byte 1 99
byte 1 104
byte 1 101
byte 1 114
byte 1 0
align 1
LABELV $112
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 32
byte 1 52
byte 1 0
align 1
LABELV $111
byte 1 115
byte 1 104
byte 1 111
byte 1 116
byte 1 103
byte 1 117
byte 1 110
byte 1 0
align 1
LABELV $110
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 32
byte 1 51
byte 1 0
align 1
LABELV $109
byte 1 109
byte 1 97
byte 1 99
byte 1 104
byte 1 105
byte 1 110
byte 1 101
byte 1 103
byte 1 117
byte 1 110
byte 1 0
align 1
LABELV $108
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 32
byte 1 50
byte 1 0
align 1
LABELV $107
byte 1 103
byte 1 97
byte 1 117
byte 1 110
byte 1 116
byte 1 108
byte 1 101
byte 1 116
byte 1 0
align 1
LABELV $106
byte 1 119
byte 1 101
byte 1 97
byte 1 112
byte 1 111
byte 1 110
byte 1 32
byte 1 49
byte 1 0
align 1
LABELV $105
byte 1 122
byte 1 111
byte 1 111
byte 1 109
byte 1 32
byte 1 118
byte 1 105
byte 1 101
byte 1 119
byte 1 0
align 1
LABELV $104
byte 1 43
byte 1 122
byte 1 111
byte 1 111
byte 1 109
byte 1 0
align 1
LABELV $103
byte 1 99
byte 1 101
byte 1 110
byte 1 116
byte 1 101
byte 1 114
byte 1 32
byte 1 118
byte 1 105
byte 1 101
byte 1 119
byte 1 0
align 1
LABELV $102
byte 1 99
byte 1 101
byte 1 110
byte 1 116
byte 1 101
byte 1 114
byte 1 118
byte 1 105
byte 1 101
byte 1 119
byte 1 0
align 1
LABELV $101
byte 1 109
byte 1 111
byte 1 117
byte 1 115
byte 1 101
byte 1 32
byte 1 108
byte 1 111
byte 1 111
byte 1 107
byte 1 0
align 1
LABELV $100
byte 1 43
byte 1 109
byte 1 108
byte 1 111
byte 1 111
byte 1 107
byte 1 0
align 1
LABELV $99
byte 1 108
byte 1 111
byte 1 111
byte 1 107
byte 1 32
byte 1 100
byte 1 111
byte 1 119
byte 1 110
byte 1 0
align 1
LABELV $98
byte 1 43
byte 1 108
byte 1 111
byte 1 111
byte 1 107
byte 1 100
byte 1 111
byte 1 119
byte 1 110
byte 1 0
align 1
LABELV $97
byte 1 108
byte 1 111
byte 1 111
byte 1 107
byte 1 32
byte 1 117
byte 1 112
byte 1 0
align 1
LABELV $96
byte 1 43
byte 1 108
byte 1 111
byte 1 111
byte 1 107
byte 1 117
byte 1 112
byte 1 0
align 1
LABELV $95
byte 1 115
byte 1 105
byte 1 100
byte 1 101
byte 1 115
byte 1 116
byte 1 101
byte 1 112
byte 1 32
byte 1 47
byte 1 32
byte 1 116
byte 1 117
byte 1 114
byte 1 110
byte 1 0
align 1
LABELV $94
byte 1 43
byte 1 115
byte 1 116
byte 1 114
byte 1 97
byte 1 102
byte 1 101
byte 1 0
align 1
LABELV $93
byte 1 116
byte 1 117
byte 1 114
byte 1 110
byte 1 32
byte 1 114
byte 1 105
byte 1 103
byte 1 104
byte 1 116
byte 1 0
align 1
LABELV $92
byte 1 43
byte 1 114
byte 1 105
byte 1 103
byte 1 104
byte 1 116
byte 1 0
align 1
LABELV $91
byte 1 116
byte 1 117
byte 1 114
byte 1 110
byte 1 32
byte 1 108
byte 1 101
byte 1 102
byte 1 116
byte 1 0
align 1
LABELV $90
byte 1 43
byte 1 108
byte 1 101
byte 1 102
byte 1 116
byte 1 0
align 1
LABELV $89
byte 1 100
byte 1 111
byte 1 119
byte 1 110
byte 1 32
byte 1 47
byte 1 32
byte 1 99
byte 1 114
byte 1 111
byte 1 117
byte 1 99
byte 1 104
byte 1 0
align 1
LABELV $88
byte 1 43
byte 1 109
byte 1 111
byte 1 118
byte 1 101
byte 1 100
byte 1 111
byte 1 119
byte 1 110
byte 1 0
align 1
LABELV $87
byte 1 117
byte 1 112
byte 1 32
byte 1 47
byte 1 32
byte 1 106
byte 1 117
byte 1 109
byte 1 112
byte 1 0
align 1
LABELV $86
byte 1 43
byte 1 109
byte 1 111
byte 1 118
byte 1 101
byte 1 117
byte 1 112
byte 1 0
align 1
LABELV $85
byte 1 115
byte 1 116
byte 1 101
byte 1 112
byte 1 32
byte 1 114
byte 1 105
byte 1 103
byte 1 104
byte 1 116
byte 1 0
align 1
LABELV $84
byte 1 43
byte 1 109
byte 1 111
byte 1 118
byte 1 101
byte 1 114
byte 1 105
byte 1 103
byte 1 104
byte 1 116
byte 1 0
align 1
LABELV $83
byte 1 115
byte 1 116
byte 1 101
byte 1 112
byte 1 32
byte 1 108
byte 1 101
byte 1 102
byte 1 116
byte 1 0
align 1
LABELV $82
byte 1 43
byte 1 109
byte 1 111
byte 1 118
byte 1 101
byte 1 108
byte 1 101
byte 1 102
byte 1 116
byte 1 0
align 1
LABELV $81
byte 1 98
byte 1 97
byte 1 99
byte 1 107
byte 1 112
byte 1 101
byte 1 100
byte 1 97
byte 1 108
byte 1 0
align 1
LABELV $80
byte 1 43
byte 1 98
byte 1 97
byte 1 99
byte 1 107
byte 1 0
align 1
LABELV $79
byte 1 119
byte 1 97
byte 1 108
byte 1 107
byte 1 32
byte 1 102
byte 1 111
byte 1 114
byte 1 119
byte 1 97
byte 1 114
byte 1 100
byte 1 0
align 1
LABELV $78
byte 1 43
byte 1 102
byte 1 111
byte 1 114
byte 1 119
byte 1 97
byte 1 114
byte 1 100
byte 1 0
align 1
LABELV $77
byte 1 114
byte 1 117
byte 1 110
byte 1 32
byte 1 47
byte 1 32
byte 1 119
byte 1 97
byte 1 108
byte 1 107
byte 1 0
align 1
LABELV $76
byte 1 43
byte 1 115
byte 1 112
byte 1 101
byte 1 101
byte 1 100
byte 1 0
align 1
LABELV $75
byte 1 117
byte 1 115
byte 1 101
byte 1 32
byte 1 105
byte 1 116
byte 1 101
byte 1 109
byte 1 0
align 1
LABELV $74
byte 1 43
byte 1 98
byte 1 117
byte 1 116
byte 1 116
byte 1 111
byte 1 110
byte 1 50
byte 1 0
align 1
LABELV $73
byte 1 115
byte 1 104
byte 1 111
byte 1 119
byte 1 32
byte 1 115
byte 1 99
byte 1 111
byte 1 114
byte 1 101
byte 1 115
byte 1 0
align 1
LABELV $72
byte 1 43
byte 1 115
byte 1 99
byte 1 111
byte 1 114
byte 1 101
byte 1 115
byte 1 0
