================= idCommonLocal::PrintLoadingMessage ================= */
| 2464 | ================= |
| 2465 | */ |
| 2466 | void idCommonLocal::PrintLoadingMessage( const char *msg ) { |
| 2467 | if ( !( msg && *msg ) ) { |
| 2468 | return; |
| 2469 | } |
| 2470 | renderSystem->BeginFrame( renderSystem->GetScreenWidth(), renderSystem->GetScreenHeight() ); |
| 2471 | renderSystem->DrawStretchPic( 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, 0, 0, 1, 1, declManager->FindMaterial( "splashScreen" ) ); |
| 2472 | int len = strlen( msg ); |
| 2473 | renderSystem->DrawSmallStringExt( ( 640 - len * SMALLCHAR_WIDTH ) / 2, 410, msg, idVec4( 0.0f, 0.81f, 0.94f, 1.0f ), true, declManager->FindMaterial( "textures/bigchars" ) ); |
| 2474 | renderSystem->EndFrame( NULL, NULL ); |
| 2475 | } |
| 2476 | |
| 2477 | /* |
| 2478 | ================= |
nothing calls this directly
no test coverage detected