/* ================= UI_CinematicsMenu_Cache ================= */ void UI_CinematicsMenu_Cache( void ) { RE_RegisterShaderNoMip( ART_BACK0 ); RE_RegisterShaderNoMip( ART_BACK1 ); RE_RegisterShaderNoMip( ART_FRAMEL ); RE_RegisterShaderNoMip( ART_FRAMER ); }
/* ================= UI_SaveConfigMenu_Cache ================= */ void UI_SaveConfigMenu_Cache( void ) { RE_RegisterShaderNoMip( ART_BACK0 ); RE_RegisterShaderNoMip( ART_BACK1 ); RE_RegisterShaderNoMip( ART_SAVE0 ); RE_RegisterShaderNoMip( ART_SAVE1 ); RE_RegisterShaderNoMip( ART_BACKGROUND ); }
int XBL_MM_GetServerDisableForce( const int index ) { if( query.Results[index].JediMastery == 0 ) return RE_RegisterShaderNoMip( "gfx/mp/noforce_bw" ); else return -1; }
int XBL_MM_GetServerSaberOnly( const int index ) { if( query.Results[index].SaberOnly ) return RE_RegisterShaderNoMip( "gfx/mp/saber_only" ); else return -1; }
int XBL_MM_GetServerPing( const int index ) { int pingVal = getQoSValue( query.Results[index].pQosInfo ); switch( pingVal ) { case 1: // Bad return RE_RegisterShaderNoMip( "gfx/mp/dot_red" ); case 2: // Average return RE_RegisterShaderNoMip( "gfx/mp/dot_yellow" ); case 3: // Good return RE_RegisterShaderNoMip( "gfx/mp/dot_green" ); case 0: // Unknown default: return -1; } }
/* ================= UI_SPPostgameMenu_Cache ================= */ void UI_SPPostgameMenu_Cache( void ) { int n; qboolean buildscript; buildscript = Cvar_VariableValue("com_buildscript"); RE_RegisterShaderNoMip( ART_MENU0 ); RE_RegisterShaderNoMip( ART_MENU1 ); RE_RegisterShaderNoMip( ART_REPLAY0 ); RE_RegisterShaderNoMip( ART_REPLAY1 ); RE_RegisterShaderNoMip( ART_NEXT0 ); RE_RegisterShaderNoMip( ART_NEXT1 ); for( n = 0; n < 6; n++ ) { RE_RegisterShaderNoMip( ui_medalPicNames[n] ); S_RegisterSound( ui_medalSounds[n], qfalse ); } if( buildscript ) { S_RegisterSound( "music/loss.wav", qfalse ); S_RegisterSound( "music/win.wav", qfalse ); S_RegisterSound( "sound/player/announce/youwin.wav", qfalse ); } }
int Syslink_GetServerDisableForce( const int index ) { serverInfo_t *s = SysLink_GetServer( index ); if( s->forceDisable ) return RE_RegisterShaderNoMip( "gfx/mp/noforce_bw" ); else return -1; }
int Syslink_GetServerSaberOnly( const int index ) { serverInfo_t *s = SysLink_GetServer( index ); if( s->saberOnly ) return RE_RegisterShaderNoMip( "gfx/mp/saber_only" ); else return -1; }
/* ================= ServerInfo_Cache ================= */ void ServerInfo_Cache( void ) { int i; // touch all our pics for (i=0; ;i++) { if (!serverinfo_artlist[i]) break; RE_RegisterShaderNoMip(serverinfo_artlist[i]); } }
/* ================= SpecifyServer_Cache ================= */ void SpecifyServer_Cache( void ) { int i; // touch all our pics for (i=0; ;i++) { if (!specifyserver_artlist[i]) break; RE_RegisterShaderNoMip(specifyserver_artlist[i]); } }
/* =============== Rankings_Cache =============== */ void Rankings_Cache( void ) { RE_RegisterShaderNoMip( RANKINGS_FRAME ); }