data
align 4
LABELV driverinfo_artlist
address $67
address $68
address $69
address $70
byte 4 0
code
proc DriverInfo_Event 4 0
file "../ui_video.c"
line 52
;1:// Copyright (C) 1999-2000 Id Software, Inc.
;2://
;3:#include "ui_local.h"
;4:
;5:void GraphicsOptions_MenuInit( void );
;6:
;7:/*
;8:=======================================================================
;9:
;10:DRIVER INFORMATION MENU
;11:
;12:=======================================================================
;13:*/
;14:
;15:
;16:#define DRIVERINFO_FRAMEL	"menu/art/frame2_l"
;17:#define DRIVERINFO_FRAMER	"menu/art/frame1_r"
;18:#define DRIVERINFO_BACK0	"menu/art/back_0"
;19:#define DRIVERINFO_BACK1	"menu/art/back_1"
;20:
;21:static char* driverinfo_artlist[] = 
;22:{
;23:	DRIVERINFO_FRAMEL,
;24:	DRIVERINFO_FRAMER,
;25:	DRIVERINFO_BACK0,
;26:	DRIVERINFO_BACK1,
;27:	NULL,
;28:};
;29:
;30:#define ID_DRIVERINFOBACK	100
;31:
;32:typedef struct
;33:{
;34:	menuframework_s	menu;
;35:	menutext_s		banner;
;36:	menubitmap_s	back;
;37:	menubitmap_s	framel;
;38:	menubitmap_s	framer;
;39:	char			stringbuff[1024];
;40:	char*			strings[64];
;41:	int				numstrings;
;42:} driverinfo_t;
;43:
;44:static driverinfo_t	s_driverinfo;
;45:
;46:/*
;47:=================
;48:DriverInfo_Event
;49:=================
;50:*/
;51:static void DriverInfo_Event( void* ptr, int event )
;52:{
line 53
;53:	if (event != QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
EQI4 $73
line 54
;54:		return;
ADDRGP4 $72
JUMPV
LABELV $73
line 56
;55:
;56:	switch (((menucommon_s*)ptr)->id)
ADDRLP4 0
ADDRFP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
ASGNI4
ADDRLP4 0
INDIRI4
CNSTI4 100
EQI4 $78
ADDRGP4 $75
JUMPV
line 57
;57:	{
LABELV $78
line 59
;58:		case ID_DRIVERINFOBACK:
;59:			UI_PopMenu();
ADDRGP4 UI_PopMenu
CALLV
pop
line 60
;60:			break;
LABELV $75
LABELV $76
line 62
;61:	}
;62:}
LABELV $72
endproc DriverInfo_Event 4 0
proc DriverInfo_MenuDraw 12 20
line 70
;63:
;64:/*
;65:=================
;66:DriverInfo_MenuDraw
;67:=================
;68:*/
;69:static void DriverInfo_MenuDraw( void )
;70:{
line 74
;71:	int	i;
;72:	int	y;
;73:
;74:	Menu_Draw( &s_driverinfo.menu );
ADDRGP4 s_driverinfo
ARGP4
ADDRGP4 Menu_Draw
CALLV
pop
line 76
;75:
;76:	UI_DrawString( 320, 80, "VENDOR", UI_CENTER|UI_SMALLFONT, color_red );
CNSTI4 320
ARGI4
CNSTI4 80
ARGI4
ADDRGP4 $80
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 color_red
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 77
;77:	UI_DrawString( 320, 152, "PIXELFORMAT", UI_CENTER|UI_SMALLFONT, color_red );
CNSTI4 320
ARGI4
CNSTI4 152
ARGI4
ADDRGP4 $81
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 color_red
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 78
;78:	UI_DrawString( 320, 192, "EXTENSIONS", UI_CENTER|UI_SMALLFONT, color_red );
CNSTI4 320
ARGI4
CNSTI4 192
ARGI4
ADDRGP4 $82
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 color_red
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 80
;79:
;80:	UI_DrawString( 320, 80+16, uis.glconfig.vendor_string, UI_CENTER|UI_SMALLFONT, text_color_normal );
CNSTI4 320
ARGI4
CNSTI4 96
ARGI4
ADDRGP4 uis+56+1024
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 text_color_normal
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 81
;81:	UI_DrawString( 320, 96+16, uis.glconfig.version_string, UI_CENTER|UI_SMALLFONT, text_color_normal );
CNSTI4 320
ARGI4
CNSTI4 112
ARGI4
ADDRGP4 uis+56+2048
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 text_color_normal
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 82
;82:	UI_DrawString( 320, 112+16, uis.glconfig.renderer_string, UI_CENTER|UI_SMALLFONT, text_color_normal );
CNSTI4 320
ARGI4
CNSTI4 128
ARGI4
ADDRGP4 uis+56
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 text_color_normal
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 83
;83:	UI_DrawString( 320, 152+16, va ("color(%d-bits) Z(%d-bits) stencil(%d-bits)", uis.glconfig.colorBits, uis.glconfig.depthBits, uis.glconfig.stencilBits), UI_CENTER|UI_SMALLFONT, text_color_normal );
ADDRGP4 $88
ARGP4
ADDRGP4 uis+56+11272
INDIRI4
ARGI4
ADDRGP4 uis+56+11276
INDIRI4
ARGI4
ADDRGP4 uis+56+11280
INDIRI4
ARGI4
ADDRLP4 8
ADDRGP4 va
CALLP4
ASGNP4
CNSTI4 320
ARGI4
CNSTI4 168
ARGI4
ADDRLP4 8
INDIRP4
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 text_color_normal
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 86
;84:
;85:	// double column
;86:	y = 192+16;
ADDRLP4 4
CNSTI4 208
ASGNI4
line 87
;87:	for (i=0; i<s_driverinfo.numstrings/2; i++) {
ADDRLP4 0
CNSTI4 0
ASGNI4
ADDRGP4 $98
JUMPV
LABELV $95
line 88
;88:		UI_DrawString( 320-4, y, s_driverinfo.strings[i*2], UI_RIGHT|UI_SMALLFONT, text_color_normal );
CNSTI4 316
ARGI4
ADDRLP4 4
INDIRI4
ARGI4
ADDRLP4 0
INDIRI4
CNSTI4 1
LSHI4
CNSTI4 2
LSHI4
ADDRGP4 s_driverinfo+1648
ADDP4
INDIRP4
ARGP4
CNSTI4 18
ARGI4
ADDRGP4 text_color_normal
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 89
;89:		UI_DrawString( 320+4, y, s_driverinfo.strings[i*2+1], UI_LEFT|UI_SMALLFONT, text_color_normal );
CNSTI4 324
ARGI4
ADDRLP4 4
INDIRI4
ARGI4
ADDRLP4 0
INDIRI4
CNSTI4 1
LSHI4
CNSTI4 2
LSHI4
ADDRGP4 s_driverinfo+1648+4
ADDP4
INDIRP4
ARGP4
CNSTI4 16
ARGI4
ADDRGP4 text_color_normal
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
line 90
;90:		y += SMALLCHAR_HEIGHT;
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 16
ADDI4
ASGNI4
line 91
;91:	}
LABELV $96
line 87
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $98
ADDRLP4 0
INDIRI4
ADDRGP4 s_driverinfo+1904
INDIRI4
CNSTI4 2
DIVI4
LTI4 $95
line 93
;92:
;93:	if (s_driverinfo.numstrings & 1)
ADDRGP4 s_driverinfo+1904
INDIRI4
CNSTI4 1
BANDI4
CNSTI4 0
EQI4 $103
line 94
;94:		UI_DrawString( 320, y, s_driverinfo.strings[s_driverinfo.numstrings-1], UI_CENTER|UI_SMALLFONT, text_color_normal );
CNSTI4 320
ARGI4
ADDRLP4 4
INDIRI4
ARGI4
ADDRGP4 s_driverinfo+1904
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 s_driverinfo+1648-4
ADDP4
INDIRP4
ARGP4
CNSTI4 17
ARGI4
ADDRGP4 text_color_normal
ARGP4
ADDRGP4 UI_DrawString
CALLV
pop
LABELV $103
line 95
;95:}
LABELV $79
endproc DriverInfo_MenuDraw 12 20
export DriverInfo_Cache
proc DriverInfo_Cache 4 4
line 103
;96:
;97:/*
;98:=================
;99:DriverInfo_Cache
;100:=================
;101:*/
;102:void DriverInfo_Cache( void )
;103:{
line 107
;104:	int	i;
;105:
;106:	// touch all our pics
;107:	for (i=0; ;i++)
ADDRLP4 0
CNSTI4 0
ASGNI4
LABELV $110
line 108
;108:	{
line 109
;109:		if (!driverinfo_artlist[i])
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 driverinfo_artlist
ADDP4
INDIRP4
CVPU4 4
CNSTU4 0
NEU4 $114
line 110
;110:			break;
ADDRGP4 $112
JUMPV
LABELV $114
line 111
;111:		trap_R_RegisterShaderNoMip(driverinfo_artlist[i]);
ADDRLP4 0
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 driverinfo_artlist
ADDP4
INDIRP4
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 112
;112:	}
LABELV $111
line 107
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRGP4 $110
JUMPV
LABELV $112
line 113
;113:}
LABELV $109
endproc DriverInfo_Cache 4 4
proc UI_DriverInfo_Menu 36 12
line 121
;114:
;115:/*
;116:=================
;117:UI_DriverInfo_Menu
;118:=================
;119:*/
;120:static void UI_DriverInfo_Menu( void )
;121:{
line 127
;122:	char*	eptr;
;123:	int		i;
;124:	int		len;
;125:
;126:	// zero set all our globals
;127:	memset( &s_driverinfo, 0 ,sizeof(driverinfo_t) );
ADDRGP4 s_driverinfo
ARGP4
CNSTI4 0
ARGI4
CNSTI4 1908
ARGI4
ADDRGP4 memset
CALLP4
pop
line 129
;128:
;129:	DriverInfo_Cache();
ADDRGP4 DriverInfo_Cache
CALLV
pop
line 131
;130:
;131:	s_driverinfo.menu.fullscreen = qtrue;
ADDRGP4 s_driverinfo+280
CNSTI4 1
ASGNI4
line 132
;132:	s_driverinfo.menu.draw       = DriverInfo_MenuDraw;
ADDRGP4 s_driverinfo+268
ADDRGP4 DriverInfo_MenuDraw
ASGNP4
line 134
;133:
;134:	s_driverinfo.banner.generic.type  = MTYPE_BTEXT;
ADDRGP4 s_driverinfo+288
CNSTI4 10
ASGNI4
line 135
;135:	s_driverinfo.banner.generic.x	  = 320;
ADDRGP4 s_driverinfo+288+12
CNSTI4 320
ASGNI4
line 136
;136:	s_driverinfo.banner.generic.y	  = 16;
ADDRGP4 s_driverinfo+288+16
CNSTI4 16
ASGNI4
line 137
;137:	s_driverinfo.banner.string		  = "DRIVER INFO";
ADDRGP4 s_driverinfo+288+60
ADDRGP4 $126
ASGNP4
line 138
;138:	s_driverinfo.banner.color	      = color_white;
ADDRGP4 s_driverinfo+288+68
ADDRGP4 color_white
ASGNP4
line 139
;139:	s_driverinfo.banner.style	      = UI_CENTER;
ADDRGP4 s_driverinfo+288+64
CNSTI4 1
ASGNI4
line 141
;140:
;141:	s_driverinfo.framel.generic.type  = MTYPE_BITMAP;
ADDRGP4 s_driverinfo+448
CNSTI4 6
ASGNI4
line 142
;142:	s_driverinfo.framel.generic.name  = DRIVERINFO_FRAMEL;
ADDRGP4 s_driverinfo+448+4
ADDRGP4 $67
ASGNP4
line 143
;143:	s_driverinfo.framel.generic.flags = QMF_INACTIVE;
ADDRGP4 s_driverinfo+448+44
CNSTU4 16384
ASGNU4
line 144
;144:	s_driverinfo.framel.generic.x	  = 0;
ADDRGP4 s_driverinfo+448+12
CNSTI4 0
ASGNI4
line 145
;145:	s_driverinfo.framel.generic.y	  = 78;
ADDRGP4 s_driverinfo+448+16
CNSTI4 78
ASGNI4
line 146
;146:	s_driverinfo.framel.width  	      = 256;
ADDRGP4 s_driverinfo+448+76
CNSTI4 256
ASGNI4
line 147
;147:	s_driverinfo.framel.height  	  = 329;
ADDRGP4 s_driverinfo+448+80
CNSTI4 329
ASGNI4
line 149
;148:
;149:	s_driverinfo.framer.generic.type  = MTYPE_BITMAP;
ADDRGP4 s_driverinfo+536
CNSTI4 6
ASGNI4
line 150
;150:	s_driverinfo.framer.generic.name  = DRIVERINFO_FRAMER;
ADDRGP4 s_driverinfo+536+4
ADDRGP4 $68
ASGNP4
line 151
;151:	s_driverinfo.framer.generic.flags = QMF_INACTIVE;
ADDRGP4 s_driverinfo+536+44
CNSTU4 16384
ASGNU4
line 152
;152:	s_driverinfo.framer.generic.x	  = 376;
ADDRGP4 s_driverinfo+536+12
CNSTI4 376
ASGNI4
line 153
;153:	s_driverinfo.framer.generic.y	  = 76;
ADDRGP4 s_driverinfo+536+16
CNSTI4 76
ASGNI4
line 154
;154:	s_driverinfo.framer.width  	      = 256;
ADDRGP4 s_driverinfo+536+76
CNSTI4 256
ASGNI4
line 155
;155:	s_driverinfo.framer.height  	  = 334;
ADDRGP4 s_driverinfo+536+80
CNSTI4 334
ASGNI4
line 157
;156:
;157:	s_driverinfo.back.generic.type	   = MTYPE_BITMAP;
ADDRGP4 s_driverinfo+360
CNSTI4 6
ASGNI4
line 158
;158:	s_driverinfo.back.generic.name     = DRIVERINFO_BACK0;
ADDRGP4 s_driverinfo+360+4
ADDRGP4 $69
ASGNP4
line 159
;159:	s_driverinfo.back.generic.flags    = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 s_driverinfo+360+44
CNSTU4 260
ASGNU4
line 160
;160:	s_driverinfo.back.generic.callback = DriverInfo_Event;
ADDRGP4 s_driverinfo+360+48
ADDRGP4 DriverInfo_Event
ASGNP4
line 161
;161:	s_driverinfo.back.generic.id	   = ID_DRIVERINFOBACK;
ADDRGP4 s_driverinfo+360+8
CNSTI4 100
ASGNI4
line 162
;162:	s_driverinfo.back.generic.x		   = 0;
ADDRGP4 s_driverinfo+360+12
CNSTI4 0
ASGNI4
line 163
;163:	s_driverinfo.back.generic.y		   = 480-64;
ADDRGP4 s_driverinfo+360+16
CNSTI4 416
ASGNI4
line 164
;164:	s_driverinfo.back.width  		   = 128;
ADDRGP4 s_driverinfo+360+76
CNSTI4 128
ASGNI4
line 165
;165:	s_driverinfo.back.height  		   = 64;
ADDRGP4 s_driverinfo+360+80
CNSTI4 64
ASGNI4
line 166
;166:	s_driverinfo.back.focuspic         = DRIVERINFO_BACK1;
ADDRGP4 s_driverinfo+360+60
ADDRGP4 $70
ASGNP4
line 168
;167:
;168:	strcpy( s_driverinfo.stringbuff, uis.glconfig.extensions_string );
ADDRGP4 s_driverinfo+624
ARGP4
ADDRGP4 uis+56+3072
ARGP4
ADDRGP4 strcpy
CALLP4
pop
line 171
;169:
;170:	// build null terminated extension strings
;171:	eptr = s_driverinfo.stringbuff;
ADDRLP4 0
ADDRGP4 s_driverinfo+624
ASGNP4
ADDRGP4 $181
JUMPV
line 173
;172:	while ( s_driverinfo.numstrings<40 && *eptr )
;173:	{
LABELV $184
line 175
;174:		while ( *eptr && *eptr == ' ' )
;175:			*eptr++ = '\0';
ADDRLP4 12
ADDRLP4 0
INDIRP4
ASGNP4
ADDRLP4 0
ADDRLP4 12
INDIRP4
CNSTI4 1
ADDP4
ASGNP4
ADDRLP4 12
INDIRP4
CNSTI1 0
ASGNI1
LABELV $185
line 174
ADDRLP4 16
ADDRLP4 0
INDIRP4
INDIRI1
CVII4 1
ASGNI4
ADDRLP4 16
INDIRI4
CNSTI4 0
EQI4 $187
ADDRLP4 16
INDIRI4
CNSTI4 32
EQI4 $184
LABELV $187
line 178
;176:
;177:		// track start of valid string
;178:		if (*eptr && *eptr != ' ')
ADDRLP4 20
ADDRLP4 0
INDIRP4
INDIRI1
CVII4 1
ASGNI4
ADDRLP4 20
INDIRI4
CNSTI4 0
EQI4 $193
ADDRLP4 20
INDIRI4
CNSTI4 32
EQI4 $193
line 179
;179:			s_driverinfo.strings[s_driverinfo.numstrings++] = eptr;
ADDRLP4 28
ADDRGP4 s_driverinfo+1904
ASGNP4
ADDRLP4 24
ADDRLP4 28
INDIRP4
INDIRI4
ASGNI4
ADDRLP4 28
INDIRP4
ADDRLP4 24
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
ADDRLP4 24
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 s_driverinfo+1648
ADDP4
ADDRLP4 0
INDIRP4
ASGNP4
ADDRGP4 $193
JUMPV
LABELV $192
line 182
;180:
;181:		while ( *eptr && *eptr != ' ' )
;182:			eptr++;
ADDRLP4 0
ADDRLP4 0
INDIRP4
CNSTI4 1
ADDP4
ASGNP4
LABELV $193
line 181
ADDRLP4 32
ADDRLP4 0
INDIRP4
INDIRI1
CVII4 1
ASGNI4
ADDRLP4 32
INDIRI4
CNSTI4 0
EQI4 $195
ADDRLP4 32
INDIRI4
CNSTI4 32
NEI4 $192
LABELV $195
line 183
;183:	}
LABELV $181
line 172
ADDRGP4 s_driverinfo+1904
INDIRI4
CNSTI4 40
GEI4 $196
ADDRLP4 0
INDIRP4
INDIRI1
CVII4 1
CNSTI4 0
NEI4 $185
LABELV $196
line 186
;184:
;185:	// safety length strings for display
;186:	for (i=0; i<s_driverinfo.numstrings; i++) {
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRGP4 $200
JUMPV
LABELV $197
line 187
;187:		len = strlen(s_driverinfo.strings[i]);
ADDRLP4 4
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 s_driverinfo+1648
ADDP4
INDIRP4
ARGP4
ADDRLP4 12
ADDRGP4 strlen
CALLI4
ASGNI4
ADDRLP4 8
ADDRLP4 12
INDIRI4
ASGNI4
line 188
;188:		if (len > 32) {
ADDRLP4 8
INDIRI4
CNSTI4 32
LEI4 $203
line 189
;189:			s_driverinfo.strings[i][len-1] = '>';
ADDRLP4 8
INDIRI4
CNSTI4 1
SUBI4
ADDRLP4 4
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 s_driverinfo+1648
ADDP4
INDIRP4
ADDP4
CNSTI1 62
ASGNI1
line 190
;190:			s_driverinfo.strings[i][len]   = '\0';
ADDRLP4 8
INDIRI4
ADDRLP4 4
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 s_driverinfo+1648
ADDP4
INDIRP4
ADDP4
CNSTI1 0
ASGNI1
line 191
;191:		}
LABELV $203
line 192
;192:	}
LABELV $198
line 186
ADDRLP4 4
ADDRLP4 4
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $200
ADDRLP4 4
INDIRI4
ADDRGP4 s_driverinfo+1904
INDIRI4
LTI4 $197
line 194
;193:
;194:	Menu_AddItem( &s_driverinfo.menu, &s_driverinfo.banner );
ADDRGP4 s_driverinfo
ARGP4
ADDRGP4 s_driverinfo+288
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 195
;195:	Menu_AddItem( &s_driverinfo.menu, &s_driverinfo.framel );
ADDRGP4 s_driverinfo
ARGP4
ADDRGP4 s_driverinfo+448
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 196
;196:	Menu_AddItem( &s_driverinfo.menu, &s_driverinfo.framer );
ADDRGP4 s_driverinfo
ARGP4
ADDRGP4 s_driverinfo+536
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 197
;197:	Menu_AddItem( &s_driverinfo.menu, &s_driverinfo.back );
ADDRGP4 s_driverinfo
ARGP4
ADDRGP4 s_driverinfo+360
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 199
;198:
;199:	UI_PushMenu( &s_driverinfo.menu );
ADDRGP4 s_driverinfo
ARGP4
ADDRGP4 UI_PushMenu
CALLV
pop
line 200
;200:}
LABELV $116
endproc UI_DriverInfo_Menu 36 12
data
align 4
LABELV s_drivers
address $211
address $212
byte 4 0
align 4
LABELV s_ivo_templates
byte 4 4
byte 4 1
byte 4 2
byte 4 0
byte 4 2
byte 4 2
byte 4 1
byte 4 1
byte 4 0
byte 4 1
byte 4 3
byte 4 1
byte 4 2
byte 4 0
byte 4 0
byte 4 0
byte 4 1
byte 4 0
byte 4 0
byte 4 1
byte 4 2
byte 4 1
byte 4 1
byte 4 0
byte 4 1
byte 4 0
byte 4 0
byte 4 0
byte 4 0
byte 4 1
byte 4 2
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 3
byte 4 1
byte 4 1
byte 4 0
byte 4 0
byte 4 0
byte 4 1
byte 4 0
byte 4 0
byte 4 1
code
proc GraphicsOptions_GetInitialVideo 0 0
line 307
;201:
;202:/*
;203:=======================================================================
;204:
;205:GRAPHICS OPTIONS MENU
;206:
;207:=======================================================================
;208:*/
;209:
;210:#define GRAPHICSOPTIONS_FRAMEL	"menu/art/frame2_l"
;211:#define GRAPHICSOPTIONS_FRAMER	"menu/art/frame1_r"
;212:#define GRAPHICSOPTIONS_BACK0	"menu/art/back_0"
;213:#define GRAPHICSOPTIONS_BACK1	"menu/art/back_1"
;214:#define GRAPHICSOPTIONS_ACCEPT0	"menu/art/accept_0"
;215:#define GRAPHICSOPTIONS_ACCEPT1	"menu/art/accept_1"
;216:
;217:static const char *s_drivers[] =
;218:{
;219:	OPENGL_DRIVER_NAME,
;220:	_3DFX_DRIVER_NAME,
;221:	0
;222:};
;223:
;224:#define ID_BACK2		101
;225:#define ID_FULLSCREEN	102
;226:#define ID_LIST			103
;227:#define ID_MODE			104
;228:#define ID_DRIVERINFO	105
;229:#define ID_GRAPHICS		106
;230:#define ID_DISPLAY		107
;231:#define ID_SOUND		108
;232:#define ID_NETWORK		109
;233:
;234:typedef struct {
;235:	menuframework_s	menu;
;236:
;237:	menutext_s		banner;
;238:	menubitmap_s	framel;
;239:	menubitmap_s	framer;
;240:
;241:	menutext_s		graphics;
;242:	menutext_s		display;
;243:	menutext_s		sound;
;244:	menutext_s		network;
;245:
;246:	menulist_s		list;
;247:	menulist_s		mode;
;248:	menulist_s		driver;
;249:	menuslider_s	tq;
;250:	menulist_s  	fs;
;251:	menulist_s  	lighting;
;252:	menulist_s  	allow_extensions;
;253:	menulist_s  	texturebits;
;254:	menulist_s  	colordepth;
;255:	menulist_s  	geometry;
;256:	menulist_s  	filter;
;257:	menutext_s		driverinfo;
;258:
;259:	menubitmap_s	apply;
;260:	menubitmap_s	back;
;261:} graphicsoptions_t;
;262:
;263:typedef struct
;264:{
;265:	int mode;
;266:	qboolean fullscreen;
;267:	int tq;
;268:	int lighting;
;269:	int colordepth;
;270:	int texturebits;
;271:	int geometry;
;272:	int filter;
;273:	int driver;
;274:	qboolean extensions;
;275:} InitialVideoOptions_s;
;276:
;277:static InitialVideoOptions_s	s_ivo;
;278:static graphicsoptions_t		s_graphicsoptions;	
;279:
;280:static InitialVideoOptions_s s_ivo_templates[] =
;281:{
;282:	{
;283:		4, qtrue, 2, 0, 2, 2, 1, 1, 0, qtrue	// JDC: this was tq 3
;284:	},
;285:	{
;286:		3, qtrue, 2, 0, 0, 0, 1, 0, 0, qtrue
;287:	},
;288:	{
;289:		2, qtrue, 1, 0, 1, 0, 0, 0, 0, qtrue
;290:	},
;291:	{
;292:		2, qtrue, 1, 1, 1, 0, 0, 0, 0, qtrue
;293:	},
;294:	{
;295:		3, qtrue, 1, 0, 0, 0, 1, 0, 0, qtrue
;296:	}
;297:};
;298:
;299:#define NUM_IVO_TEMPLATES ( sizeof( s_ivo_templates ) / sizeof( s_ivo_templates[0] ) )
;300:
;301:/*
;302:=================
;303:GraphicsOptions_GetInitialVideo
;304:=================
;305:*/
;306:static void GraphicsOptions_GetInitialVideo( void )
;307:{
line 308
;308:	s_ivo.colordepth  = s_graphicsoptions.colordepth.curvalue;
ADDRGP4 s_ivo+16
ADDRGP4 s_graphicsoptions+1572+64
INDIRI4
ASGNI4
line 309
;309:	s_ivo.driver      = s_graphicsoptions.driver.curvalue;
ADDRGP4 s_ivo+32
ADDRGP4 s_graphicsoptions+1016+64
INDIRI4
ASGNI4
line 310
;310:	s_ivo.mode        = s_graphicsoptions.mode.curvalue;
ADDRGP4 s_ivo
ADDRGP4 s_graphicsoptions+920+64
INDIRI4
ASGNI4
line 311
;311:	s_ivo.fullscreen  = s_graphicsoptions.fs.curvalue;
ADDRGP4 s_ivo+4
ADDRGP4 s_graphicsoptions+1188+64
INDIRI4
ASGNI4
line 312
;312:	s_ivo.extensions  = s_graphicsoptions.allow_extensions.curvalue;
ADDRGP4 s_ivo+36
ADDRGP4 s_graphicsoptions+1380+64
INDIRI4
ASGNI4
line 313
;313:	s_ivo.tq          = s_graphicsoptions.tq.curvalue;
ADDRGP4 s_ivo+8
ADDRGP4 s_graphicsoptions+1112+68
INDIRF4
CVFI4 4
ASGNI4
line 314
;314:	s_ivo.lighting    = s_graphicsoptions.lighting.curvalue;
ADDRGP4 s_ivo+12
ADDRGP4 s_graphicsoptions+1284+64
INDIRI4
ASGNI4
line 315
;315:	s_ivo.geometry    = s_graphicsoptions.geometry.curvalue;
ADDRGP4 s_ivo+24
ADDRGP4 s_graphicsoptions+1668+64
INDIRI4
ASGNI4
line 316
;316:	s_ivo.filter      = s_graphicsoptions.filter.curvalue;
ADDRGP4 s_ivo+28
ADDRGP4 s_graphicsoptions+1764+64
INDIRI4
ASGNI4
line 317
;317:	s_ivo.texturebits = s_graphicsoptions.texturebits.curvalue;
ADDRGP4 s_ivo+20
ADDRGP4 s_graphicsoptions+1476+64
INDIRI4
ASGNI4
line 318
;318:}
LABELV $215
endproc GraphicsOptions_GetInitialVideo 0 0
proc GraphicsOptions_CheckConfig 4 0
line 326
;319:
;320:/*
;321:=================
;322:GraphicsOptions_CheckConfig
;323:=================
;324:*/
;325:static void GraphicsOptions_CheckConfig( void )
;326:{
line 329
;327:	int i;
;328:
;329:	for ( i = 0; i < NUM_IVO_TEMPLATES; i++ )
ADDRLP4 0
CNSTI4 0
ASGNI4
ADDRGP4 $249
JUMPV
LABELV $246
line 330
;330:	{
line 331
;331:		if ( s_ivo_templates[i].colordepth != s_graphicsoptions.colordepth.curvalue )
CNSTI4 40
ADDRLP4 0
INDIRI4
MULI4
ADDRGP4 s_ivo_templates+16
ADDP4
INDIRI4
ADDRGP4 s_graphicsoptions+1572+64
INDIRI4
EQI4 $250
line 332
;332:			continue;
ADDRGP4 $247
JUMPV
LABELV $250
line 333
;333:		if ( s_ivo_templates[i].driver != s_graphicsoptions.driver.curvalue )
CNSTI4 40
ADDRLP4 0
INDIRI4
MULI4
ADDRGP4 s_ivo_templates+32
ADDP4
INDIRI4
ADDRGP4 s_graphicsoptions+1016+64
INDIRI4
EQI4 $255
line 334
;334:			continue;
ADDRGP4 $247
JUMPV
LABELV $255
line 335
;335:		if ( s_ivo_templates[i].mode != s_graphicsoptions.mode.curvalue )
CNSTI4 40
ADDRLP4 0
INDIRI4
MULI4
ADDRGP4 s_ivo_templates
ADDP4
INDIRI4
ADDRGP4 s_graphicsoptions+920+64
INDIRI4
EQI4 $260
line 336
;336:			continue;
ADDRGP4 $247
JUMPV
LABELV $260
line 337
;337:		if ( s_ivo_templates[i].fullscreen != s_graphicsoptions.fs.curvalue )
CNSTI4 40
ADDRLP4 0
INDIRI4
MULI4
ADDRGP4 s_ivo_templates+4
ADDP4
INDIRI4
ADDRGP4 s_graphicsoptions+1188+64
INDIRI4
EQI4 $264
line 338
;338:			continue;
ADDRGP4 $247
JUMPV
LABELV $264
line 339
;339:		if ( s_ivo_templates[i].tq != s_graphicsoptions.tq.curvalue )
CNSTI4 40
ADDRLP4 0
INDIRI4
MULI4
ADDRGP4 s_ivo_templates+8
ADDP4
INDIRI4
CVIF4 4
ADDRGP4 s_graphicsoptions+1112+68
INDIRF4
EQF4 $269
line 340
;340:			continue;
ADDRGP4 $247
JUMPV
LABELV $269
line 341
;341:		if ( s_ivo_templates[i].lighting != s_graphicsoptions.lighting.curvalue )
CNSTI4 40
ADDRLP4 0
INDIRI4
MULI4
ADDRGP4 s_ivo_templates+12
ADDP4
INDIRI4
ADDRGP4 s_graphicsoptions+1284+64
INDIRI4
EQI4 $274
line 342
;342:			continue;
ADDRGP4 $247
JUMPV
LABELV $274
line 343
;343:		if ( s_ivo_templates[i].geometry != s_graphicsoptions.geometry.curvalue )
CNSTI4 40
ADDRLP4 0
INDIRI4
MULI4
ADDRGP4 s_ivo_templates+24
ADDP4
INDIRI4
ADDRGP4 s_graphicsoptions+1668+64
INDIRI4
EQI4 $279
line 344
;344:			continue;
ADDRGP4 $247
JUMPV
LABELV $279
line 345
;345:		if ( s_ivo_templates[i].filter != s_graphicsoptions.filter.curvalue )
CNSTI4 40
ADDRLP4 0
INDIRI4
MULI4
ADDRGP4 s_ivo_templates+28
ADDP4
INDIRI4
ADDRGP4 s_graphicsoptions+1764+64
INDIRI4
EQI4 $284
line 346
;346:			continue;
ADDRGP4 $247
JUMPV
LABELV $284
line 349
;347://		if ( s_ivo_templates[i].texturebits != s_graphicsoptions.texturebits.curvalue )
;348://			continue;
;349:		s_graphicsoptions.list.curvalue = i;
ADDRGP4 s_graphicsoptions+824+64
ADDRLP4 0
INDIRI4
ASGNI4
line 350
;350:		return;
ADDRGP4 $245
JUMPV
LABELV $247
line 329
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 1
ADDI4
ASGNI4
LABELV $249
ADDRLP4 0
INDIRI4
CVIU4 4
CNSTU4 5
LTU4 $246
line 352
;351:	}
;352:	s_graphicsoptions.list.curvalue = 4;
ADDRGP4 s_graphicsoptions+824+64
CNSTI4 4
ASGNI4
line 353
;353:}
LABELV $245
endproc GraphicsOptions_CheckConfig 4 0
proc GraphicsOptions_UpdateMenuItems 8 0
line 361
;354:
;355:/*
;356:=================
;357:GraphicsOptions_UpdateMenuItems
;358:=================
;359:*/
;360:static void GraphicsOptions_UpdateMenuItems( void )
;361:{
line 362
;362:	if ( s_graphicsoptions.driver.curvalue == 1 )
ADDRGP4 s_graphicsoptions+1016+64
INDIRI4
CNSTI4 1
NEI4 $294
line 363
;363:	{
line 364
;364:		s_graphicsoptions.fs.curvalue = 1;
ADDRGP4 s_graphicsoptions+1188+64
CNSTI4 1
ASGNI4
line 365
;365:		s_graphicsoptions.fs.generic.flags |= QMF_GRAYED;
ADDRLP4 0
ADDRGP4 s_graphicsoptions+1188+44
ASGNP4
ADDRLP4 0
INDIRP4
ADDRLP4 0
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 366
;366:		s_graphicsoptions.colordepth.curvalue = 1;
ADDRGP4 s_graphicsoptions+1572+64
CNSTI4 1
ASGNI4
line 367
;367:	}
ADDRGP4 $295
JUMPV
LABELV $294
line 369
;368:	else
;369:	{
line 370
;370:		s_graphicsoptions.fs.generic.flags &= ~QMF_GRAYED;
ADDRLP4 0
ADDRGP4 s_graphicsoptions+1188+44
ASGNP4
ADDRLP4 0
INDIRP4
ADDRLP4 0
INDIRP4
INDIRU4
CNSTU4 4294959103
BANDU4
ASGNU4
line 371
;371:	}
LABELV $295
line 373
;372:
;373:	if ( s_graphicsoptions.fs.curvalue == 0 || s_graphicsoptions.driver.curvalue == 1 )
ADDRGP4 s_graphicsoptions+1188+64
INDIRI4
CNSTI4 0
EQI4 $312
ADDRGP4 s_graphicsoptions+1016+64
INDIRI4
CNSTI4 1
NEI4 $306
LABELV $312
line 374
;374:	{
line 375
;375:		s_graphicsoptions.colordepth.curvalue = 0;
ADDRGP4 s_graphicsoptions+1572+64
CNSTI4 0
ASGNI4
line 376
;376:		s_graphicsoptions.colordepth.generic.flags |= QMF_GRAYED;
ADDRLP4 0
ADDRGP4 s_graphicsoptions+1572+44
ASGNP4
ADDRLP4 0
INDIRP4
ADDRLP4 0
INDIRP4
INDIRU4
CNSTU4 8192
BORU4
ASGNU4
line 377
;377:	}
ADDRGP4 $307
JUMPV
LABELV $306
line 379
;378:	else
;379:	{
line 380
;380:		s_graphicsoptions.colordepth.generic.flags &= ~QMF_GRAYED;
ADDRLP4 0
ADDRGP4 s_graphicsoptions+1572+44
ASGNP4
ADDRLP4 0
INDIRP4
ADDRLP4 0
INDIRP4
INDIRU4
CNSTU4 4294959103
BANDU4
ASGNU4
line 381
;381:	}
LABELV $307
line 383
;382:
;383:	if ( s_graphicsoptions.allow_extensions.curvalue == 0 )
ADDRGP4 s_graphicsoptions+1380+64
INDIRI4
CNSTI4 0
NEI4 $319
line 384
;384:	{
line 385
;385:		if ( s_graphicsoptions.texturebits.curvalue == 0 )
ADDRGP4 s_graphicsoptions+1476+64
INDIRI4
CNSTI4 0
NEI4 $323
line 386
;386:		{
line 387
;387:			s_graphicsoptions.texturebits.curvalue = 1;
ADDRGP4 s_graphicsoptions+1476+64
CNSTI4 1
ASGNI4
line 388
;388:		}
LABELV $323
line 389
;389:	}
LABELV $319
line 391
;390:
;391:	s_graphicsoptions.apply.generic.flags |= QMF_HIDDEN|QMF_INACTIVE;
ADDRLP4 0
ADDRGP4 s_graphicsoptions+1932+44
ASGNP4
ADDRLP4 0
INDIRP4
ADDRLP4 0
INDIRP4
INDIRU4
CNSTU4 20480
BORU4
ASGNU4
line 393
;392:
;393:	if ( s_ivo.mode != s_graphicsoptions.mode.curvalue )
ADDRGP4 s_ivo
INDIRI4
ADDRGP4 s_graphicsoptions+920+64
INDIRI4
EQI4 $331
line 394
;394:	{
line 395
;395:		s_graphicsoptions.apply.generic.flags &= ~(QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 4
ADDRGP4 s_graphicsoptions+1932+44
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRU4
CNSTU4 4294946815
BANDU4
ASGNU4
line 396
;396:	}
LABELV $331
line 397
;397:	if ( s_ivo.fullscreen != s_graphicsoptions.fs.curvalue )
ADDRGP4 s_ivo+4
INDIRI4
ADDRGP4 s_graphicsoptions+1188+64
INDIRI4
EQI4 $337
line 398
;398:	{
line 399
;399:		s_graphicsoptions.apply.generic.flags &= ~(QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 4
ADDRGP4 s_graphicsoptions+1932+44
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRU4
CNSTU4 4294946815
BANDU4
ASGNU4
line 400
;400:	}
LABELV $337
line 401
;401:	if ( s_ivo.extensions != s_graphicsoptions.allow_extensions.curvalue )
ADDRGP4 s_ivo+36
INDIRI4
ADDRGP4 s_graphicsoptions+1380+64
INDIRI4
EQI4 $344
line 402
;402:	{
line 403
;403:		s_graphicsoptions.apply.generic.flags &= ~(QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 4
ADDRGP4 s_graphicsoptions+1932+44
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRU4
CNSTU4 4294946815
BANDU4
ASGNU4
line 404
;404:	}
LABELV $344
line 405
;405:	if ( s_ivo.tq != s_graphicsoptions.tq.curvalue )
ADDRGP4 s_ivo+8
INDIRI4
CVIF4 4
ADDRGP4 s_graphicsoptions+1112+68
INDIRF4
EQF4 $351
line 406
;406:	{
line 407
;407:		s_graphicsoptions.apply.generic.flags &= ~(QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 4
ADDRGP4 s_graphicsoptions+1932+44
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRU4
CNSTU4 4294946815
BANDU4
ASGNU4
line 408
;408:	}
LABELV $351
line 409
;409:	if ( s_ivo.lighting != s_graphicsoptions.lighting.curvalue )
ADDRGP4 s_ivo+12
INDIRI4
ADDRGP4 s_graphicsoptions+1284+64
INDIRI4
EQI4 $358
line 410
;410:	{
line 411
;411:		s_graphicsoptions.apply.generic.flags &= ~(QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 4
ADDRGP4 s_graphicsoptions+1932+44
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRU4
CNSTU4 4294946815
BANDU4
ASGNU4
line 412
;412:	}
LABELV $358
line 413
;413:	if ( s_ivo.colordepth != s_graphicsoptions.colordepth.curvalue )
ADDRGP4 s_ivo+16
INDIRI4
ADDRGP4 s_graphicsoptions+1572+64
INDIRI4
EQI4 $365
line 414
;414:	{
line 415
;415:		s_graphicsoptions.apply.generic.flags &= ~(QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 4
ADDRGP4 s_graphicsoptions+1932+44
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRU4
CNSTU4 4294946815
BANDU4
ASGNU4
line 416
;416:	}
LABELV $365
line 417
;417:	if ( s_ivo.driver != s_graphicsoptions.driver.curvalue )
ADDRGP4 s_ivo+32
INDIRI4
ADDRGP4 s_graphicsoptions+1016+64
INDIRI4
EQI4 $372
line 418
;418:	{
line 419
;419:		s_graphicsoptions.apply.generic.flags &= ~(QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 4
ADDRGP4 s_graphicsoptions+1932+44
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRU4
CNSTU4 4294946815
BANDU4
ASGNU4
line 420
;420:	}
LABELV $372
line 421
;421:	if ( s_ivo.texturebits != s_graphicsoptions.texturebits.curvalue )
ADDRGP4 s_ivo+20
INDIRI4
ADDRGP4 s_graphicsoptions+1476+64
INDIRI4
EQI4 $379
line 422
;422:	{
line 423
;423:		s_graphicsoptions.apply.generic.flags &= ~(QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 4
ADDRGP4 s_graphicsoptions+1932+44
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRU4
CNSTU4 4294946815
BANDU4
ASGNU4
line 424
;424:	}
LABELV $379
line 425
;425:	if ( s_ivo.geometry != s_graphicsoptions.geometry.curvalue )
ADDRGP4 s_ivo+24
INDIRI4
ADDRGP4 s_graphicsoptions+1668+64
INDIRI4
EQI4 $386
line 426
;426:	{
line 427
;427:		s_graphicsoptions.apply.generic.flags &= ~(QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 4
ADDRGP4 s_graphicsoptions+1932+44
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRU4
CNSTU4 4294946815
BANDU4
ASGNU4
line 428
;428:	}
LABELV $386
line 429
;429:	if ( s_ivo.filter != s_graphicsoptions.filter.curvalue )
ADDRGP4 s_ivo+28
INDIRI4
ADDRGP4 s_graphicsoptions+1764+64
INDIRI4
EQI4 $393
line 430
;430:	{
line 431
;431:		s_graphicsoptions.apply.generic.flags &= ~(QMF_HIDDEN|QMF_INACTIVE);
ADDRLP4 4
ADDRGP4 s_graphicsoptions+1932+44
ASGNP4
ADDRLP4 4
INDIRP4
ADDRLP4 4
INDIRP4
INDIRU4
CNSTU4 4294946815
BANDU4
ASGNU4
line 432
;432:	}
LABELV $393
line 434
;433:
;434:	GraphicsOptions_CheckConfig();
ADDRGP4 GraphicsOptions_CheckConfig
CALLV
pop
line 435
;435:}	
LABELV $293
endproc GraphicsOptions_UpdateMenuItems 8 0
proc GraphicsOptions_ApplyChanges 8 8
line 443
;436:
;437:/*
;438:=================
;439:GraphicsOptions_ApplyChanges
;440:=================
;441:*/
;442:static void GraphicsOptions_ApplyChanges( void *unused, int notification )
;443:{
line 444
;444:	if (notification != QM_ACTIVATED)
ADDRFP4 4
INDIRI4
CNSTI4 3
EQI4 $401
line 445
;445:		return;
ADDRGP4 $400
JUMPV
LABELV $401
line 447
;446:
;447:	switch ( s_graphicsoptions.texturebits.curvalue  )
ADDRLP4 0
ADDRGP4 s_graphicsoptions+1476+64
INDIRI4
ASGNI4
ADDRLP4 0
INDIRI4
CNSTI4 0
EQI4 $407
ADDRLP4 0
INDIRI4
CNSTI4 1
EQI4 $409
ADDRLP4 0
INDIRI4
CNSTI4 2
EQI4 $410
ADDRGP4 $403
JUMPV
line 448
;448:	{
LABELV $407
line 450
;449:	case 0:
;450:		trap_Cvar_SetValue( "r_texturebits", 0 );
ADDRGP4 $408
ARGP4
CNSTF4 0
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 451
;451:		break;
ADDRGP4 $404
JUMPV
LABELV $409
line 453
;452:	case 1:
;453:		trap_Cvar_SetValue( "r_texturebits", 16 );
ADDRGP4 $408
ARGP4
CNSTF4 1098907648
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 454
;454:		break;
ADDRGP4 $404
JUMPV
LABELV $410
line 456
;455:	case 2:
;456:		trap_Cvar_SetValue( "r_texturebits", 32 );
ADDRGP4 $408
ARGP4
CNSTF4 1107296256
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 457
;457:		break;
LABELV $403
LABELV $404
line 459
;458:	}
;459:	trap_Cvar_SetValue( "r_picmip", 3 - s_graphicsoptions.tq.curvalue );
ADDRGP4 $411
ARGP4
CNSTF4 1077936128
ADDRGP4 s_graphicsoptions+1112+68
INDIRF4
SUBF4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 460
;460:	trap_Cvar_SetValue( "r_allowExtensions", s_graphicsoptions.allow_extensions.curvalue );
ADDRGP4 $414
ARGP4
ADDRGP4 s_graphicsoptions+1380+64
INDIRI4
CVIF4 4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 461
;461:	trap_Cvar_SetValue( "r_mode", s_graphicsoptions.mode.curvalue );
ADDRGP4 $417
ARGP4
ADDRGP4 s_graphicsoptions+920+64
INDIRI4
CVIF4 4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 462
;462:	trap_Cvar_SetValue( "r_fullscreen", s_graphicsoptions.fs.curvalue );
ADDRGP4 $420
ARGP4
ADDRGP4 s_graphicsoptions+1188+64
INDIRI4
CVIF4 4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 463
;463:	trap_Cvar_Set( "r_glDriver", ( char * ) s_drivers[s_graphicsoptions.driver.curvalue] );
ADDRGP4 $423
ARGP4
ADDRGP4 s_graphicsoptions+1016+64
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 s_drivers
ADDP4
INDIRP4
ARGP4
ADDRGP4 trap_Cvar_Set
CALLV
pop
line 464
;464:	switch ( s_graphicsoptions.colordepth.curvalue )
ADDRLP4 4
ADDRGP4 s_graphicsoptions+1572+64
INDIRI4
ASGNI4
ADDRLP4 4
INDIRI4
CNSTI4 0
EQI4 $430
ADDRLP4 4
INDIRI4
CNSTI4 1
EQI4 $434
ADDRLP4 4
INDIRI4
CNSTI4 2
EQI4 $435
ADDRGP4 $426
JUMPV
line 465
;465:	{
LABELV $430
line 467
;466:	case 0:
;467:		trap_Cvar_SetValue( "r_colorbits", 0 );
ADDRGP4 $431
ARGP4
CNSTF4 0
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 468
;468:		trap_Cvar_SetValue( "r_depthbits", 0 );
ADDRGP4 $432
ARGP4
CNSTF4 0
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 469
;469:		trap_Cvar_SetValue( "r_stencilbits", 0 );
ADDRGP4 $433
ARGP4
CNSTF4 0
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 470
;470:		break;
ADDRGP4 $427
JUMPV
LABELV $434
line 472
;471:	case 1:
;472:		trap_Cvar_SetValue( "r_colorbits", 16 );
ADDRGP4 $431
ARGP4
CNSTF4 1098907648
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 473
;473:		trap_Cvar_SetValue( "r_depthbits", 16 );
ADDRGP4 $432
ARGP4
CNSTF4 1098907648
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 474
;474:		trap_Cvar_SetValue( "r_stencilbits", 0 );
ADDRGP4 $433
ARGP4
CNSTF4 0
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 475
;475:		break;
ADDRGP4 $427
JUMPV
LABELV $435
line 477
;476:	case 2:
;477:		trap_Cvar_SetValue( "r_colorbits", 32 );
ADDRGP4 $431
ARGP4
CNSTF4 1107296256
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 478
;478:		trap_Cvar_SetValue( "r_depthbits", 24 );
ADDRGP4 $432
ARGP4
CNSTF4 1103101952
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 479
;479:		break;
LABELV $426
LABELV $427
line 481
;480:	}
;481:	trap_Cvar_SetValue( "r_vertexLight", s_graphicsoptions.lighting.curvalue );
ADDRGP4 $436
ARGP4
ADDRGP4 s_graphicsoptions+1284+64
INDIRI4
CVIF4 4
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 483
;482:
;483:	if ( s_graphicsoptions.geometry.curvalue == 2 )
ADDRGP4 s_graphicsoptions+1668+64
INDIRI4
CNSTI4 2
NEI4 $439
line 484
;484:	{
line 485
;485:		trap_Cvar_SetValue( "r_lodBias", 0 );
ADDRGP4 $443
ARGP4
CNSTF4 0
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 486
;486:		trap_Cvar_SetValue( "r_subdivisions", 4 );
ADDRGP4 $444
ARGP4
CNSTF4 1082130432
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 487
;487:	}
ADDRGP4 $440
JUMPV
LABELV $439
line 488
;488:	else if ( s_graphicsoptions.geometry.curvalue == 1 )
ADDRGP4 s_graphicsoptions+1668+64
INDIRI4
CNSTI4 1
NEI4 $445
line 489
;489:	{
line 490
;490:		trap_Cvar_SetValue( "r_lodBias", 1 );
ADDRGP4 $443
ARGP4
CNSTF4 1065353216
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 491
;491:		trap_Cvar_SetValue( "r_subdivisions", 12 );
ADDRGP4 $444
ARGP4
CNSTF4 1094713344
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 492
;492:	}
ADDRGP4 $446
JUMPV
LABELV $445
line 494
;493:	else
;494:	{
line 495
;495:		trap_Cvar_SetValue( "r_lodBias", 1 );
ADDRGP4 $443
ARGP4
CNSTF4 1065353216
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 496
;496:		trap_Cvar_SetValue( "r_subdivisions", 20 );
ADDRGP4 $444
ARGP4
CNSTF4 1101004800
ARGF4
ADDRGP4 trap_Cvar_SetValue
CALLV
pop
line 497
;497:	}
LABELV $446
LABELV $440
line 499
;498:
;499:	if ( s_graphicsoptions.filter.curvalue )
ADDRGP4 s_graphicsoptions+1764+64
INDIRI4
CNSTI4 0
EQI4 $449
line 500
;500:	{
line 501
;501:		trap_Cvar_Set( "r_textureMode", "GL_LINEAR_MIPMAP_LINEAR" );
ADDRGP4 $453
ARGP4
ADDRGP4 $454
ARGP4
ADDRGP4 trap_Cvar_Set
CALLV
pop
line 502
;502:	}
ADDRGP4 $450
JUMPV
LABELV $449
line 504
;503:	else
;504:	{
line 505
;505:		trap_Cvar_Set( "r_textureMode", "GL_LINEAR_MIPMAP_NEAREST" );
ADDRGP4 $453
ARGP4
ADDRGP4 $455
ARGP4
ADDRGP4 trap_Cvar_Set
CALLV
pop
line 506
;506:	}
LABELV $450
line 508
;507:
;508:	trap_Cmd_ExecuteText( EXEC_APPEND, "vid_restart\n" );
CNSTI4 2
ARGI4
ADDRGP4 $456
ARGP4
ADDRGP4 trap_Cmd_ExecuteText
CALLV
pop
line 509
;509:}
LABELV $400
endproc GraphicsOptions_ApplyChanges 8 8
proc GraphicsOptions_Event 12 0
line 516
;510:
;511:/*
;512:=================
;513:GraphicsOptions_Event
;514:=================
;515:*/
;516:static void GraphicsOptions_Event( void* ptr, int event ) {
line 519
;517:	InitialVideoOptions_s *ivo;
;518:
;519:	if( event != QM_ACTIVATED ) {
ADDRFP4 4
INDIRI4
CNSTI4 3
EQI4 $458
line 520
;520:	 	return;
ADDRGP4 $457
JUMPV
LABELV $458
line 523
;521:	}
;522:
;523:	switch( ((menucommon_s*)ptr)->id ) {
ADDRLP4 4
ADDRFP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
ASGNI4
ADDRLP4 4
INDIRI4
CNSTI4 101
LTI4 $460
ADDRLP4 4
INDIRI4
CNSTI4 109
GTI4 $460
ADDRLP4 4
INDIRI4
CNSTI4 2
LSHI4
ADDRGP4 $505-404
ADDP4
INDIRP4
JUMPV
lit
align 4
LABELV $505
address $500
address $460
address $480
address $463
address $499
address $461
address $502
address $503
address $504
code
LABELV $463
line 526
;524:	case ID_MODE:
;525:		// clamp 3dfx video modes
;526:		if ( s_graphicsoptions.driver.curvalue == 1 )
ADDRGP4 s_graphicsoptions+1016+64
INDIRI4
CNSTI4 1
NEI4 $461
line 527
;527:		{
line 528
;528:			if ( s_graphicsoptions.mode.curvalue < 2 )
ADDRGP4 s_graphicsoptions+920+64
INDIRI4
CNSTI4 2
GEI4 $468
line 529
;529:				s_graphicsoptions.mode.curvalue = 2;
ADDRGP4 s_graphicsoptions+920+64
CNSTI4 2
ASGNI4
ADDRGP4 $461
JUMPV
LABELV $468
line 530
;530:			else if ( s_graphicsoptions.mode.curvalue > 6 )
ADDRGP4 s_graphicsoptions+920+64
INDIRI4
CNSTI4 6
LEI4 $461
line 531
;531:				s_graphicsoptions.mode.curvalue = 6;
ADDRGP4 s_graphicsoptions+920+64
CNSTI4 6
ASGNI4
line 532
;532:		}
line 533
;533:		break;
ADDRGP4 $461
JUMPV
LABELV $480
line 536
;534:
;535:	case ID_LIST:
;536:		ivo = &s_ivo_templates[s_graphicsoptions.list.curvalue];
ADDRLP4 0
CNSTI4 40
ADDRGP4 s_graphicsoptions+824+64
INDIRI4
MULI4
ADDRGP4 s_ivo_templates
ADDP4
ASGNP4
line 538
;537:
;538:		s_graphicsoptions.mode.curvalue        = ivo->mode;
ADDRGP4 s_graphicsoptions+920+64
ADDRLP4 0
INDIRP4
INDIRI4
ASGNI4
line 539
;539:		s_graphicsoptions.tq.curvalue          = ivo->tq;
ADDRGP4 s_graphicsoptions+1112+68
ADDRLP4 0
INDIRP4
CNSTI4 8
ADDP4
INDIRI4
CVIF4 4
ASGNF4
line 540
;540:		s_graphicsoptions.lighting.curvalue    = ivo->lighting;
ADDRGP4 s_graphicsoptions+1284+64
ADDRLP4 0
INDIRP4
CNSTI4 12
ADDP4
INDIRI4
ASGNI4
line 541
;541:		s_graphicsoptions.colordepth.curvalue  = ivo->colordepth;
ADDRGP4 s_graphicsoptions+1572+64
ADDRLP4 0
INDIRP4
CNSTI4 16
ADDP4
INDIRI4
ASGNI4
line 542
;542:		s_graphicsoptions.texturebits.curvalue = ivo->texturebits;
ADDRGP4 s_graphicsoptions+1476+64
ADDRLP4 0
INDIRP4
CNSTI4 20
ADDP4
INDIRI4
ASGNI4
line 543
;543:		s_graphicsoptions.geometry.curvalue    = ivo->geometry;
ADDRGP4 s_graphicsoptions+1668+64
ADDRLP4 0
INDIRP4
CNSTI4 24
ADDP4
INDIRI4
ASGNI4
line 544
;544:		s_graphicsoptions.filter.curvalue      = ivo->filter;
ADDRGP4 s_graphicsoptions+1764+64
ADDRLP4 0
INDIRP4
CNSTI4 28
ADDP4
INDIRI4
ASGNI4
line 545
;545:		s_graphicsoptions.fs.curvalue          = ivo->fullscreen;
ADDRGP4 s_graphicsoptions+1188+64
ADDRLP4 0
INDIRP4
CNSTI4 4
ADDP4
INDIRI4
ASGNI4
line 546
;546:		break;
ADDRGP4 $461
JUMPV
LABELV $499
line 549
;547:
;548:	case ID_DRIVERINFO:
;549:		UI_DriverInfo_Menu();
ADDRGP4 UI_DriverInfo_Menu
CALLV
pop
line 550
;550:		break;
ADDRGP4 $461
JUMPV
LABELV $500
line 553
;551:
;552:	case ID_BACK2:
;553:		UI_PopMenu();
ADDRGP4 UI_PopMenu
CALLV
pop
line 554
;554:		break;
ADDRGP4 $461
JUMPV
line 557
;555:
;556:	case ID_GRAPHICS:
;557:		break;
LABELV $502
line 560
;558:
;559:	case ID_DISPLAY:
;560:		UI_PopMenu();
ADDRGP4 UI_PopMenu
CALLV
pop
line 561
;561:		UI_DisplayOptionsMenu();
ADDRGP4 UI_DisplayOptionsMenu
CALLV
pop
line 562
;562:		break;
ADDRGP4 $461
JUMPV
LABELV $503
line 565
;563:
;564:	case ID_SOUND:
;565:		UI_PopMenu();
ADDRGP4 UI_PopMenu
CALLV
pop
line 566
;566:		UI_SoundOptionsMenu();
ADDRGP4 UI_SoundOptionsMenu
CALLV
pop
line 567
;567:		break;
ADDRGP4 $461
JUMPV
LABELV $504
line 570
;568:
;569:	case ID_NETWORK:
;570:		UI_PopMenu();
ADDRGP4 UI_PopMenu
CALLV
pop
line 571
;571:		UI_NetworkOptionsMenu();
ADDRGP4 UI_NetworkOptionsMenu
CALLV
pop
line 572
;572:		break;
LABELV $460
LABELV $461
line 574
;573:	}
;574:}
LABELV $457
endproc GraphicsOptions_Event 12 0
proc GraphicsOptions_TQEvent 0 0
line 582
;575:
;576:
;577:/*
;578:================
;579:GraphicsOptions_TQEvent
;580:================
;581:*/
;582:static void GraphicsOptions_TQEvent( void *ptr, int event ) {
line 583
;583:	if( event != QM_ACTIVATED ) {
ADDRFP4 4
INDIRI4
CNSTI4 3
EQI4 $508
line 584
;584:	 	return;
ADDRGP4 $507
JUMPV
LABELV $508
line 586
;585:	}
;586:	s_graphicsoptions.tq.curvalue = (int)(s_graphicsoptions.tq.curvalue + 0.5);
ADDRGP4 s_graphicsoptions+1112+68
ADDRGP4 s_graphicsoptions+1112+68
INDIRF4
CNSTF4 1056964608
ADDF4
CVFI4 4
CVIF4 4
ASGNF4
line 587
;587:}
LABELV $507
endproc GraphicsOptions_TQEvent 0 0
export GraphicsOptions_MenuDraw
proc GraphicsOptions_MenuDraw 0 4
line 596
;588:
;589:
;590:/*
;591:================
;592:GraphicsOptions_MenuDraw
;593:================
;594:*/
;595:void GraphicsOptions_MenuDraw (void)
;596:{
line 598
;597://APSFIX - rework this
;598:	GraphicsOptions_UpdateMenuItems();
ADDRGP4 GraphicsOptions_UpdateMenuItems
CALLV
pop
line 600
;599:
;600:	Menu_Draw( &s_graphicsoptions.menu );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 Menu_Draw
CALLV
pop
line 601
;601:}
LABELV $514
endproc GraphicsOptions_MenuDraw 0 4
proc GraphicsOptions_SetMenuItems 68 8
line 609
;602:
;603:/*
;604:=================
;605:GraphicsOptions_SetMenuItems
;606:=================
;607:*/
;608:static void GraphicsOptions_SetMenuItems( void )
;609:{
line 610
;610:	s_graphicsoptions.mode.curvalue = trap_Cvar_VariableValue( "r_mode" );
ADDRGP4 $417
ARGP4
ADDRLP4 0
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRGP4 s_graphicsoptions+920+64
ADDRLP4 0
INDIRF4
CVFI4 4
ASGNI4
line 611
;611:	if ( s_graphicsoptions.mode.curvalue < 0 )
ADDRGP4 s_graphicsoptions+920+64
INDIRI4
CNSTI4 0
GEI4 $518
line 612
;612:	{
line 613
;613:		s_graphicsoptions.mode.curvalue = 3;
ADDRGP4 s_graphicsoptions+920+64
CNSTI4 3
ASGNI4
line 614
;614:	}
LABELV $518
line 615
;615:	s_graphicsoptions.fs.curvalue = trap_Cvar_VariableValue("r_fullscreen");
ADDRGP4 $420
ARGP4
ADDRLP4 4
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRGP4 s_graphicsoptions+1188+64
ADDRLP4 4
INDIRF4
CVFI4 4
ASGNI4
line 616
;616:	s_graphicsoptions.allow_extensions.curvalue = trap_Cvar_VariableValue("r_allowExtensions");
ADDRGP4 $414
ARGP4
ADDRLP4 8
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRGP4 s_graphicsoptions+1380+64
ADDRLP4 8
INDIRF4
CVFI4 4
ASGNI4
line 617
;617:	s_graphicsoptions.tq.curvalue = 3-trap_Cvar_VariableValue( "r_picmip");
ADDRGP4 $411
ARGP4
ADDRLP4 12
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRGP4 s_graphicsoptions+1112+68
CNSTF4 1077936128
ADDRLP4 12
INDIRF4
SUBF4
ASGNF4
line 618
;618:	if ( s_graphicsoptions.tq.curvalue < 0 )
ADDRGP4 s_graphicsoptions+1112+68
INDIRF4
CNSTF4 0
GEF4 $530
line 619
;619:	{
line 620
;620:		s_graphicsoptions.tq.curvalue = 0;
ADDRGP4 s_graphicsoptions+1112+68
CNSTF4 0
ASGNF4
line 621
;621:	}
ADDRGP4 $531
JUMPV
LABELV $530
line 622
;622:	else if ( s_graphicsoptions.tq.curvalue > 3 )
ADDRGP4 s_graphicsoptions+1112+68
INDIRF4
CNSTF4 1077936128
LEF4 $536
line 623
;623:	{
line 624
;624:		s_graphicsoptions.tq.curvalue = 3;
ADDRGP4 s_graphicsoptions+1112+68
CNSTF4 1077936128
ASGNF4
line 625
;625:	}
LABELV $536
LABELV $531
line 627
;626:
;627:	s_graphicsoptions.lighting.curvalue = trap_Cvar_VariableValue( "r_vertexLight" ) != 0;
ADDRGP4 $436
ARGP4
ADDRLP4 20
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRLP4 20
INDIRF4
CNSTF4 0
EQF4 $545
ADDRLP4 16
CNSTI4 1
ASGNI4
ADDRGP4 $546
JUMPV
LABELV $545
ADDRLP4 16
CNSTI4 0
ASGNI4
LABELV $546
ADDRGP4 s_graphicsoptions+1284+64
ADDRLP4 16
INDIRI4
ASGNI4
line 628
;628:	switch ( ( int ) trap_Cvar_VariableValue( "r_texturebits" ) )
ADDRGP4 $408
ARGP4
ADDRLP4 28
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRLP4 24
ADDRLP4 28
INDIRF4
CVFI4 4
ASGNI4
ADDRLP4 36
CNSTI4 16
ASGNI4
ADDRLP4 24
INDIRI4
ADDRLP4 36
INDIRI4
EQI4 $553
ADDRLP4 24
INDIRI4
ADDRLP4 36
INDIRI4
GTI4 $560
LABELV $559
ADDRLP4 24
INDIRI4
CNSTI4 0
EQI4 $550
ADDRGP4 $547
JUMPV
LABELV $560
ADDRLP4 24
INDIRI4
CNSTI4 32
EQI4 $556
ADDRGP4 $547
JUMPV
line 629
;629:	{
LABELV $547
LABELV $550
line 632
;630:	default:
;631:	case 0:
;632:		s_graphicsoptions.texturebits.curvalue = 0;
ADDRGP4 s_graphicsoptions+1476+64
CNSTI4 0
ASGNI4
line 633
;633:		break;
ADDRGP4 $548
JUMPV
LABELV $553
line 635
;634:	case 16:
;635:		s_graphicsoptions.texturebits.curvalue = 1;
ADDRGP4 s_graphicsoptions+1476+64
CNSTI4 1
ASGNI4
line 636
;636:		break;
ADDRGP4 $548
JUMPV
LABELV $556
line 638
;637:	case 32:
;638:		s_graphicsoptions.texturebits.curvalue = 2;
ADDRGP4 s_graphicsoptions+1476+64
CNSTI4 2
ASGNI4
line 639
;639:		break;
LABELV $548
line 642
;640:	}
;641:
;642:	if ( !Q_stricmp( UI_Cvar_VariableString( "r_textureMode" ), "GL_LINEAR_MIPMAP_NEAREST" ) )
ADDRGP4 $453
ARGP4
ADDRLP4 40
ADDRGP4 UI_Cvar_VariableString
CALLP4
ASGNP4
ADDRLP4 40
INDIRP4
ARGP4
ADDRGP4 $455
ARGP4
ADDRLP4 44
ADDRGP4 Q_stricmp
CALLI4
ASGNI4
ADDRLP4 44
INDIRI4
CNSTI4 0
NEI4 $561
line 643
;643:	{
line 644
;644:		s_graphicsoptions.filter.curvalue = 0;
ADDRGP4 s_graphicsoptions+1764+64
CNSTI4 0
ASGNI4
line 645
;645:	}
ADDRGP4 $562
JUMPV
LABELV $561
line 647
;646:	else
;647:	{
line 648
;648:		s_graphicsoptions.filter.curvalue = 1;
ADDRGP4 s_graphicsoptions+1764+64
CNSTI4 1
ASGNI4
line 649
;649:	}
LABELV $562
line 651
;650:
;651:	if ( trap_Cvar_VariableValue( "r_lodBias" ) > 0 )
ADDRGP4 $443
ARGP4
ADDRLP4 48
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRLP4 48
INDIRF4
CNSTF4 0
LEF4 $567
line 652
;652:	{
line 653
;653:		if ( trap_Cvar_VariableValue( "r_subdivisions" ) >= 20 )
ADDRGP4 $444
ARGP4
ADDRLP4 52
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRLP4 52
INDIRF4
CNSTF4 1101004800
LTF4 $569
line 654
;654:		{
line 655
;655:			s_graphicsoptions.geometry.curvalue = 0;
ADDRGP4 s_graphicsoptions+1668+64
CNSTI4 0
ASGNI4
line 656
;656:		}
ADDRGP4 $568
JUMPV
LABELV $569
line 658
;657:		else
;658:		{
line 659
;659:			s_graphicsoptions.geometry.curvalue = 1;
ADDRGP4 s_graphicsoptions+1668+64
CNSTI4 1
ASGNI4
line 660
;660:		}
line 661
;661:	}
ADDRGP4 $568
JUMPV
LABELV $567
line 663
;662:	else
;663:	{
line 664
;664:		s_graphicsoptions.geometry.curvalue = 2;
ADDRGP4 s_graphicsoptions+1668+64
CNSTI4 2
ASGNI4
line 665
;665:	}
LABELV $568
line 667
;666:
;667:	switch ( ( int ) trap_Cvar_VariableValue( "r_colorbits" ) )
ADDRGP4 $431
ARGP4
ADDRLP4 56
ADDRGP4 trap_Cvar_VariableValue
CALLF4
ASGNF4
ADDRLP4 52
ADDRLP4 56
INDIRF4
CVFI4 4
ASGNI4
ADDRLP4 64
CNSTI4 16
ASGNI4
ADDRLP4 52
INDIRI4
ADDRLP4 64
INDIRI4
EQI4 $583
ADDRLP4 52
INDIRI4
ADDRLP4 64
INDIRI4
GTI4 $590
LABELV $589
ADDRLP4 52
INDIRI4
CNSTI4 0
EQI4 $580
ADDRGP4 $577
JUMPV
LABELV $590
ADDRLP4 52
INDIRI4
CNSTI4 32
EQI4 $586
ADDRGP4 $577
JUMPV
line 668
;668:	{
LABELV $577
LABELV $580
line 671
;669:	default:
;670:	case 0:
;671:		s_graphicsoptions.colordepth.curvalue = 0;
ADDRGP4 s_graphicsoptions+1572+64
CNSTI4 0
ASGNI4
line 672
;672:		break;
ADDRGP4 $578
JUMPV
LABELV $583
line 674
;673:	case 16:
;674:		s_graphicsoptions.colordepth.curvalue = 1;
ADDRGP4 s_graphicsoptions+1572+64
CNSTI4 1
ASGNI4
line 675
;675:		break;
ADDRGP4 $578
JUMPV
LABELV $586
line 677
;676:	case 32:
;677:		s_graphicsoptions.colordepth.curvalue = 2;
ADDRGP4 s_graphicsoptions+1572+64
CNSTI4 2
ASGNI4
line 678
;678:		break;
LABELV $578
line 681
;679:	}
;680:
;681:	if ( s_graphicsoptions.fs.curvalue == 0 )
ADDRGP4 s_graphicsoptions+1188+64
INDIRI4
CNSTI4 0
NEI4 $591
line 682
;682:	{
line 683
;683:		s_graphicsoptions.colordepth.curvalue = 0;
ADDRGP4 s_graphicsoptions+1572+64
CNSTI4 0
ASGNI4
line 684
;684:	}
LABELV $591
line 685
;685:	if ( s_graphicsoptions.driver.curvalue == 1 )
ADDRGP4 s_graphicsoptions+1016+64
INDIRI4
CNSTI4 1
NEI4 $597
line 686
;686:	{
line 687
;687:		s_graphicsoptions.colordepth.curvalue = 1;
ADDRGP4 s_graphicsoptions+1572+64
CNSTI4 1
ASGNI4
line 688
;688:	}
LABELV $597
line 689
;689:}
LABELV $515
endproc GraphicsOptions_SetMenuItems 68 8
data
align 4
LABELV $604
address $605
address $606
byte 4 0
align 4
LABELV $607
address $605
address $608
address $609
byte 4 0
align 4
LABELV $610
address $611
address $612
address $613
address $614
address $615
byte 4 0
align 4
LABELV $616
address $617
address $618
byte 4 0
align 4
LABELV $619
address $605
address $608
address $609
byte 4 0
align 4
LABELV $620
address $621
address $622
address $623
address $624
address $625
address $626
address $627
address $628
address $629
address $630
address $631
address $632
byte 4 0
align 4
LABELV $633
address $634
address $635
byte 4 0
align 4
LABELV $636
address $637
address $638
address $639
byte 4 0
align 4
LABELV $640
address $641
address $642
byte 4 0
export GraphicsOptions_MenuInit
code
proc GraphicsOptions_MenuInit 12 12
line 697
;690:
;691:/*
;692:================
;693:GraphicsOptions_MenuInit
;694:================
;695:*/
;696:void GraphicsOptions_MenuInit( void )
;697:{
line 777
;698:	static const char *s_driver_names[] =
;699:	{
;700:		"Default",
;701:		"Voodoo",
;702:		0
;703:	};
;704:
;705:	static const char *tq_names[] =
;706:	{
;707:		"Default",
;708:		"16 bit",
;709:		"32 bit",
;710:		0
;711:	};
;712:
;713:	static const char *s_graphics_options_names[] =
;714:	{
;715:		"High Quality",
;716:		"Normal",
;717:		"Fast",
;718:		"Fastest",
;719:		"Custom",
;720:		0
;721:	};
;722:
;723:	static const char *lighting_names[] =
;724:	{
;725:		"Lightmap",
;726:		"Vertex",
;727:		0
;728:	};
;729:
;730:	static const char *colordepth_names[] =
;731:	{
;732:		"Default",
;733:		"16 bit",
;734:		"32 bit",
;735:		0
;736:	};
;737:
;738:	static const char *resolutions[] = 
;739:	{
;740:		"320x240",
;741:		"400x300",
;742:		"512x384",
;743:		"640x480",
;744:		"800x600",
;745:		"960x720",
;746:		"1024x768",
;747:		"1152x864",
;748:		"1280x1024",
;749:		"1600x1200",
;750:		"2048x1536",
;751:		"856x480 wide screen",
;752:		0
;753:	};
;754:	static const char *filter_names[] =
;755:	{
;756:		"Bilinear",
;757:		"Trilinear",
;758:		0
;759:	};
;760:	static const char *quality_names[] =
;761:	{
;762:		"Low",
;763:		"Medium",
;764:		"High",
;765:		0
;766:	};
;767:	static const char *enabled_names[] =
;768:	{
;769:		"Off",
;770:		"On",
;771:		0
;772:	};
;773:
;774:	int y;
;775:
;776:	// zero set all our globals
;777:	memset( &s_graphicsoptions, 0 ,sizeof(graphicsoptions_t) );
ADDRGP4 s_graphicsoptions
ARGP4
CNSTI4 0
ARGI4
CNSTI4 2108
ARGI4
ADDRGP4 memset
CALLP4
pop
line 779
;778:
;779:	GraphicsOptions_Cache();
ADDRGP4 GraphicsOptions_Cache
CALLV
pop
line 781
;780:
;781:	s_graphicsoptions.menu.wrapAround = qtrue;
ADDRGP4 s_graphicsoptions+276
CNSTI4 1
ASGNI4
line 782
;782:	s_graphicsoptions.menu.fullscreen = qtrue;
ADDRGP4 s_graphicsoptions+280
CNSTI4 1
ASGNI4
line 783
;783:	s_graphicsoptions.menu.draw       = GraphicsOptions_MenuDraw;
ADDRGP4 s_graphicsoptions+268
ADDRGP4 GraphicsOptions_MenuDraw
ASGNP4
line 785
;784:
;785:	s_graphicsoptions.banner.generic.type  = MTYPE_BTEXT;
ADDRGP4 s_graphicsoptions+288
CNSTI4 10
ASGNI4
line 786
;786:	s_graphicsoptions.banner.generic.x	   = 320;
ADDRGP4 s_graphicsoptions+288+12
CNSTI4 320
ASGNI4
line 787
;787:	s_graphicsoptions.banner.generic.y	   = 16;
ADDRGP4 s_graphicsoptions+288+16
CNSTI4 16
ASGNI4
line 788
;788:	s_graphicsoptions.banner.string  	   = "SYSTEM SETUP";
ADDRGP4 s_graphicsoptions+288+60
ADDRGP4 $653
ASGNP4
line 789
;789:	s_graphicsoptions.banner.color         = color_white;
ADDRGP4 s_graphicsoptions+288+68
ADDRGP4 color_white
ASGNP4
line 790
;790:	s_graphicsoptions.banner.style         = UI_CENTER;
ADDRGP4 s_graphicsoptions+288+64
CNSTI4 1
ASGNI4
line 792
;791:
;792:	s_graphicsoptions.framel.generic.type  = MTYPE_BITMAP;
ADDRGP4 s_graphicsoptions+360
CNSTI4 6
ASGNI4
line 793
;793:	s_graphicsoptions.framel.generic.name  = GRAPHICSOPTIONS_FRAMEL;
ADDRGP4 s_graphicsoptions+360+4
ADDRGP4 $67
ASGNP4
line 794
;794:	s_graphicsoptions.framel.generic.flags = QMF_INACTIVE;
ADDRGP4 s_graphicsoptions+360+44
CNSTU4 16384
ASGNU4
line 795
;795:	s_graphicsoptions.framel.generic.x	   = 0;
ADDRGP4 s_graphicsoptions+360+12
CNSTI4 0
ASGNI4
line 796
;796:	s_graphicsoptions.framel.generic.y	   = 78;
ADDRGP4 s_graphicsoptions+360+16
CNSTI4 78
ASGNI4
line 797
;797:	s_graphicsoptions.framel.width  	   = 256;
ADDRGP4 s_graphicsoptions+360+76
CNSTI4 256
ASGNI4
line 798
;798:	s_graphicsoptions.framel.height  	   = 329;
ADDRGP4 s_graphicsoptions+360+80
CNSTI4 329
ASGNI4
line 800
;799:
;800:	s_graphicsoptions.framer.generic.type  = MTYPE_BITMAP;
ADDRGP4 s_graphicsoptions+448
CNSTI4 6
ASGNI4
line 801
;801:	s_graphicsoptions.framer.generic.name  = GRAPHICSOPTIONS_FRAMER;
ADDRGP4 s_graphicsoptions+448+4
ADDRGP4 $68
ASGNP4
line 802
;802:	s_graphicsoptions.framer.generic.flags = QMF_INACTIVE;
ADDRGP4 s_graphicsoptions+448+44
CNSTU4 16384
ASGNU4
line 803
;803:	s_graphicsoptions.framer.generic.x	   = 376;
ADDRGP4 s_graphicsoptions+448+12
CNSTI4 376
ASGNI4
line 804
;804:	s_graphicsoptions.framer.generic.y	   = 76;
ADDRGP4 s_graphicsoptions+448+16
CNSTI4 76
ASGNI4
line 805
;805:	s_graphicsoptions.framer.width  	   = 256;
ADDRGP4 s_graphicsoptions+448+76
CNSTI4 256
ASGNI4
line 806
;806:	s_graphicsoptions.framer.height  	   = 334;
ADDRGP4 s_graphicsoptions+448+80
CNSTI4 334
ASGNI4
line 808
;807:
;808:	s_graphicsoptions.graphics.generic.type		= MTYPE_PTEXT;
ADDRGP4 s_graphicsoptions+536
CNSTI4 9
ASGNI4
line 809
;809:	s_graphicsoptions.graphics.generic.flags	= QMF_RIGHT_JUSTIFY;
ADDRGP4 s_graphicsoptions+536+44
CNSTU4 16
ASGNU4
line 810
;810:	s_graphicsoptions.graphics.generic.id		= ID_GRAPHICS;
ADDRGP4 s_graphicsoptions+536+8
CNSTI4 106
ASGNI4
line 811
;811:	s_graphicsoptions.graphics.generic.callback	= GraphicsOptions_Event;
ADDRGP4 s_graphicsoptions+536+48
ADDRGP4 GraphicsOptions_Event
ASGNP4
line 812
;812:	s_graphicsoptions.graphics.generic.x		= 216;
ADDRGP4 s_graphicsoptions+536+12
CNSTI4 216
ASGNI4
line 813
;813:	s_graphicsoptions.graphics.generic.y		= 240 - 2 * PROP_HEIGHT;
ADDRGP4 s_graphicsoptions+536+16
CNSTI4 186
ASGNI4
line 814
;814:	s_graphicsoptions.graphics.string			= "GRAPHICS";
ADDRGP4 s_graphicsoptions+536+60
ADDRGP4 $697
ASGNP4
line 815
;815:	s_graphicsoptions.graphics.style			= UI_RIGHT;
ADDRGP4 s_graphicsoptions+536+64
CNSTI4 2
ASGNI4
line 816
;816:	s_graphicsoptions.graphics.color			= color_red;
ADDRGP4 s_graphicsoptions+536+68
ADDRGP4 color_red
ASGNP4
line 818
;817:
;818:	s_graphicsoptions.display.generic.type		= MTYPE_PTEXT;
ADDRGP4 s_graphicsoptions+608
CNSTI4 9
ASGNI4
line 819
;819:	s_graphicsoptions.display.generic.flags		= QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 s_graphicsoptions+608+44
CNSTU4 272
ASGNU4
line 820
;820:	s_graphicsoptions.display.generic.id		= ID_DISPLAY;
ADDRGP4 s_graphicsoptions+608+8
CNSTI4 107
ASGNI4
line 821
;821:	s_graphicsoptions.display.generic.callback	= GraphicsOptions_Event;
ADDRGP4 s_graphicsoptions+608+48
ADDRGP4 GraphicsOptions_Event
ASGNP4
line 822
;822:	s_graphicsoptions.display.generic.x			= 216;
ADDRGP4 s_graphicsoptions+608+12
CNSTI4 216
ASGNI4
line 823
;823:	s_graphicsoptions.display.generic.y			= 240 - PROP_HEIGHT;
ADDRGP4 s_graphicsoptions+608+16
CNSTI4 213
ASGNI4
line 824
;824:	s_graphicsoptions.display.string			= "DISPLAY";
ADDRGP4 s_graphicsoptions+608+60
ADDRGP4 $715
ASGNP4
line 825
;825:	s_graphicsoptions.display.style				= UI_RIGHT;
ADDRGP4 s_graphicsoptions+608+64
CNSTI4 2
ASGNI4
line 826
;826:	s_graphicsoptions.display.color				= color_red;
ADDRGP4 s_graphicsoptions+608+68
ADDRGP4 color_red
ASGNP4
line 828
;827:
;828:	s_graphicsoptions.sound.generic.type		= MTYPE_PTEXT;
ADDRGP4 s_graphicsoptions+680
CNSTI4 9
ASGNI4
line 829
;829:	s_graphicsoptions.sound.generic.flags		= QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 s_graphicsoptions+680+44
CNSTU4 272
ASGNU4
line 830
;830:	s_graphicsoptions.sound.generic.id			= ID_SOUND;
ADDRGP4 s_graphicsoptions+680+8
CNSTI4 108
ASGNI4
line 831
;831:	s_graphicsoptions.sound.generic.callback	= GraphicsOptions_Event;
ADDRGP4 s_graphicsoptions+680+48
ADDRGP4 GraphicsOptions_Event
ASGNP4
line 832
;832:	s_graphicsoptions.sound.generic.x			= 216;
ADDRGP4 s_graphicsoptions+680+12
CNSTI4 216
ASGNI4
line 833
;833:	s_graphicsoptions.sound.generic.y			= 240;
ADDRGP4 s_graphicsoptions+680+16
CNSTI4 240
ASGNI4
line 834
;834:	s_graphicsoptions.sound.string				= "SOUND";
ADDRGP4 s_graphicsoptions+680+60
ADDRGP4 $733
ASGNP4
line 835
;835:	s_graphicsoptions.sound.style				= UI_RIGHT;
ADDRGP4 s_graphicsoptions+680+64
CNSTI4 2
ASGNI4
line 836
;836:	s_graphicsoptions.sound.color				= color_red;
ADDRGP4 s_graphicsoptions+680+68
ADDRGP4 color_red
ASGNP4
line 838
;837:
;838:	s_graphicsoptions.network.generic.type		= MTYPE_PTEXT;
ADDRGP4 s_graphicsoptions+752
CNSTI4 9
ASGNI4
line 839
;839:	s_graphicsoptions.network.generic.flags		= QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 s_graphicsoptions+752+44
CNSTU4 272
ASGNU4
line 840
;840:	s_graphicsoptions.network.generic.id		= ID_NETWORK;
ADDRGP4 s_graphicsoptions+752+8
CNSTI4 109
ASGNI4
line 841
;841:	s_graphicsoptions.network.generic.callback	= GraphicsOptions_Event;
ADDRGP4 s_graphicsoptions+752+48
ADDRGP4 GraphicsOptions_Event
ASGNP4
line 842
;842:	s_graphicsoptions.network.generic.x			= 216;
ADDRGP4 s_graphicsoptions+752+12
CNSTI4 216
ASGNI4
line 843
;843:	s_graphicsoptions.network.generic.y			= 240 + PROP_HEIGHT;
ADDRGP4 s_graphicsoptions+752+16
CNSTI4 267
ASGNI4
line 844
;844:	s_graphicsoptions.network.string			= "NETWORK";
ADDRGP4 s_graphicsoptions+752+60
ADDRGP4 $751
ASGNP4
line 845
;845:	s_graphicsoptions.network.style				= UI_RIGHT;
ADDRGP4 s_graphicsoptions+752+64
CNSTI4 2
ASGNI4
line 846
;846:	s_graphicsoptions.network.color				= color_red;
ADDRGP4 s_graphicsoptions+752+68
ADDRGP4 color_red
ASGNP4
line 848
;847:
;848:	y = 240 - 6 * (BIGCHAR_HEIGHT + 2);
ADDRLP4 0
CNSTI4 132
ASGNI4
line 849
;849:	s_graphicsoptions.list.generic.type     = MTYPE_SPINCONTROL;
ADDRGP4 s_graphicsoptions+824
CNSTI4 3
ASGNI4
line 850
;850:	s_graphicsoptions.list.generic.name     = "Graphics Settings:";
ADDRGP4 s_graphicsoptions+824+4
ADDRGP4 $759
ASGNP4
line 851
;851:	s_graphicsoptions.list.generic.flags    = QMF_PULSEIFFOCUS|QMF_SMALLFONT;
ADDRGP4 s_graphicsoptions+824+44
CNSTU4 258
ASGNU4
line 852
;852:	s_graphicsoptions.list.generic.x        = 400;
ADDRGP4 s_graphicsoptions+824+12
CNSTI4 400
ASGNI4
line 853
;853:	s_graphicsoptions.list.generic.y        = y;
ADDRGP4 s_graphicsoptions+824+16
ADDRLP4 0
INDIRI4
ASGNI4
line 854
;854:	s_graphicsoptions.list.generic.callback = GraphicsOptions_Event;
ADDRGP4 s_graphicsoptions+824+48
ADDRGP4 GraphicsOptions_Event
ASGNP4
line 855
;855:	s_graphicsoptions.list.generic.id       = ID_LIST;
ADDRGP4 s_graphicsoptions+824+8
CNSTI4 103
ASGNI4
line 856
;856:	s_graphicsoptions.list.itemnames        = s_graphics_options_names;
ADDRGP4 s_graphicsoptions+824+76
ADDRGP4 $610
ASGNP4
line 857
;857:	y += 2 * ( BIGCHAR_HEIGHT + 2 );
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 36
ADDI4
ASGNI4
line 859
;858:
;859:	s_graphicsoptions.driver.generic.type  = MTYPE_SPINCONTROL;
ADDRGP4 s_graphicsoptions+1016
CNSTI4 3
ASGNI4
line 860
;860:	s_graphicsoptions.driver.generic.name  = "GL Driver:";
ADDRGP4 s_graphicsoptions+1016+4
ADDRGP4 $775
ASGNP4
line 861
;861:	s_graphicsoptions.driver.generic.flags = QMF_PULSEIFFOCUS|QMF_SMALLFONT;
ADDRGP4 s_graphicsoptions+1016+44
CNSTU4 258
ASGNU4
line 862
;862:	s_graphicsoptions.driver.generic.x     = 400;
ADDRGP4 s_graphicsoptions+1016+12
CNSTI4 400
ASGNI4
line 863
;863:	s_graphicsoptions.driver.generic.y     = y;
ADDRGP4 s_graphicsoptions+1016+16
ADDRLP4 0
INDIRI4
ASGNI4
line 864
;864:	s_graphicsoptions.driver.itemnames     = s_driver_names;
ADDRGP4 s_graphicsoptions+1016+76
ADDRGP4 $604
ASGNP4
line 865
;865:	s_graphicsoptions.driver.curvalue      = (uis.glconfig.driverType == GLDRV_VOODOO);
ADDRGP4 uis+56+11284
INDIRI4
CNSTI4 2
NEI4 $789
ADDRLP4 4
CNSTI4 1
ASGNI4
ADDRGP4 $790
JUMPV
LABELV $789
ADDRLP4 4
CNSTI4 0
ASGNI4
LABELV $790
ADDRGP4 s_graphicsoptions+1016+64
ADDRLP4 4
INDIRI4
ASGNI4
line 866
;866:	y += BIGCHAR_HEIGHT+2;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 18
ADDI4
ASGNI4
line 869
;867:
;868:	// references/modifies "r_allowExtensions"
;869:	s_graphicsoptions.allow_extensions.generic.type     = MTYPE_SPINCONTROL;
ADDRGP4 s_graphicsoptions+1380
CNSTI4 3
ASGNI4
line 870
;870:	s_graphicsoptions.allow_extensions.generic.name	    = "GL Extensions:";
ADDRGP4 s_graphicsoptions+1380+4
ADDRGP4 $794
ASGNP4
line 871
;871:	s_graphicsoptions.allow_extensions.generic.flags	= QMF_PULSEIFFOCUS|QMF_SMALLFONT;
ADDRGP4 s_graphicsoptions+1380+44
CNSTU4 258
ASGNU4
line 872
;872:	s_graphicsoptions.allow_extensions.generic.x	    = 400;
ADDRGP4 s_graphicsoptions+1380+12
CNSTI4 400
ASGNI4
line 873
;873:	s_graphicsoptions.allow_extensions.generic.y	    = y;
ADDRGP4 s_graphicsoptions+1380+16
ADDRLP4 0
INDIRI4
ASGNI4
line 874
;874:	s_graphicsoptions.allow_extensions.itemnames        = enabled_names;
ADDRGP4 s_graphicsoptions+1380+76
ADDRGP4 $640
ASGNP4
line 875
;875:	y += BIGCHAR_HEIGHT+2;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 18
ADDI4
ASGNI4
line 878
;876:
;877:	// references/modifies "r_mode"
;878:	s_graphicsoptions.mode.generic.type     = MTYPE_SPINCONTROL;
ADDRGP4 s_graphicsoptions+920
CNSTI4 3
ASGNI4
line 879
;879:	s_graphicsoptions.mode.generic.name     = "Video Mode:";
ADDRGP4 s_graphicsoptions+920+4
ADDRGP4 $806
ASGNP4
line 880
;880:	s_graphicsoptions.mode.generic.flags    = QMF_PULSEIFFOCUS|QMF_SMALLFONT;
ADDRGP4 s_graphicsoptions+920+44
CNSTU4 258
ASGNU4
line 881
;881:	s_graphicsoptions.mode.generic.x        = 400;
ADDRGP4 s_graphicsoptions+920+12
CNSTI4 400
ASGNI4
line 882
;882:	s_graphicsoptions.mode.generic.y        = y;
ADDRGP4 s_graphicsoptions+920+16
ADDRLP4 0
INDIRI4
ASGNI4
line 883
;883:	s_graphicsoptions.mode.itemnames        = resolutions;
ADDRGP4 s_graphicsoptions+920+76
ADDRGP4 $620
ASGNP4
line 884
;884:	s_graphicsoptions.mode.generic.callback = GraphicsOptions_Event;
ADDRGP4 s_graphicsoptions+920+48
ADDRGP4 GraphicsOptions_Event
ASGNP4
line 885
;885:	s_graphicsoptions.mode.generic.id       = ID_MODE;
ADDRGP4 s_graphicsoptions+920+8
CNSTI4 104
ASGNI4
line 886
;886:	y += BIGCHAR_HEIGHT+2;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 18
ADDI4
ASGNI4
line 889
;887:
;888:	// references "r_colorbits"
;889:	s_graphicsoptions.colordepth.generic.type     = MTYPE_SPINCONTROL;
ADDRGP4 s_graphicsoptions+1572
CNSTI4 3
ASGNI4
line 890
;890:	s_graphicsoptions.colordepth.generic.name     = "Color Depth:";
ADDRGP4 s_graphicsoptions+1572+4
ADDRGP4 $822
ASGNP4
line 891
;891:	s_graphicsoptions.colordepth.generic.flags    = QMF_PULSEIFFOCUS|QMF_SMALLFONT;
ADDRGP4 s_graphicsoptions+1572+44
CNSTU4 258
ASGNU4
line 892
;892:	s_graphicsoptions.colordepth.generic.x        = 400;
ADDRGP4 s_graphicsoptions+1572+12
CNSTI4 400
ASGNI4
line 893
;893:	s_graphicsoptions.colordepth.generic.y        = y;
ADDRGP4 s_graphicsoptions+1572+16
ADDRLP4 0
INDIRI4
ASGNI4
line 894
;894:	s_graphicsoptions.colordepth.itemnames        = colordepth_names;
ADDRGP4 s_graphicsoptions+1572+76
ADDRGP4 $619
ASGNP4
line 895
;895:	y += BIGCHAR_HEIGHT+2;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 18
ADDI4
ASGNI4
line 898
;896:
;897:	// references/modifies "r_fullscreen"
;898:	s_graphicsoptions.fs.generic.type     = MTYPE_SPINCONTROL;
ADDRGP4 s_graphicsoptions+1188
CNSTI4 3
ASGNI4
line 899
;899:	s_graphicsoptions.fs.generic.name	  = "Fullscreen:";
ADDRGP4 s_graphicsoptions+1188+4
ADDRGP4 $834
ASGNP4
line 900
;900:	s_graphicsoptions.fs.generic.flags	  = QMF_PULSEIFFOCUS|QMF_SMALLFONT;
ADDRGP4 s_graphicsoptions+1188+44
CNSTU4 258
ASGNU4
line 901
;901:	s_graphicsoptions.fs.generic.x	      = 400;
ADDRGP4 s_graphicsoptions+1188+12
CNSTI4 400
ASGNI4
line 902
;902:	s_graphicsoptions.fs.generic.y	      = y;
ADDRGP4 s_graphicsoptions+1188+16
ADDRLP4 0
INDIRI4
ASGNI4
line 903
;903:	s_graphicsoptions.fs.itemnames	      = enabled_names;
ADDRGP4 s_graphicsoptions+1188+76
ADDRGP4 $640
ASGNP4
line 904
;904:	y += BIGCHAR_HEIGHT+2;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 18
ADDI4
ASGNI4
line 907
;905:
;906:	// references/modifies "r_vertexLight"
;907:	s_graphicsoptions.lighting.generic.type  = MTYPE_SPINCONTROL;
ADDRGP4 s_graphicsoptions+1284
CNSTI4 3
ASGNI4
line 908
;908:	s_graphicsoptions.lighting.generic.name	 = "Lighting:";
ADDRGP4 s_graphicsoptions+1284+4
ADDRGP4 $846
ASGNP4
line 909
;909:	s_graphicsoptions.lighting.generic.flags = QMF_PULSEIFFOCUS|QMF_SMALLFONT;
ADDRGP4 s_graphicsoptions+1284+44
CNSTU4 258
ASGNU4
line 910
;910:	s_graphicsoptions.lighting.generic.x	 = 400;
ADDRGP4 s_graphicsoptions+1284+12
CNSTI4 400
ASGNI4
line 911
;911:	s_graphicsoptions.lighting.generic.y	 = y;
ADDRGP4 s_graphicsoptions+1284+16
ADDRLP4 0
INDIRI4
ASGNI4
line 912
;912:	s_graphicsoptions.lighting.itemnames     = lighting_names;
ADDRGP4 s_graphicsoptions+1284+76
ADDRGP4 $616
ASGNP4
line 913
;913:	y += BIGCHAR_HEIGHT+2;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 18
ADDI4
ASGNI4
line 916
;914:
;915:	// references/modifies "r_lodBias" & "subdivisions"
;916:	s_graphicsoptions.geometry.generic.type  = MTYPE_SPINCONTROL;
ADDRGP4 s_graphicsoptions+1668
CNSTI4 3
ASGNI4
line 917
;917:	s_graphicsoptions.geometry.generic.name	 = "Geometric Detail:";
ADDRGP4 s_graphicsoptions+1668+4
ADDRGP4 $858
ASGNP4
line 918
;918:	s_graphicsoptions.geometry.generic.flags = QMF_PULSEIFFOCUS|QMF_SMALLFONT;
ADDRGP4 s_graphicsoptions+1668+44
CNSTU4 258
ASGNU4
line 919
;919:	s_graphicsoptions.geometry.generic.x	 = 400;
ADDRGP4 s_graphicsoptions+1668+12
CNSTI4 400
ASGNI4
line 920
;920:	s_graphicsoptions.geometry.generic.y	 = y;
ADDRGP4 s_graphicsoptions+1668+16
ADDRLP4 0
INDIRI4
ASGNI4
line 921
;921:	s_graphicsoptions.geometry.itemnames     = quality_names;
ADDRGP4 s_graphicsoptions+1668+76
ADDRGP4 $636
ASGNP4
line 922
;922:	y += BIGCHAR_HEIGHT+2;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 18
ADDI4
ASGNI4
line 925
;923:
;924:	// references/modifies "r_picmip"
;925:	s_graphicsoptions.tq.generic.type	= MTYPE_SLIDER;
ADDRGP4 s_graphicsoptions+1112
CNSTI4 1
ASGNI4
line 926
;926:	s_graphicsoptions.tq.generic.name	= "Texture Detail:";
ADDRGP4 s_graphicsoptions+1112+4
ADDRGP4 $870
ASGNP4
line 927
;927:	s_graphicsoptions.tq.generic.flags	= QMF_PULSEIFFOCUS|QMF_SMALLFONT;
ADDRGP4 s_graphicsoptions+1112+44
CNSTU4 258
ASGNU4
line 928
;928:	s_graphicsoptions.tq.generic.x		= 400;
ADDRGP4 s_graphicsoptions+1112+12
CNSTI4 400
ASGNI4
line 929
;929:	s_graphicsoptions.tq.generic.y		= y;
ADDRGP4 s_graphicsoptions+1112+16
ADDRLP4 0
INDIRI4
ASGNI4
line 930
;930:	s_graphicsoptions.tq.minvalue       = 0;
ADDRGP4 s_graphicsoptions+1112+60
CNSTF4 0
ASGNF4
line 931
;931:	s_graphicsoptions.tq.maxvalue       = 3;
ADDRGP4 s_graphicsoptions+1112+64
CNSTF4 1077936128
ASGNF4
line 932
;932:	s_graphicsoptions.tq.generic.callback = GraphicsOptions_TQEvent;
ADDRGP4 s_graphicsoptions+1112+48
ADDRGP4 GraphicsOptions_TQEvent
ASGNP4
line 933
;933:	y += BIGCHAR_HEIGHT+2;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 18
ADDI4
ASGNI4
line 936
;934:
;935:	// references/modifies "r_textureBits"
;936:	s_graphicsoptions.texturebits.generic.type  = MTYPE_SPINCONTROL;
ADDRGP4 s_graphicsoptions+1476
CNSTI4 3
ASGNI4
line 937
;937:	s_graphicsoptions.texturebits.generic.name	= "Texture Quality:";
ADDRGP4 s_graphicsoptions+1476+4
ADDRGP4 $886
ASGNP4
line 938
;938:	s_graphicsoptions.texturebits.generic.flags	= QMF_PULSEIFFOCUS|QMF_SMALLFONT;
ADDRGP4 s_graphicsoptions+1476+44
CNSTU4 258
ASGNU4
line 939
;939:	s_graphicsoptions.texturebits.generic.x	    = 400;
ADDRGP4 s_graphicsoptions+1476+12
CNSTI4 400
ASGNI4
line 940
;940:	s_graphicsoptions.texturebits.generic.y	    = y;
ADDRGP4 s_graphicsoptions+1476+16
ADDRLP4 0
INDIRI4
ASGNI4
line 941
;941:	s_graphicsoptions.texturebits.itemnames     = tq_names;
ADDRGP4 s_graphicsoptions+1476+76
ADDRGP4 $607
ASGNP4
line 942
;942:	y += BIGCHAR_HEIGHT+2;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 18
ADDI4
ASGNI4
line 945
;943:
;944:	// references/modifies "r_textureMode"
;945:	s_graphicsoptions.filter.generic.type   = MTYPE_SPINCONTROL;
ADDRGP4 s_graphicsoptions+1764
CNSTI4 3
ASGNI4
line 946
;946:	s_graphicsoptions.filter.generic.name	= "Texture Filter:";
ADDRGP4 s_graphicsoptions+1764+4
ADDRGP4 $898
ASGNP4
line 947
;947:	s_graphicsoptions.filter.generic.flags	= QMF_PULSEIFFOCUS|QMF_SMALLFONT;
ADDRGP4 s_graphicsoptions+1764+44
CNSTU4 258
ASGNU4
line 948
;948:	s_graphicsoptions.filter.generic.x	    = 400;
ADDRGP4 s_graphicsoptions+1764+12
CNSTI4 400
ASGNI4
line 949
;949:	s_graphicsoptions.filter.generic.y	    = y;
ADDRGP4 s_graphicsoptions+1764+16
ADDRLP4 0
INDIRI4
ASGNI4
line 950
;950:	s_graphicsoptions.filter.itemnames      = filter_names;
ADDRGP4 s_graphicsoptions+1764+76
ADDRGP4 $633
ASGNP4
line 951
;951:	y += 2*BIGCHAR_HEIGHT;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 32
ADDI4
ASGNI4
line 953
;952:
;953:	s_graphicsoptions.driverinfo.generic.type     = MTYPE_PTEXT;
ADDRGP4 s_graphicsoptions+1860
CNSTI4 9
ASGNI4
line 954
;954:	s_graphicsoptions.driverinfo.generic.flags    = QMF_CENTER_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 s_graphicsoptions+1860+44
CNSTU4 264
ASGNU4
line 955
;955:	s_graphicsoptions.driverinfo.generic.callback = GraphicsOptions_Event;
ADDRGP4 s_graphicsoptions+1860+48
ADDRGP4 GraphicsOptions_Event
ASGNP4
line 956
;956:	s_graphicsoptions.driverinfo.generic.id       = ID_DRIVERINFO;
ADDRGP4 s_graphicsoptions+1860+8
CNSTI4 105
ASGNI4
line 957
;957:	s_graphicsoptions.driverinfo.generic.x        = 320;
ADDRGP4 s_graphicsoptions+1860+12
CNSTI4 320
ASGNI4
line 958
;958:	s_graphicsoptions.driverinfo.generic.y        = y;
ADDRGP4 s_graphicsoptions+1860+16
ADDRLP4 0
INDIRI4
ASGNI4
line 959
;959:	s_graphicsoptions.driverinfo.string           = "Driver Info";
ADDRGP4 s_graphicsoptions+1860+60
ADDRGP4 $920
ASGNP4
line 960
;960:	s_graphicsoptions.driverinfo.style            = UI_CENTER|UI_SMALLFONT;
ADDRGP4 s_graphicsoptions+1860+64
CNSTI4 17
ASGNI4
line 961
;961:	s_graphicsoptions.driverinfo.color            = color_red;
ADDRGP4 s_graphicsoptions+1860+68
ADDRGP4 color_red
ASGNP4
line 962
;962:	y += BIGCHAR_HEIGHT+2;
ADDRLP4 0
ADDRLP4 0
INDIRI4
CNSTI4 18
ADDI4
ASGNI4
line 964
;963:
;964:	s_graphicsoptions.back.generic.type	    = MTYPE_BITMAP;
ADDRGP4 s_graphicsoptions+2020
CNSTI4 6
ASGNI4
line 965
;965:	s_graphicsoptions.back.generic.name     = GRAPHICSOPTIONS_BACK0;
ADDRGP4 s_graphicsoptions+2020+4
ADDRGP4 $69
ASGNP4
line 966
;966:	s_graphicsoptions.back.generic.flags    = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS;
ADDRGP4 s_graphicsoptions+2020+44
CNSTU4 260
ASGNU4
line 967
;967:	s_graphicsoptions.back.generic.callback = GraphicsOptions_Event;
ADDRGP4 s_graphicsoptions+2020+48
ADDRGP4 GraphicsOptions_Event
ASGNP4
line 968
;968:	s_graphicsoptions.back.generic.id	    = ID_BACK2;
ADDRGP4 s_graphicsoptions+2020+8
CNSTI4 101
ASGNI4
line 969
;969:	s_graphicsoptions.back.generic.x		= 0;
ADDRGP4 s_graphicsoptions+2020+12
CNSTI4 0
ASGNI4
line 970
;970:	s_graphicsoptions.back.generic.y		= 480-64;
ADDRGP4 s_graphicsoptions+2020+16
CNSTI4 416
ASGNI4
line 971
;971:	s_graphicsoptions.back.width  		    = 128;
ADDRGP4 s_graphicsoptions+2020+76
CNSTI4 128
ASGNI4
line 972
;972:	s_graphicsoptions.back.height  		    = 64;
ADDRGP4 s_graphicsoptions+2020+80
CNSTI4 64
ASGNI4
line 973
;973:	s_graphicsoptions.back.focuspic         = GRAPHICSOPTIONS_BACK1;
ADDRGP4 s_graphicsoptions+2020+60
ADDRGP4 $70
ASGNP4
line 975
;974:
;975:	s_graphicsoptions.apply.generic.type     = MTYPE_BITMAP;
ADDRGP4 s_graphicsoptions+1932
CNSTI4 6
ASGNI4
line 976
;976:	s_graphicsoptions.apply.generic.name     = GRAPHICSOPTIONS_ACCEPT0;
ADDRGP4 s_graphicsoptions+1932+4
ADDRGP4 $947
ASGNP4
line 977
;977:	s_graphicsoptions.apply.generic.flags    = QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS|QMF_HIDDEN|QMF_INACTIVE;
ADDRGP4 s_graphicsoptions+1932+44
CNSTU4 20752
ASGNU4
line 978
;978:	s_graphicsoptions.apply.generic.callback = GraphicsOptions_ApplyChanges;
ADDRGP4 s_graphicsoptions+1932+48
ADDRGP4 GraphicsOptions_ApplyChanges
ASGNP4
line 979
;979:	s_graphicsoptions.apply.generic.x        = 640;
ADDRGP4 s_graphicsoptions+1932+12
CNSTI4 640
ASGNI4
line 980
;980:	s_graphicsoptions.apply.generic.y        = 480-64;
ADDRGP4 s_graphicsoptions+1932+16
CNSTI4 416
ASGNI4
line 981
;981:	s_graphicsoptions.apply.width  		     = 128;
ADDRGP4 s_graphicsoptions+1932+76
CNSTI4 128
ASGNI4
line 982
;982:	s_graphicsoptions.apply.height  		 = 64;
ADDRGP4 s_graphicsoptions+1932+80
CNSTI4 64
ASGNI4
line 983
;983:	s_graphicsoptions.apply.focuspic         = GRAPHICSOPTIONS_ACCEPT1;
ADDRGP4 s_graphicsoptions+1932+60
ADDRGP4 $962
ASGNP4
line 985
;984:
;985:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.banner );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+288
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 986
;986:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.framel );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+360
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 987
;987:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.framer );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+448
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 989
;988:
;989:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.graphics );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+536
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 990
;990:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.display );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+608
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 991
;991:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.sound );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+680
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 992
;992:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.network );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+752
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 994
;993:
;994:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.list );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+824
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 995
;995:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.driver );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+1016
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 996
;996:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.allow_extensions );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+1380
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 997
;997:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.mode );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+920
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 998
;998:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.colordepth );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+1572
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 999
;999:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.fs );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+1188
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1000
;1000:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.lighting );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+1284
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1001
;1001:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.geometry );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+1668
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1002
;1002:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.tq );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+1112
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1003
;1003:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.texturebits );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+1476
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1004
;1004:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.filter );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+1764
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1005
;1005:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.driverinfo );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+1860
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1007
;1006:
;1007:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.back );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+2020
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1008
;1008:	Menu_AddItem( &s_graphicsoptions.menu, ( void * ) &s_graphicsoptions.apply );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+1932
ARGP4
ADDRGP4 Menu_AddItem
CALLV
pop
line 1010
;1009:
;1010:	GraphicsOptions_SetMenuItems();
ADDRGP4 GraphicsOptions_SetMenuItems
CALLV
pop
line 1011
;1011:	GraphicsOptions_GetInitialVideo();
ADDRGP4 GraphicsOptions_GetInitialVideo
CALLV
pop
line 1013
;1012:
;1013:	if ( uis.glconfig.driverType == GLDRV_ICD &&
ADDRGP4 uis+56+11284
INDIRI4
CNSTI4 0
NEI4 $984
ADDRGP4 uis+56+11288
INDIRI4
CNSTI4 1
NEI4 $984
line 1015
;1014:		 uis.glconfig.hardwareType == GLHW_3DFX_2D3D )
;1015:	{
line 1016
;1016:		s_graphicsoptions.driver.generic.flags |= QMF_HIDDEN|QMF_INACTIVE;
ADDRLP4 8
ADDRGP4 s_graphicsoptions+1016+44
ASGNP4
ADDRLP4 8
INDIRP4
ADDRLP4 8
INDIRP4
INDIRU4
CNSTU4 20480
BORU4
ASGNU4
line 1017
;1017:	}
LABELV $984
line 1018
;1018:}
LABELV $603
endproc GraphicsOptions_MenuInit 12 12
export GraphicsOptions_Cache
proc GraphicsOptions_Cache 0 4
line 1026
;1019:
;1020:
;1021:/*
;1022:=================
;1023:GraphicsOptions_Cache
;1024:=================
;1025:*/
;1026:void GraphicsOptions_Cache( void ) {
line 1027
;1027:	trap_R_RegisterShaderNoMip( GRAPHICSOPTIONS_FRAMEL );
ADDRGP4 $67
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 1028
;1028:	trap_R_RegisterShaderNoMip( GRAPHICSOPTIONS_FRAMER );
ADDRGP4 $68
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 1029
;1029:	trap_R_RegisterShaderNoMip( GRAPHICSOPTIONS_BACK0 );
ADDRGP4 $69
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 1030
;1030:	trap_R_RegisterShaderNoMip( GRAPHICSOPTIONS_BACK1 );
ADDRGP4 $70
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 1031
;1031:	trap_R_RegisterShaderNoMip( GRAPHICSOPTIONS_ACCEPT0 );
ADDRGP4 $947
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 1032
;1032:	trap_R_RegisterShaderNoMip( GRAPHICSOPTIONS_ACCEPT1 );
ADDRGP4 $962
ARGP4
ADDRGP4 trap_R_RegisterShaderNoMip
CALLI4
pop
line 1033
;1033:}
LABELV $992
endproc GraphicsOptions_Cache 0 4
export UI_GraphicsOptionsMenu
proc UI_GraphicsOptionsMenu 0 8
line 1041
;1034:
;1035:
;1036:/*
;1037:=================
;1038:UI_GraphicsOptionsMenu
;1039:=================
;1040:*/
;1041:void UI_GraphicsOptionsMenu( void ) {
line 1042
;1042:	GraphicsOptions_MenuInit();
ADDRGP4 GraphicsOptions_MenuInit
CALLV
pop
line 1043
;1043:	UI_PushMenu( &s_graphicsoptions.menu );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 UI_PushMenu
CALLV
pop
line 1044
;1044:	Menu_SetCursorToItem( &s_graphicsoptions.menu, &s_graphicsoptions.graphics );
ADDRGP4 s_graphicsoptions
ARGP4
ADDRGP4 s_graphicsoptions+536
ARGP4
ADDRGP4 Menu_SetCursorToItem
CALLV
pop
line 1045
;1045:}
LABELV $993
endproc UI_GraphicsOptionsMenu 0 8
bss
align 4
LABELV s_graphicsoptions
skip 2108
align 4
LABELV s_ivo
skip 40
align 4
LABELV s_driverinfo
skip 1908
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_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_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_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
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 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 Controls_Cache
import UI_ControlsMenu
import UI_DrawConnectScreen
import TeamMain_Cache
import UI_TeamMainMenu
import UI_SetupMenu
import UI_SetupMenu_Cache
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_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 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 Com_Printf
import Com_Error
import Info_NextPair
import Info_Validate
import Info_SetValueForKey_Big
import Info_SetValueForKey
import Info_RemoveKey_big
import Info_RemoveKey
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 Com_sprintf
import Parse3DMatrix
import Parse2DMatrix
import Parse1DMatrix
import SkipRestOfLine
import SkipBracedSection
import COM_MatchToken
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 Com_Memcpy
import Com_Memset
import Hunk_Alloc
import FloatSwap
import LongSwap
import ShortSwap
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 sscanf
import vsprintf
import _atoi
import atoi
import _atof
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 $962
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 97
byte 1 99
byte 1 99
byte 1 101
byte 1 112
byte 1 116
byte 1 95
byte 1 49
byte 1 0
align 1
LABELV $947
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 97
byte 1 99
byte 1 99
byte 1 101
byte 1 112
byte 1 116
byte 1 95
byte 1 48
byte 1 0
align 1
LABELV $920
byte 1 68
byte 1 114
byte 1 105
byte 1 118
byte 1 101
byte 1 114
byte 1 32
byte 1 73
byte 1 110
byte 1 102
byte 1 111
byte 1 0
align 1
LABELV $898
byte 1 84
byte 1 101
byte 1 120
byte 1 116
byte 1 117
byte 1 114
byte 1 101
byte 1 32
byte 1 70
byte 1 105
byte 1 108
byte 1 116
byte 1 101
byte 1 114
byte 1 58
byte 1 0
align 1
LABELV $886
byte 1 84
byte 1 101
byte 1 120
byte 1 116
byte 1 117
byte 1 114
byte 1 101
byte 1 32
byte 1 81
byte 1 117
byte 1 97
byte 1 108
byte 1 105
byte 1 116
byte 1 121
byte 1 58
byte 1 0
align 1
LABELV $870
byte 1 84
byte 1 101
byte 1 120
byte 1 116
byte 1 117
byte 1 114
byte 1 101
byte 1 32
byte 1 68
byte 1 101
byte 1 116
byte 1 97
byte 1 105
byte 1 108
byte 1 58
byte 1 0
align 1
LABELV $858
byte 1 71
byte 1 101
byte 1 111
byte 1 109
byte 1 101
byte 1 116
byte 1 114
byte 1 105
byte 1 99
byte 1 32
byte 1 68
byte 1 101
byte 1 116
byte 1 97
byte 1 105
byte 1 108
byte 1 58
byte 1 0
align 1
LABELV $846
byte 1 76
byte 1 105
byte 1 103
byte 1 104
byte 1 116
byte 1 105
byte 1 110
byte 1 103
byte 1 58
byte 1 0
align 1
LABELV $834
byte 1 70
byte 1 117
byte 1 108
byte 1 108
byte 1 115
byte 1 99
byte 1 114
byte 1 101
byte 1 101
byte 1 110
byte 1 58
byte 1 0
align 1
LABELV $822
byte 1 67
byte 1 111
byte 1 108
byte 1 111
byte 1 114
byte 1 32
byte 1 68
byte 1 101
byte 1 112
byte 1 116
byte 1 104
byte 1 58
byte 1 0
align 1
LABELV $806
byte 1 86
byte 1 105
byte 1 100
byte 1 101
byte 1 111
byte 1 32
byte 1 77
byte 1 111
byte 1 100
byte 1 101
byte 1 58
byte 1 0
align 1
LABELV $794
byte 1 71
byte 1 76
byte 1 32
byte 1 69
byte 1 120
byte 1 116
byte 1 101
byte 1 110
byte 1 115
byte 1 105
byte 1 111
byte 1 110
byte 1 115
byte 1 58
byte 1 0
align 1
LABELV $775
byte 1 71
byte 1 76
byte 1 32
byte 1 68
byte 1 114
byte 1 105
byte 1 118
byte 1 101
byte 1 114
byte 1 58
byte 1 0
align 1
LABELV $759
byte 1 71
byte 1 114
byte 1 97
byte 1 112
byte 1 104
byte 1 105
byte 1 99
byte 1 115
byte 1 32
byte 1 83
byte 1 101
byte 1 116
byte 1 116
byte 1 105
byte 1 110
byte 1 103
byte 1 115
byte 1 58
byte 1 0
align 1
LABELV $751
byte 1 78
byte 1 69
byte 1 84
byte 1 87
byte 1 79
byte 1 82
byte 1 75
byte 1 0
align 1
LABELV $733
byte 1 83
byte 1 79
byte 1 85
byte 1 78
byte 1 68
byte 1 0
align 1
LABELV $715
byte 1 68
byte 1 73
byte 1 83
byte 1 80
byte 1 76
byte 1 65
byte 1 89
byte 1 0
align 1
LABELV $697
byte 1 71
byte 1 82
byte 1 65
byte 1 80
byte 1 72
byte 1 73
byte 1 67
byte 1 83
byte 1 0
align 1
LABELV $653
byte 1 83
byte 1 89
byte 1 83
byte 1 84
byte 1 69
byte 1 77
byte 1 32
byte 1 83
byte 1 69
byte 1 84
byte 1 85
byte 1 80
byte 1 0
align 1
LABELV $642
byte 1 79
byte 1 110
byte 1 0
align 1
LABELV $641
byte 1 79
byte 1 102
byte 1 102
byte 1 0
align 1
LABELV $639
byte 1 72
byte 1 105
byte 1 103
byte 1 104
byte 1 0
align 1
LABELV $638
byte 1 77
byte 1 101
byte 1 100
byte 1 105
byte 1 117
byte 1 109
byte 1 0
align 1
LABELV $637
byte 1 76
byte 1 111
byte 1 119
byte 1 0
align 1
LABELV $635
byte 1 84
byte 1 114
byte 1 105
byte 1 108
byte 1 105
byte 1 110
byte 1 101
byte 1 97
byte 1 114
byte 1 0
align 1
LABELV $634
byte 1 66
byte 1 105
byte 1 108
byte 1 105
byte 1 110
byte 1 101
byte 1 97
byte 1 114
byte 1 0
align 1
LABELV $632
byte 1 56
byte 1 53
byte 1 54
byte 1 120
byte 1 52
byte 1 56
byte 1 48
byte 1 32
byte 1 119
byte 1 105
byte 1 100
byte 1 101
byte 1 32
byte 1 115
byte 1 99
byte 1 114
byte 1 101
byte 1 101
byte 1 110
byte 1 0
align 1
LABELV $631
byte 1 50
byte 1 48
byte 1 52
byte 1 56
byte 1 120
byte 1 49
byte 1 53
byte 1 51
byte 1 54
byte 1 0
align 1
LABELV $630
byte 1 49
byte 1 54
byte 1 48
byte 1 48
byte 1 120
byte 1 49
byte 1 50
byte 1 48
byte 1 48
byte 1 0
align 1
LABELV $629
byte 1 49
byte 1 50
byte 1 56
byte 1 48
byte 1 120
byte 1 49
byte 1 48
byte 1 50
byte 1 52
byte 1 0
align 1
LABELV $628
byte 1 49
byte 1 49
byte 1 53
byte 1 50
byte 1 120
byte 1 56
byte 1 54
byte 1 52
byte 1 0
align 1
LABELV $627
byte 1 49
byte 1 48
byte 1 50
byte 1 52
byte 1 120
byte 1 55
byte 1 54
byte 1 56
byte 1 0
align 1
LABELV $626
byte 1 57
byte 1 54
byte 1 48
byte 1 120
byte 1 55
byte 1 50
byte 1 48
byte 1 0
align 1
LABELV $625
byte 1 56
byte 1 48
byte 1 48
byte 1 120
byte 1 54
byte 1 48
byte 1 48
byte 1 0
align 1
LABELV $624
byte 1 54
byte 1 52
byte 1 48
byte 1 120
byte 1 52
byte 1 56
byte 1 48
byte 1 0
align 1
LABELV $623
byte 1 53
byte 1 49
byte 1 50
byte 1 120
byte 1 51
byte 1 56
byte 1 52
byte 1 0
align 1
LABELV $622
byte 1 52
byte 1 48
byte 1 48
byte 1 120
byte 1 51
byte 1 48
byte 1 48
byte 1 0
align 1
LABELV $621
byte 1 51
byte 1 50
byte 1 48
byte 1 120
byte 1 50
byte 1 52
byte 1 48
byte 1 0
align 1
LABELV $618
byte 1 86
byte 1 101
byte 1 114
byte 1 116
byte 1 101
byte 1 120
byte 1 0
align 1
LABELV $617
byte 1 76
byte 1 105
byte 1 103
byte 1 104
byte 1 116
byte 1 109
byte 1 97
byte 1 112
byte 1 0
align 1
LABELV $615
byte 1 67
byte 1 117
byte 1 115
byte 1 116
byte 1 111
byte 1 109
byte 1 0
align 1
LABELV $614
byte 1 70
byte 1 97
byte 1 115
byte 1 116
byte 1 101
byte 1 115
byte 1 116
byte 1 0
align 1
LABELV $613
byte 1 70
byte 1 97
byte 1 115
byte 1 116
byte 1 0
align 1
LABELV $612
byte 1 78
byte 1 111
byte 1 114
byte 1 109
byte 1 97
byte 1 108
byte 1 0
align 1
LABELV $611
byte 1 72
byte 1 105
byte 1 103
byte 1 104
byte 1 32
byte 1 81
byte 1 117
byte 1 97
byte 1 108
byte 1 105
byte 1 116
byte 1 121
byte 1 0
align 1
LABELV $609
byte 1 51
byte 1 50
byte 1 32
byte 1 98
byte 1 105
byte 1 116
byte 1 0
align 1
LABELV $608
byte 1 49
byte 1 54
byte 1 32
byte 1 98
byte 1 105
byte 1 116
byte 1 0
align 1
LABELV $606
byte 1 86
byte 1 111
byte 1 111
byte 1 100
byte 1 111
byte 1 111
byte 1 0
align 1
LABELV $605
byte 1 68
byte 1 101
byte 1 102
byte 1 97
byte 1 117
byte 1 108
byte 1 116
byte 1 0
align 1
LABELV $456
byte 1 118
byte 1 105
byte 1 100
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 $455
byte 1 71
byte 1 76
byte 1 95
byte 1 76
byte 1 73
byte 1 78
byte 1 69
byte 1 65
byte 1 82
byte 1 95
byte 1 77
byte 1 73
byte 1 80
byte 1 77
byte 1 65
byte 1 80
byte 1 95
byte 1 78
byte 1 69
byte 1 65
byte 1 82
byte 1 69
byte 1 83
byte 1 84
byte 1 0
align 1
LABELV $454
byte 1 71
byte 1 76
byte 1 95
byte 1 76
byte 1 73
byte 1 78
byte 1 69
byte 1 65
byte 1 82
byte 1 95
byte 1 77
byte 1 73
byte 1 80
byte 1 77
byte 1 65
byte 1 80
byte 1 95
byte 1 76
byte 1 73
byte 1 78
byte 1 69
byte 1 65
byte 1 82
byte 1 0
align 1
LABELV $453
byte 1 114
byte 1 95
byte 1 116
byte 1 101
byte 1 120
byte 1 116
byte 1 117
byte 1 114
byte 1 101
byte 1 77
byte 1 111
byte 1 100
byte 1 101
byte 1 0
align 1
LABELV $444
byte 1 114
byte 1 95
byte 1 115
byte 1 117
byte 1 98
byte 1 100
byte 1 105
byte 1 118
byte 1 105
byte 1 115
byte 1 105
byte 1 111
byte 1 110
byte 1 115
byte 1 0
align 1
LABELV $443
byte 1 114
byte 1 95
byte 1 108
byte 1 111
byte 1 100
byte 1 66
byte 1 105
byte 1 97
byte 1 115
byte 1 0
align 1
LABELV $436
byte 1 114
byte 1 95
byte 1 118
byte 1 101
byte 1 114
byte 1 116
byte 1 101
byte 1 120
byte 1 76
byte 1 105
byte 1 103
byte 1 104
byte 1 116
byte 1 0
align 1
LABELV $433
byte 1 114
byte 1 95
byte 1 115
byte 1 116
byte 1 101
byte 1 110
byte 1 99
byte 1 105
byte 1 108
byte 1 98
byte 1 105
byte 1 116
byte 1 115
byte 1 0
align 1
LABELV $432
byte 1 114
byte 1 95
byte 1 100
byte 1 101
byte 1 112
byte 1 116
byte 1 104
byte 1 98
byte 1 105
byte 1 116
byte 1 115
byte 1 0
align 1
LABELV $431
byte 1 114
byte 1 95
byte 1 99
byte 1 111
byte 1 108
byte 1 111
byte 1 114
byte 1 98
byte 1 105
byte 1 116
byte 1 115
byte 1 0
align 1
LABELV $423
byte 1 114
byte 1 95
byte 1 103
byte 1 108
byte 1 68
byte 1 114
byte 1 105
byte 1 118
byte 1 101
byte 1 114
byte 1 0
align 1
LABELV $420
byte 1 114
byte 1 95
byte 1 102
byte 1 117
byte 1 108
byte 1 108
byte 1 115
byte 1 99
byte 1 114
byte 1 101
byte 1 101
byte 1 110
byte 1 0
align 1
LABELV $417
byte 1 114
byte 1 95
byte 1 109
byte 1 111
byte 1 100
byte 1 101
byte 1 0
align 1
LABELV $414
byte 1 114
byte 1 95
byte 1 97
byte 1 108
byte 1 108
byte 1 111
byte 1 119
byte 1 69
byte 1 120
byte 1 116
byte 1 101
byte 1 110
byte 1 115
byte 1 105
byte 1 111
byte 1 110
byte 1 115
byte 1 0
align 1
LABELV $411
byte 1 114
byte 1 95
byte 1 112
byte 1 105
byte 1 99
byte 1 109
byte 1 105
byte 1 112
byte 1 0
align 1
LABELV $408
byte 1 114
byte 1 95
byte 1 116
byte 1 101
byte 1 120
byte 1 116
byte 1 117
byte 1 114
byte 1 101
byte 1 98
byte 1 105
byte 1 116
byte 1 115
byte 1 0
align 1
LABELV $212
byte 1 51
byte 1 100
byte 1 102
byte 1 120
byte 1 118
byte 1 103
byte 1 108
byte 1 0
align 1
LABELV $211
byte 1 111
byte 1 112
byte 1 101
byte 1 110
byte 1 103
byte 1 108
byte 1 51
byte 1 50
byte 1 0
align 1
LABELV $126
byte 1 68
byte 1 82
byte 1 73
byte 1 86
byte 1 69
byte 1 82
byte 1 32
byte 1 73
byte 1 78
byte 1 70
byte 1 79
byte 1 0
align 1
LABELV $88
byte 1 99
byte 1 111
byte 1 108
byte 1 111
byte 1 114
byte 1 40
byte 1 37
byte 1 100
byte 1 45
byte 1 98
byte 1 105
byte 1 116
byte 1 115
byte 1 41
byte 1 32
byte 1 90
byte 1 40
byte 1 37
byte 1 100
byte 1 45
byte 1 98
byte 1 105
byte 1 116
byte 1 115
byte 1 41
byte 1 32
byte 1 115
byte 1 116
byte 1 101
byte 1 110
byte 1 99
byte 1 105
byte 1 108
byte 1 40
byte 1 37
byte 1 100
byte 1 45
byte 1 98
byte 1 105
byte 1 116
byte 1 115
byte 1 41
byte 1 0
align 1
LABELV $82
byte 1 69
byte 1 88
byte 1 84
byte 1 69
byte 1 78
byte 1 83
byte 1 73
byte 1 79
byte 1 78
byte 1 83
byte 1 0
align 1
LABELV $81
byte 1 80
byte 1 73
byte 1 88
byte 1 69
byte 1 76
byte 1 70
byte 1 79
byte 1 82
byte 1 77
byte 1 65
byte 1 84
byte 1 0
align 1
LABELV $80
byte 1 86
byte 1 69
byte 1 78
byte 1 68
byte 1 79
byte 1 82
byte 1 0
align 1
LABELV $70
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 $69
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 $68
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 $67
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
