fixed "Hall of mirrors"

This commit is contained in:
Chris Danford
2002-01-21 09:27:34 +00:00
parent f2975d0688
commit b8ff93249b
3 changed files with 2 additions and 5 deletions
-5
View File
@@ -309,9 +309,6 @@ HRESULT CreateObjects( HWND hWnd )
WM = new WindowManager;
// throw something up on the screen while the game resources are loading
// super hack! Why do we crash unless we have rendered one frame before drawing anything?
Render();
ShowFrame();
WM->SetNewWindow( new WindowLoading );
Render();
ShowFrame();
@@ -339,8 +336,6 @@ HRESULT CreateObjects( HWND hWnd )
//WM->SetNewWindow( new WindowPlayerOptions );
WM->SetNewWindow( new WindowTitleMenu );
//Sleep(2000); // let the disk operations catch up
DXUtil_Timer( TIMER_START ); // Start the accurate timer
+1
View File
@@ -85,6 +85,7 @@ CString ThemeManager::GetPathTo( ThemeElement te, CString sThemeName )
case SOUND_MENU_SWOOSH: sAssetPath = "Sounds\\menu swoosh"; break;
case SOUND_MENU_BACK: sAssetPath = "Sounds\\menu back"; break;
case SOUND_TRAINING_MUSIC: sAssetPath = "Sounds\\training music"; break;
case SOUND_INVALID: sAssetPath = "Sounds\\invalid"; break;
case FONT_OUTLINE: sAssetPath = "Fonts\\Outline"; break;
case FONT_NORMAL: sAssetPath = "Fonts\\Normal"; break;
+1
View File
@@ -75,6 +75,7 @@ enum ThemeElement {
SOUND_MENU_SWOOSH,
SOUND_MENU_BACK,
SOUND_TRAINING_MUSIC,
SOUND_INVALID,
FONT_OUTLINE,
FONT_NORMAL,