fixed "Hall of mirrors"
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -75,6 +75,7 @@ enum ThemeElement {
|
||||
SOUND_MENU_SWOOSH,
|
||||
SOUND_MENU_BACK,
|
||||
SOUND_TRAINING_MUSIC,
|
||||
SOUND_INVALID,
|
||||
|
||||
FONT_OUTLINE,
|
||||
FONT_NORMAL,
|
||||
|
||||
Reference in New Issue
Block a user