ui_cinematics.asm
themuffinator_dm-game/build/win32-qvm/vm/ui/ui_cinematics.asm
data
align 4
LABELV cinematics
address $70
address $71
address $72
address $73
address $74
address $75
address $76
address $77
address $78
address $79
code
proc UI_CinematicsMenu_BackEvent 0 0
file "..\..\..\..\code\q3_ui\ui_cinematics.c"
line 64
;1:// Copyright (C) 1999-2000 Id Software, Inc.
;2://
;3:#include "ui_local.h"
;4:
;5:
;6:#define ART_BACK0		"menu/art/back_0"
;7:#define ART_BACK1		"menu/art/back_1"	
;8:#define ART_FRAMEL		"menu/art/frame2_l"
;9:#define ART_FRAMER		"menu/art/frame1_r"
;10:
;11:#define VERTICAL_SPACING	30
;12:
;13:#define ID_BACK			10
;14:#define ID_CIN_IDLOGO	11
;15:#define ID_CIN_INTRO	12
;16:#define ID_CIN_TIER1	13
;17:#define ID_CIN_TIER2	14
;18:#define ID_CIN_TIER3	15
;19:#define ID_CIN_TIER4	16
;20:#define ID_CIN_TIER5	17
;21:#define ID_CIN_TIER6	18
;22:#define ID_CIN_TIER7	19
;23:#define ID_CIN_END		20
;24:
;25:
;26:typedef struct {
;27:	menuframework_s	menu;
;28:	menutext_s		banner;
;29:	menubitmap_s	framel;
;30:	menubitmap_s	framer;
;31:	menutext_s		cin_idlogo;
;32:	menutext_s		cin_intro;
;33:	menutext_s		cin_tier1;
;34:	menutext_s		cin_tier2;
;35:	menutext_s		cin_tier3;
;36:	menutext_s		cin_tier4;
;37:	menutext_s		cin_tier5;
;38:	menutext_s		cin_tier6;
;39:	menutext_s		cin_tier7;
;40:	menutext_s		cin_end;
;41:	menubitmap_s	back;
;42:} cinematicsMenuInfo_t;
;43:
;44:static cinematicsMenuInfo_t	cinematicsMenuInfo;
;45:
;46:static char *cinematics[] = {
;47:	"idlogo",
;48:	"intro",
;49:	"tier1",
;50:	"tier2",
;51:	"tier3",
;52:	"tier4",
;53:	"tier5",
;54:	"tier6",
;55:	"tier7",
;56:	"end"
;57:};
;58:
;59:/*
;60:===============
;61:UI_CinematicsMenu_BackEvent
;62:===============
;63:*/
;64:static void UI_CinematicsMenu_BackEvent( void *ptr, int event ) {
line 65
;65:	if( event != QM_ACTIVATED ) {
ADDRFP4 4
INDIRI4
CNSTI4 3
EQI4 $81
line 66
;66:		return;
ADDRGP4 $80
JUMPV
LABELV $81
line 68
;67:	}
;68:	UI_PopMenu();
ADDRGP4 UI_PopMenu
CALLV
pop
line 69
;69:}
LABELV $80
endproc UI_CinematicsMenu_BackEvent 0 0
proc UI_CinematicsMenu_Event 12 8
line 77
;70:
;71:
;72:/*
;73:===============
;74:UI_CinematicsMenu_Event
;75:===============
;76:*/
;77:static void UI_CinematicsMenu_Event( void *ptr, int event ) {
line 80
;78:	int		n;
;79:
;80:	if (event != QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
EQI4 $84
line 81
;81:		return;
ADDRGP4 $83
JUMPV
LABELV $84
line 83
;82:
;83:	n = ((menucommon_s*)ptr)->id - ID_CIN_IDLOGO;
ADDRLP4 0
ADDRFP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
CNSTI4 11
SUBI4
ASGNI4
line 84
;84:	trap_Cvar_Set( "nextmap", va( "ui_cinematics %i", n ) );
ADDRGP4 $87
ARGP4
ADDRLP4 0
INDIRI4
ARGI4
ADDRLP4 4
ADDRGP4 va
CALLP4
ASGNP4
ADDRGP4 $86
ARGP4
ADDRLP4 4
INDIRP4
ARGP4
ADDRGP4 trap_Cvar_Set
CALLV
pop
line 85
;85:	if( uis.demoversion && ((menucommon_s*)ptr)->id == ID_CIN_END ) {
ADDRGP4 uis+11464
INDIRI4
CNSTI4 0
EQI4 $88
ADDRFP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
CNSTI4 20
NEI4 $88
line 86
;86:		trap_Cmd_ExecuteText( EXEC_APPEND, "disconnect; cinematic demoEnd.RoQ 1\n" );
CNSTI4 2
ARGI4
ADDRGP4 $91
ARGP4
ADDRGP4 trap_Cmd_ExecuteText
CALLV
pop
line 87
;87:	}
ADDRGP4 $89
JUMPV
LABELV $88
line 88
;88:	else {
line 89
;89:		trap_Cmd_ExecuteText( EXEC_APPEND, va( "disconnect; cinematic %s.RoQ\n", cinematics[n] ) );
ADDRGP4 $92
ARGP4
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 cinematics
ADDP4
INDIRP4
ARGP4
ADDRLP4 8
ADDRGP4 va
CALLP4
ASGNP4
CNSTI4 2
ARGI4
ADDRLP4 8
INDIRP4
ARGP4
ADDRGP4 trap_Cmd_ExecuteText
CALLV
pop
line 90
;90:	}
LABELV $89
line 91
;91:}
LABELV $83
endproc UI_CinematicsMenu_Event 12 8
proc UI_CinematicsMenu_Init 40 12
line 99
;92:
;93:
;94:/*
;95:===============
;96:UI_CinematicsMenu_Init
;97:===============
;98:*/
;99:static void UI_CinematicsMenu_Init( void ) {
line 102
;100:	int		y;
;101:
;102:	UI_CinematicsMenu_Cache();
ADDRGP4 UI_CinematicsMenu_Cache
CALLV
pop
line 104
;103:
;104:	memset( &cinematicsMenuInfo, 0, sizeof(cinematicsMenuInfo) );
ADDRGP4 cinematicsMenuInfo
ARGP4
CNSTI4 0
ARGI4
CNSTI4 1400
ARGI4
ADDRGP4 memset
CALLP4
pop
line 105
;105:	cinematicsMenuInfo.menu.fullscreen = qtrue;
ADDRGP4 cinematicsMenuInfo+280
CNSTI4 1
ASGNI4
line 107
;106:
;107:	cinematicsMenuInfo.banner.generic.type		= MTYPE_BTEXT;
ADDRGP4 cinematicsMenuInfo+288
CNSTI4 10
ASGNI4
line 108
;108:	cinematicsMenuInfo.banner.generic.x			= 320;
ADDRGP4 cinematicsMenuInfo+288+12
CNSTI4 320
ASGNI4
line 109
;109:	cinematicsMenuInfo.banner.generic.y			= 16;
ADDRGP4 cinematicsMenuInfo+288+16
CNSTI4 16
ASGNI4
line 110
;110:	cinematicsMenuInfo.banner.string			= "CINEMATICS";
ADDRGP4 cinematicsMenuInfo+288+64
ADDRGP4 $102
ASGNP4
line 111
;111:	cinematicsMenuInfo.banner.color				= color_white;
ADDRGP4 cinematicsMenuInfo+288+72
ADDRGP4 color_white
ASGNP4
line 112
;112:	cinematicsMenuInfo.banner.style				= UI_CENTER;
ADDRGP4 cinematicsMenuInfo+288+68
CNSTI4 1
ASGNI4
line 114
;113:
;114:	cinematicsMenuInfo.framel.generic.type		= MTYPE_BITMAP;
ADDRGP4 cinematicsMenuInfo+364
CNSTI4 6
ASGNI4
line 115
;115:	cinematicsMenuInfo.framel.generic.name		= ART_FRAMEL;
ADDRGP4 cinematicsMenuInfo+364+4
ADDRGP4 $110
ASGNP4
line 116
;116:	cinematicsMenuInfo.framel.generic.flags		= QMF_INACTIVE;
ADDRGP4 cinematicsMenuInfo+364+44
CNSTU4 16384
ASGNU4
line 117
;117:	cinematicsMenuInfo.framel.generic.x			= 0;  
ADDRGP4 cinematicsMenuInfo+364+12
CNSTI4 0
ASGNI4
line 118
;118:	cinematicsMenuInfo.framel.generic.y			= 78;
ADDRGP4 cinematicsMenuInfo+364+16
CNSTI4 78
ASGNI4
line 119
;119:	cinematicsMenuInfo.framel.width  			= 256;
ADDRGP4 cinematicsMenuInfo+364+80
CNSTI4 256
ASGNI4
line 120
;120:	cinematicsMenuInfo.framel.height  			= 329;
ADDRGP4 cinematicsMenuInfo+364+84
CNSTI4 329
ASGNI4
line 122
;121:
;122:	cinematicsMenuInfo.framer.generic.type		= MTYPE_BITMAP;
ADDRGP4 cinematicsMenuInfo+456
CNSTI4 6
ASGNI4
line 123
;123:	cinematicsMenuInfo.framer.generic.name		= ART_FRAMER;
ADDRGP4 cinematicsMenuInfo+456+4
ADDRGP4 $124
ASGNP4
line 124
;124:	cinematicsMenuInfo.framer.generic.flags		= QMF_INACTIVE;
ADDRGP4 cinematicsMenuInfo+456+44
CNSTU4 16384
ASGNU4
line 125
;125:	cinematicsMenuInfo.framer.generic.x			= 376;
ADDRGP4 cinematicsMenuInfo+456+12
CNSTI4 376
ASGNI4
line 126
;126:	cinematicsMenuInfo.framer.generic.y			= 76;
ADDRGP4 cinematicsMenuInfo+456+16
CNSTI4 76
ASGNI4
line 127
;127:	cinematicsMenuInfo.framer.width  			= 256;
ADDRGP4 cinematicsMenuInfo+456+80
CNSTI4 256
ASGNI4
line 128
;128:	cinematicsMenuInfo.framer.height  			= 334;
ADDRGP4 cinematicsMenuInfo+456+84
CNSTI4 334
ASGNI4
line 130
;129:
;130:	y = 100;
ADDRLP4 0
CNSTI4 100
ASGNI4
line 131
;131:	cinematicsMenuInfo.cin_idlogo.generic.type		= MTYPE_PTEXT;
ADDRGP4 cinematicsMenuInfo+548
CNSTI4 9
ASGNI4
line 132
;132:	cinematicsMenuInfo.cin_idlogo.generic.flags		= QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 cinematicsMenuInfo+548+44
CNSTU4 264
ASGNU4
line 133
;133:	cinematicsMenuInfo.cin_idlogo.generic.x			= 320;
ADDRGP4 cinematicsMenuInfo+548+12
CNSTI4 320
ASGNI4
line 134
;134:	cinematicsMenuInfo.cin_idlogo.generic.y			= y;
ADDRGP4 cinematicsMenuInfo+548+16
ADDRLP4 0
INDIRI4
ASGNI4
line 135
;135:	cinematicsMenuInfo.cin_idlogo.generic.id		= ID_CIN_IDLOGO;
ADDRGP4 cinematicsMenuInfo+548+8
CNSTI4 11
ASGNI4
line 136
;136:	cinematicsMenuInfo.cin_idlogo.generic.callback	= UI_CinematicsMenu_Event; 
ADDRGP4 cinematicsMenuInfo+548+48
ADDRGP4 UI_CinematicsMenu_Event
ASGNP4
line 137
;137:	cinematicsMenuInfo.cin_idlogo.string			= "ID LOGO";
ADDRGP4 cinematicsMenuInfo+548+64
ADDRGP4 $148
ASGNP4
line 138
;138:	cinematicsMenuInfo.cin_idlogo.color				= color_red;
ADDRGP4 cinematicsMenuInfo+548+72
ADDRGP4 color_red
ASGNP4
line 139
;139:	cinematicsMenuInfo.cin_idlogo.style				= UI_CENTER;
ADDRGP4 cinematicsMenuInfo+548+68
CNSTI4 1
ASGNI4
line 141
;140:
;141:	y += VERTICAL_SPACING;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 30
ADDI4
ASGNI4
line 142
;142:	cinematicsMenuInfo.cin_intro.generic.type		= MTYPE_PTEXT;
ADDRGP4 cinematicsMenuInfo+624
CNSTI4 9
ASGNI4
line 143
;143:	cinematicsMenuInfo.cin_intro.generic.flags		= QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 cinematicsMenuInfo+624+44
CNSTU4 264
ASGNU4
line 144
;144:	cinematicsMenuInfo.cin_intro.generic.x			= 320;
ADDRGP4 cinematicsMenuInfo+624+12
CNSTI4 320
ASGNI4
line 145
;145:	cinematicsMenuInfo.cin_intro.generic.y			= y;
ADDRGP4 cinematicsMenuInfo+624+16
ADDRLP4 0
INDIRI4
ASGNI4
line 146
;146:	cinematicsMenuInfo.cin_intro.generic.id			= ID_CIN_INTRO;
ADDRGP4 cinematicsMenuInfo+624+8
CNSTI4 12
ASGNI4
line 147
;147:	cinematicsMenuInfo.cin_intro.generic.callback	= UI_CinematicsMenu_Event; 
ADDRGP4 cinematicsMenuInfo+624+48
ADDRGP4 UI_CinematicsMenu_Event
ASGNP4
line 148
;148:	cinematicsMenuInfo.cin_intro.string				= "INTRO";
ADDRGP4 cinematicsMenuInfo+624+64
ADDRGP4 $166
ASGNP4
line 149
;149:	cinematicsMenuInfo.cin_intro.color				= color_red;
ADDRGP4 cinematicsMenuInfo+624+72
ADDRGP4 color_red
ASGNP4
line 150
;150:	cinematicsMenuInfo.cin_intro.style				= UI_CENTER;
ADDRGP4 cinematicsMenuInfo+624+68
CNSTI4 1
ASGNI4
line 151
;151:	if( uis.demoversion ) {
ADDRGP4 uis+11464
INDIRI4
CNSTI4 0
EQI4 $171
line 152
;152:		cinematicsMenuInfo.cin_intro.generic.flags |= QMF_GRAYED;
ADDRLP4 4
ADDRGP4 cinematicsMenuInfo+624+44
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 153
;153:	}
LABELV $171
line 155
;154:
;155:	y += VERTICAL_SPACING;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 30
ADDI4
ASGNI4
line 156
;156:	cinematicsMenuInfo.cin_tier1.generic.type		= MTYPE_PTEXT;
ADDRGP4 cinematicsMenuInfo+700
CNSTI4 9
ASGNI4
line 157
;157:	cinematicsMenuInfo.cin_tier1.generic.flags		= QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 cinematicsMenuInfo+700+44
CNSTU4 264
ASGNU4
line 158
;158:	cinematicsMenuInfo.cin_tier1.generic.x			= 320;
ADDRGP4 cinematicsMenuInfo+700+12
CNSTI4 320
ASGNI4
line 159
;159:	cinematicsMenuInfo.cin_tier1.generic.y			= y;
ADDRGP4 cinematicsMenuInfo+700+16
ADDRLP4 0
INDIRI4
ASGNI4
line 160
;160:	cinematicsMenuInfo.cin_tier1.generic.id			= ID_CIN_TIER1;
ADDRGP4 cinematicsMenuInfo+700+8
CNSTI4 13
ASGNI4
line 161
;161:	cinematicsMenuInfo.cin_tier1.generic.callback	= UI_CinematicsMenu_Event; 
ADDRGP4 cinematicsMenuInfo+700+48
ADDRGP4 UI_CinematicsMenu_Event
ASGNP4
line 162
;162:	cinematicsMenuInfo.cin_tier1.string				= "Tier 1";
ADDRGP4 cinematicsMenuInfo+700+64
ADDRGP4 $189
ASGNP4
line 163
;163:	cinematicsMenuInfo.cin_tier1.color				= color_red;
ADDRGP4 cinematicsMenuInfo+700+72
ADDRGP4 color_red
ASGNP4
line 164
;164:	cinematicsMenuInfo.cin_tier1.style				= UI_CENTER;
ADDRGP4 cinematicsMenuInfo+700+68
CNSTI4 1
ASGNI4
line 165
;165:	if( !UI_CanShowTierVideo( 1 ) ) {
CNSTI4 1
ARGI4
ADDRLP4 4
ADDRGP4 UI_CanShowTierVideo
CALLI4
ASGNI4
ADDRLP4 4
INDIRI4
CNSTI4 0
NEI4 $194
line 166
;166:		cinematicsMenuInfo.cin_tier1.generic.flags |= QMF_GRAYED;
ADDRLP4 8
ADDRGP4 cinematicsMenuInfo+700+44
ASGNP4
ADDRLP4 8
INDIRP4
ADDRLP4 8
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 167
;167:	}
LABELV $194
line 169
;168:
;169:	y += VERTICAL_SPACING;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 30
ADDI4
ASGNI4
line 170
;170:	cinematicsMenuInfo.cin_tier2.generic.type		= MTYPE_PTEXT;
ADDRGP4 cinematicsMenuInfo+776
CNSTI4 9
ASGNI4
line 171
;171:	cinematicsMenuInfo.cin_tier2.generic.flags		= QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 cinematicsMenuInfo+776+44
CNSTU4 264
ASGNU4
line 172
;172:	cinematicsMenuInfo.cin_tier2.generic.x			= 320;
ADDRGP4 cinematicsMenuInfo+776+12
CNSTI4 320
ASGNI4
line 173
;173:	cinematicsMenuInfo.cin_tier2.generic.y			= y;
ADDRGP4 cinematicsMenuInfo+776+16
ADDRLP4 0
INDIRI4
ASGNI4
line 174
;174:	cinematicsMenuInfo.cin_tier2.generic.id			= ID_CIN_TIER2;
ADDRGP4 cinematicsMenuInfo+776+8
CNSTI4 14
ASGNI4
line 175
;175:	cinematicsMenuInfo.cin_tier2.generic.callback	= UI_CinematicsMenu_Event; 
ADDRGP4 cinematicsMenuInfo+776+48
ADDRGP4 UI_CinematicsMenu_Event
ASGNP4
line 176
;176:	cinematicsMenuInfo.cin_tier2.string				= "Tier 2";
ADDRGP4 cinematicsMenuInfo+776+64
ADDRGP4 $211
ASGNP4
line 177
;177:	cinematicsMenuInfo.cin_tier2.color				= color_red;
ADDRGP4 cinematicsMenuInfo+776+72
ADDRGP4 color_red
ASGNP4
line 178
;178:	cinematicsMenuInfo.cin_tier2.style				= UI_CENTER;
ADDRGP4 cinematicsMenuInfo+776+68
CNSTI4 1
ASGNI4
line 179
;179:	if( !UI_CanShowTierVideo( 2 ) ) {
CNSTI4 2
ARGI4
ADDRLP4 8
ADDRGP4 UI_CanShowTierVideo
CALLI4
ASGNI4
ADDRLP4 8
INDIRI4
CNSTI4 0
NEI4 $216
line 180
;180:		cinematicsMenuInfo.cin_tier2.generic.flags |= QMF_GRAYED;
ADDRLP4 12
ADDRGP4 cinematicsMenuInfo+776+44
ASGNP4
ADDRLP4 12
INDIRP4
ADDRLP4 12
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 181
;181:	}
LABELV $216
line 183
;182:
;183:	y += VERTICAL_SPACING;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 30
ADDI4
ASGNI4
line 184
;184:	cinematicsMenuInfo.cin_tier3.generic.type		= MTYPE_PTEXT;
ADDRGP4 cinematicsMenuInfo+852
CNSTI4 9
ASGNI4
line 185
;185:	cinematicsMenuInfo.cin_tier3.generic.flags		= QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 cinematicsMenuInfo+852+44
CNSTU4 264
ASGNU4
line 186
;186:	cinematicsMenuInfo.cin_tier3.generic.x			= 320;
ADDRGP4 cinematicsMenuInfo+852+12
CNSTI4 320
ASGNI4
line 187
;187:	cinematicsMenuInfo.cin_tier3.generic.y			= y;
ADDRGP4 cinematicsMenuInfo+852+16
ADDRLP4 0
INDIRI4
ASGNI4
line 188
;188:	cinematicsMenuInfo.cin_tier3.generic.id			= ID_CIN_TIER3;
ADDRGP4 cinematicsMenuInfo+852+8
CNSTI4 15
ASGNI4
line 189
;189:	cinematicsMenuInfo.cin_tier3.generic.callback	= UI_CinematicsMenu_Event; 
ADDRGP4 cinematicsMenuInfo+852+48
ADDRGP4 UI_CinematicsMenu_Event
ASGNP4
line 190
;190:	cinematicsMenuInfo.cin_tier3.string				= "Tier 3";
ADDRGP4 cinematicsMenuInfo+852+64
ADDRGP4 $233
ASGNP4
line 191
;191:	cinematicsMenuInfo.cin_tier3.color				= color_red;
ADDRGP4 cinematicsMenuInfo+852+72
ADDRGP4 color_red
ASGNP4
line 192
;192:	cinematicsMenuInfo.cin_tier3.style				= UI_CENTER;
ADDRGP4 cinematicsMenuInfo+852+68
CNSTI4 1
ASGNI4
line 193
;193:	if( !UI_CanShowTierVideo( 3 ) ) {
CNSTI4 3
ARGI4
ADDRLP4 12
ADDRGP4 UI_CanShowTierVideo
CALLI4
ASGNI4
ADDRLP4 12
INDIRI4
CNSTI4 0
NEI4 $238
line 194
;194:		cinematicsMenuInfo.cin_tier3.generic.flags |= QMF_GRAYED;
ADDRLP4 16
ADDRGP4 cinematicsMenuInfo+852+44
ASGNP4
ADDRLP4 16
INDIRP4
ADDRLP4 16
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 195
;195:	}
LABELV $238
line 197
;196:
;197:	y += VERTICAL_SPACING;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 30
ADDI4
ASGNI4
line 198
;198:	cinematicsMenuInfo.cin_tier4.generic.type		= MTYPE_PTEXT;
ADDRGP4 cinematicsMenuInfo+928
CNSTI4 9
ASGNI4
line 199
;199:	cinematicsMenuInfo.cin_tier4.generic.flags		= QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 cinematicsMenuInfo+928+44
CNSTU4 264
ASGNU4
line 200
;200:	cinematicsMenuInfo.cin_tier4.generic.x			= 320;
ADDRGP4 cinematicsMenuInfo+928+12
CNSTI4 320
ASGNI4
line 201
;201:	cinematicsMenuInfo.cin_tier4.generic.y			= y;
ADDRGP4 cinematicsMenuInfo+928+16
ADDRLP4 0
INDIRI4
ASGNI4
line 202
;202:	cinematicsMenuInfo.cin_tier4.generic.id			= ID_CIN_TIER4;
ADDRGP4 cinematicsMenuInfo+928+8
CNSTI4 16
ASGNI4
line 203
;203:	cinematicsMenuInfo.cin_tier4.generic.callback	= UI_CinematicsMenu_Event; 
ADDRGP4 cinematicsMenuInfo+928+48
ADDRGP4 UI_CinematicsMenu_Event
ASGNP4
line 204
;204:	cinematicsMenuInfo.cin_tier4.string				= "Tier 4";
ADDRGP4 cinematicsMenuInfo+928+64
ADDRGP4 $255
ASGNP4
line 205
;205:	cinematicsMenuInfo.cin_tier4.color				= color_red;
ADDRGP4 cinematicsMenuInfo+928+72
ADDRGP4 color_red
ASGNP4
line 206
;206:	cinematicsMenuInfo.cin_tier4.style				= UI_CENTER;
ADDRGP4 cinematicsMenuInfo+928+68
CNSTI4 1
ASGNI4
line 207
;207:	if( !UI_CanShowTierVideo( 4 ) ) {
CNSTI4 4
ARGI4
ADDRLP4 16
ADDRGP4 UI_CanShowTierVideo
CALLI4
ASGNI4
ADDRLP4 16
INDIRI4
CNSTI4 0
NEI4 $260
line 208
;208:		cinematicsMenuInfo.cin_tier4.generic.flags |= QMF_GRAYED;
ADDRLP4 20
ADDRGP4 cinematicsMenuInfo+928+44
ASGNP4
ADDRLP4 20
INDIRP4
ADDRLP4 20
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 209
;209:	}
LABELV $260
line 211
;210:
;211:	y += VERTICAL_SPACING;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 30
ADDI4
ASGNI4
line 212
;212:	cinematicsMenuInfo.cin_tier5.generic.type		= MTYPE_PTEXT;
ADDRGP4 cinematicsMenuInfo+1004
CNSTI4 9
ASGNI4
line 213
;213:	cinematicsMenuInfo.cin_tier5.generic.flags		= QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 cinematicsMenuInfo+1004+44
CNSTU4 264
ASGNU4
line 214
;214:	cinematicsMenuInfo.cin_tier5.generic.x			= 320;
ADDRGP4 cinematicsMenuInfo+1004+12
CNSTI4 320
ASGNI4
line 215
;215:	cinematicsMenuInfo.cin_tier5.generic.y			= y;
ADDRGP4 cinematicsMenuInfo+1004+16
ADDRLP4 0
INDIRI4
ASGNI4
line 216
;216:	cinematicsMenuInfo.cin_tier5.generic.id			= ID_CIN_TIER5;
ADDRGP4 cinematicsMenuInfo+1004+8
CNSTI4 17
ASGNI4
line 217
;217:	cinematicsMenuInfo.cin_tier5.generic.callback	= UI_CinematicsMenu_Event; 
ADDRGP4 cinematicsMenuInfo+1004+48
ADDRGP4 UI_CinematicsMenu_Event
ASGNP4
line 218
;218:	cinematicsMenuInfo.cin_tier5.string				= "Tier 5";
ADDRGP4 cinematicsMenuInfo+1004+64
ADDRGP4 $277
ASGNP4
line 219
;219:	cinematicsMenuInfo.cin_tier5.color				= color_red;
ADDRGP4 cinematicsMenuInfo+1004+72
ADDRGP4 color_red
ASGNP4
line 220
;220:	cinematicsMenuInfo.cin_tier5.style				= UI_CENTER;
ADDRGP4 cinematicsMenuInfo+1004+68
CNSTI4 1
ASGNI4
line 221
;221:	if( !UI_CanShowTierVideo( 5 ) ) {
CNSTI4 5
ARGI4
ADDRLP4 20
ADDRGP4 UI_CanShowTierVideo
CALLI4
ASGNI4
ADDRLP4 20
INDIRI4
CNSTI4 0
NEI4 $282
line 222
;222:		cinematicsMenuInfo.cin_tier5.generic.flags |= QMF_GRAYED;
ADDRLP4 24
ADDRGP4 cinematicsMenuInfo+1004+44
ASGNP4
ADDRLP4 24
INDIRP4
ADDRLP4 24
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 223
;223:	}
LABELV $282
line 225
;224:
;225:	y += VERTICAL_SPACING;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 30
ADDI4
ASGNI4
line 226
;226:	cinematicsMenuInfo.cin_tier6.generic.type		= MTYPE_PTEXT;
ADDRGP4 cinematicsMenuInfo+1080
CNSTI4 9
ASGNI4
line 227
;227:	cinematicsMenuInfo.cin_tier6.generic.flags		= QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 cinematicsMenuInfo+1080+44
CNSTU4 264
ASGNU4
line 228
;228:	cinematicsMenuInfo.cin_tier6.generic.x			= 320;
ADDRGP4 cinematicsMenuInfo+1080+12
CNSTI4 320
ASGNI4
line 229
;229:	cinematicsMenuInfo.cin_tier6.generic.y			= y;
ADDRGP4 cinematicsMenuInfo+1080+16
ADDRLP4 0
INDIRI4
ASGNI4
line 230
;230:	cinematicsMenuInfo.cin_tier6.generic.id			= ID_CIN_TIER6;
ADDRGP4 cinematicsMenuInfo+1080+8
CNSTI4 18
ASGNI4
line 231
;231:	cinematicsMenuInfo.cin_tier6.generic.callback	= UI_CinematicsMenu_Event; 
ADDRGP4 cinematicsMenuInfo+1080+48
ADDRGP4 UI_CinematicsMenu_Event
ASGNP4
line 232
;232:	cinematicsMenuInfo.cin_tier6.string				= "Tier 6";
ADDRGP4 cinematicsMenuInfo+1080+64
ADDRGP4 $299
ASGNP4
line 233
;233:	cinematicsMenuInfo.cin_tier6.color				= color_red;
ADDRGP4 cinematicsMenuInfo+1080+72
ADDRGP4 color_red
ASGNP4
line 234
;234:	cinematicsMenuInfo.cin_tier6.style				= UI_CENTER;
ADDRGP4 cinematicsMenuInfo+1080+68
CNSTI4 1
ASGNI4
line 235
;235:	if( !UI_CanShowTierVideo( 6 ) ) {
CNSTI4 6
ARGI4
ADDRLP4 24
ADDRGP4 UI_CanShowTierVideo
CALLI4
ASGNI4
ADDRLP4 24
INDIRI4
CNSTI4 0
NEI4 $304
line 236
;236:		cinematicsMenuInfo.cin_tier6.generic.flags |= QMF_GRAYED;
ADDRLP4 28
ADDRGP4 cinematicsMenuInfo+1080+44
ASGNP4
ADDRLP4 28
INDIRP4
ADDRLP4 28
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 237
;237:	}
LABELV $304
line 239
;238:
;239:	y += VERTICAL_SPACING;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 30
ADDI4
ASGNI4
line 240
;240:	cinematicsMenuInfo.cin_tier7.generic.type		= MTYPE_PTEXT;
ADDRGP4 cinematicsMenuInfo+1156
CNSTI4 9
ASGNI4
line 241
;241:	cinematicsMenuInfo.cin_tier7.generic.flags		= QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 cinematicsMenuInfo+1156+44
CNSTU4 264
ASGNU4
line 242
;242:	cinematicsMenuInfo.cin_tier7.generic.x			= 320;
ADDRGP4 cinematicsMenuInfo+1156+12
CNSTI4 320
ASGNI4
line 243
;243:	cinematicsMenuInfo.cin_tier7.generic.y			= y;
ADDRGP4 cinematicsMenuInfo+1156+16
ADDRLP4 0
INDIRI4
ASGNI4
line 244
;244:	cinematicsMenuInfo.cin_tier7.generic.id			= ID_CIN_TIER7;
ADDRGP4 cinematicsMenuInfo+1156+8
CNSTI4 19
ASGNI4
line 245
;245:	cinematicsMenuInfo.cin_tier7.generic.callback	= UI_CinematicsMenu_Event; 
ADDRGP4 cinematicsMenuInfo+1156+48
ADDRGP4 UI_CinematicsMenu_Event
ASGNP4
line 246
;246:	cinematicsMenuInfo.cin_tier7.string				= "Tier 7";
ADDRGP4 cinematicsMenuInfo+1156+64
ADDRGP4 $321
ASGNP4
line 247
;247:	cinematicsMenuInfo.cin_tier7.color				= color_red;
ADDRGP4 cinematicsMenuInfo+1156+72
ADDRGP4 color_red
ASGNP4
line 248
;248:	cinematicsMenuInfo.cin_tier7.style				= UI_CENTER;
ADDRGP4 cinematicsMenuInfo+1156+68
CNSTI4 1
ASGNI4
line 249
;249:	if( !UI_CanShowTierVideo( 7 ) ) {
CNSTI4 7
ARGI4
ADDRLP4 28
ADDRGP4 UI_CanShowTierVideo
CALLI4
ASGNI4
ADDRLP4 28
INDIRI4
CNSTI4 0
NEI4 $326
line 250
;250:		cinematicsMenuInfo.cin_tier7.generic.flags |= QMF_GRAYED;
ADDRLP4 32
ADDRGP4 cinematicsMenuInfo+1156+44
ASGNP4
ADDRLP4 32
INDIRP4
ADDRLP4 32
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 251
;251:	}
LABELV $326
line 253
;252:
;253:	y += VERTICAL_SPACING;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 30
ADDI4
ASGNI4
line 254
;254:	cinematicsMenuInfo.cin_end.generic.type			= MTYPE_PTEXT;
ADDRGP4 cinematicsMenuInfo+1232
CNSTI4 9
ASGNI4
line 255
;255:	cinematicsMenuInfo.cin_end.generic.flags		= QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 cinematicsMenuInfo+1232+44
CNSTU4 264
ASGNU4
line 256
;256:	cinematicsMenuInfo.cin_end.generic.x			= 320;
ADDRGP4 cinematicsMenuInfo+1232+12
CNSTI4 320
ASGNI4
line 257
;257:	cinematicsMenuInfo.cin_end.generic.y			= y;
ADDRGP4 cinematicsMenuInfo+1232+16
ADDRLP4 0
INDIRI4
ASGNI4
line 258
;258:	cinematicsMenuInfo.cin_end.generic.id			= ID_CIN_END;
ADDRGP4 cinematicsMenuInfo+1232+8
CNSTI4 20
ASGNI4
line 259
;259:	cinematicsMenuInfo.cin_end.generic.callback		= UI_CinematicsMenu_Event; 
ADDRGP4 cinematicsMenuInfo+1232+48
ADDRGP4 UI_CinematicsMenu_Event
ASGNP4
line 260
;260:	cinematicsMenuInfo.cin_end.string				= "END";
ADDRGP4 cinematicsMenuInfo+1232+64
ADDRGP4 $343
ASGNP4
line 261
;261:	cinematicsMenuInfo.cin_end.color				= color_red;
ADDRGP4 cinematicsMenuInfo+1232+72
ADDRGP4 color_red
ASGNP4
line 262
;262:	cinematicsMenuInfo.cin_end.style				= UI_CENTER;
ADDRGP4 cinematicsMenuInfo+1232+68
CNSTI4 1
ASGNI4
line 263
;263:	if( !UI_CanShowTierVideo( 8 ) ) {
CNSTI4 8
ARGI4
ADDRLP4 32
ADDRGP4 UI_CanShowTierVideo
CALLI4
ASGNI4
ADDRLP4 32
INDIRI4
CNSTI4 0
NEI4 $348
line 264
;264:		cinematicsMenuInfo.cin_end.generic.flags |= QMF_GRAYED;
ADDRLP4 36
ADDRGP4 cinematicsMenuInfo+1232+44
ASGNP4
ADDRLP4 36
INDIRP4
ADDRLP4 36
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 265
;265:	}
LABELV $348
line 267
;266:
;267:	cinematicsMenuInfo.back.generic.type		= MTYPE_BITMAP;
ADDRGP4 cinematicsMenuInfo+1308
CNSTI4 6
ASGNI4
line 268
;268:	cinematicsMenuInfo.back.generic.name		= ART_BACK0;
ADDRGP4 cinematicsMenuInfo+1308+4
ADDRGP4 $355
ASGNP4
line 269
;269:	cinematicsMenuInfo.back.generic.flags		= QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 cinematicsMenuInfo+1308+44
CNSTU4 260
ASGNU4
line 270
;270:	cinematicsMenuInfo.back.generic.id			= ID_BACK;
ADDRGP4 cinematicsMenuInfo+1308+8
CNSTI4 10
ASGNI4
line 271
;271:	cinematicsMenuInfo.back.generic.callback	= UI_CinematicsMenu_BackEvent;
ADDRGP4 cinematicsMenuInfo+1308+48
ADDRGP4 UI_CinematicsMenu_BackEvent
ASGNP4
line 272
;272:	cinematicsMenuInfo.back.generic.x			= 0;
ADDRGP4 cinematicsMenuInfo+1308+12
CNSTI4 0
ASGNI4
line 273
;273:	cinematicsMenuInfo.back.generic.y			= 480-64;
ADDRGP4 cinematicsMenuInfo+1308+16
CNSTI4 416
ASGNI4
line 274
;274:	cinematicsMenuInfo.back.width				= 128;
ADDRGP4 cinematicsMenuInfo+1308+80
CNSTI4 128
ASGNI4
line 275
;275:	cinematicsMenuInfo.back.height				= 64;
ADDRGP4 cinematicsMenuInfo+1308+84
CNSTI4 64
ASGNI4
line 276
;276:	cinematicsMenuInfo.back.focuspic			= ART_BACK1;
ADDRGP4 cinematicsMenuInfo+1308+64
ADDRGP4 $372
ASGNP4
line 278
;277:
;278:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.banner );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+288
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 279
;279:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.framel );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+364
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 280
;280:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.framer );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+456
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 281
;281:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.cin_idlogo );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+548
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 282
;282:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.cin_intro );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+624
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 283
;283:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.cin_tier1 );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+700
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 284
;284:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.cin_tier2 );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+776
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 285
;285:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.cin_tier3 );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+852
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 286
;286:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.cin_tier4 );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+928
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 287
;287:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.cin_tier5 );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+1004
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 288
;288:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.cin_tier6 );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+1080
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 289
;289:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.cin_tier7 );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+1156
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 290
;290:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.cin_end );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+1232
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 291
;291:	Menu_AddItem( &cinematicsMenuInfo.menu, &cinematicsMenuInfo.back );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 cinematicsMenuInfo+1308
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 292
;292:}
LABELV $93
endproc UI_CinematicsMenu_Init 40 12
export UI_CinematicsMenu_Cache
proc UI_CinematicsMenu_Cache 0 4
line 300
;293:
;294:
;295:/*
;296:=================
;297:UI_CinematicsMenu_Cache
;298:=================
;299:*/
;300:void UI_CinematicsMenu_Cache( void ) {
line 301
;301:	trap_R_RegisterShaderNoMip( ART_BACK0 );
ADDRGP4 $355
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 302
;302:	trap_R_RegisterShaderNoMip( ART_BACK1 );
ADDRGP4 $372
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 303
;303:	trap_R_RegisterShaderNoMip( ART_FRAMEL );
ADDRGP4 $110
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 304
;304:	trap_R_RegisterShaderNoMip( ART_FRAMER );
ADDRGP4 $124
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 305
;305:}
LABELV $387
endproc UI_CinematicsMenu_Cache 0 4
export UI_CinematicsMenu
proc UI_CinematicsMenu 0 4
line 313
;306:
;307:
;308:/*
;309:===============
;310:UI_CinematicsMenu
;311:===============
;312:*/
;313:void UI_CinematicsMenu( void ) {
line 314
;314:	UI_CinematicsMenu_Init();
ADDRGP4 UI_CinematicsMenu_Init
CALLV
pop
line 315
;315:	UI_PushMenu( &cinematicsMenuInfo.menu );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRGP4 UI_PushMenu
CALLV
pop
line 316
;316:}
LABELV $388
endproc UI_CinematicsMenu 0 4
export UI_CinematicsMenu_f
proc UI_CinematicsMenu_f 12 8
line 324
;317:
;318:
;319:/*
;320:===============
;321:UI_CinematicsMenu_f
;322:===============
;323:*/
;324:void UI_CinematicsMenu_f( void ) {
line 327
;325:	int		n;
;326:
;327:	n = atoi( UI_Argv( 1 ) );
CNSTI4 1
ARGI4
ADDRLP4 4
ADDRGP4 UI_Argv
CALLP4
ASGNP4
ADDRLP4 4
INDIRP4
ARGP4
ADDRLP4 8
ADDRGP4 atoi
CALLI4
ASGNI4
ADDRLP4 0
ADDRLP4 8
INDIRI4
ASGNI4
line 328
;328:	UI_CinematicsMenu();
ADDRGP4 UI_CinematicsMenu
CALLV
pop
line 329
;329:	Menu_SetCursorToItem( &cinematicsMenuInfo.menu, cinematicsMenuInfo.menu.items[n + 3] );
ADDRGP4 cinematicsMenuInfo
ARGP4
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 cinematicsMenuInfo+12+12
ADDP4
INDIRP4
ARGP4
ADDRGP4 Menu_SetCursorToItem
CALLV
pop
line 330
;330:}
LABELV $389
endproc UI_CinematicsMenu_f 12 8
bss
align 4
LABELV cinematicsMenuInfo
skip 1400
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 Demos_Cache
import UI_DemosMenu
import Controls_Cache
import UI_ControlsMenu
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 $372
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 $355
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 $343
byte 1 69
byte 1 78
byte 1 68
byte 1 0
align 1
LABELV $321
byte 1 84
byte 1 105
byte 1 101
byte 1 114
byte 1 32
byte 1 55
byte 1 0
align 1
LABELV $299
byte 1 84
byte 1 105
byte 1 101
byte 1 114
byte 1 32
byte 1 54
byte 1 0
align 1
LABELV $277
byte 1 84
byte 1 105
byte 1 101
byte 1 114
byte 1 32
byte 1 53
byte 1 0
align 1
LABELV $255
byte 1 84
byte 1 105
byte 1 101
byte 1 114
byte 1 32
byte 1 52
byte 1 0
align 1
LABELV $233
byte 1 84
byte 1 105
byte 1 101
byte 1 114
byte 1 32
byte 1 51
byte 1 0
align 1
LABELV $211
byte 1 84
byte 1 105
byte 1 101
byte 1 114
byte 1 32
byte 1 50
byte 1 0
align 1
LABELV $189
byte 1 84
byte 1 105
byte 1 101
byte 1 114
byte 1 32
byte 1 49
byte 1 0
align 1
LABELV $166
byte 1 73
byte 1 78
byte 1 84
byte 1 82
byte 1 79
byte 1 0
align 1
LABELV $148
byte 1 73
byte 1 68
byte 1 32
byte 1 76
byte 1 79
byte 1 71
byte 1 79
byte 1 0
align 1
LABELV $124
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 $110
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 $102
byte 1 67
byte 1 73
byte 1 78
byte 1 69
byte 1 77
byte 1 65
byte 1 84
byte 1 73
byte 1 67
byte 1 83
byte 1 0
align 1
LABELV $92
byte 1 100
byte 1 105
byte 1 115
byte 1 99
byte 1 111
byte 1 110
byte 1 110
byte 1 101
byte 1 99
byte 1 116
byte 1 59
byte 1 32
byte 1 99
byte 1 105
byte 1 110
byte 1 101
byte 1 109
byte 1 97
byte 1 116
byte 1 105
byte 1 99
byte 1 32
byte 1 37
byte 1 115
byte 1 46
byte 1 82
byte 1 111
byte 1 81
byte 1 10
byte 1 0
align 1
LABELV $91
byte 1 100
byte 1 105
byte 1 115
byte 1 99
byte 1 111
byte 1 110
byte 1 110
byte 1 101
byte 1 99
byte 1 116
byte 1 59
byte 1 32
byte 1 99
byte 1 105
byte 1 110
byte 1 101
byte 1 109
byte 1 97
byte 1 116
byte 1 105
byte 1 99
byte 1 32
byte 1 100
byte 1 101
byte 1 109
byte 1 111
byte 1 69
byte 1 110
byte 1 100
byte 1 46
byte 1 82
byte 1 111
byte 1 81
byte 1 32
byte 1 49
byte 1 10
byte 1 0
align 1
LABELV $87
byte 1 117
byte 1 105
byte 1 95
byte 1 99
byte 1 105
byte 1 110
byte 1 101
byte 1 109
byte 1 97
byte 1 116
byte 1 105
byte 1 99
byte 1 115
byte 1 32
byte 1 37
byte 1 105
byte 1 0
align 1
LABELV $86
byte 1 110
byte 1 101
byte 1 120
byte 1 116
byte 1 109
byte 1 97
byte 1 112
byte 1 0
align 1
LABELV $79
byte 1 101
byte 1 110
byte 1 100
byte 1 0
align 1
LABELV $78
byte 1 116
byte 1 105
byte 1 101
byte 1 114
byte 1 55
byte 1 0
align 1
LABELV $77
byte 1 116
byte 1 105
byte 1 101
byte 1 114
byte 1 54
byte 1 0
align 1
LABELV $76
byte 1 116
byte 1 105
byte 1 101
byte 1 114
byte 1 53
byte 1 0
align 1
LABELV $75
byte 1 116
byte 1 105
byte 1 101
byte 1 114
byte 1 52
byte 1 0
align 1
LABELV $74
byte 1 116
byte 1 105
byte 1 101
byte 1 114
byte 1 51
byte 1 0
align 1
LABELV $73
byte 1 116
byte 1 105
byte 1 101
byte 1 114
byte 1 50
byte 1 0
align 1
LABELV $72
byte 1 116
byte 1 105
byte 1 101
byte 1 114
byte 1 49
byte 1 0
align 1
LABELV $71
byte 1 105
byte 1 110
byte 1 116
byte 1 114
byte 1 111
byte 1 0
align 1
LABELV $70
byte 1 105
byte 1 100
byte 1 108
byte 1 111
byte 1 103
byte 1 111
byte 1 0
