comparison VideoPlayer.cpp @ 1026:6afa77761a00

Слияние
author Ritor1
date Tue, 21 May 2013 12:43:08 +0600
parents 9ac94d00012e
children 306ec23b37df
comparison
equal deleted inserted replaced
1025:8b492d4722d4 1026:6afa77761a00
1 #include "OSAPI.h" 1 #include "OSAPI.h"
2 2
3 #include "Bink_Smacker.h" 3 #include "Bink_Smacker.h"
4
5 #include "CShow.h"
6 #include "Mouse.h"
4 7
5 #include "OSInfo.h" 8 #include "OSInfo.h"
6 #include "VideoPlayer.h" 9 #include "VideoPlayer.h"
7 #include "AudioPlayer.h" 10 #include "AudioPlayer.h"
8 #include "Game.h" 11 #include "Game.h"
320 323
321 LoadFonts_and_DrawCopyrightWindow(); 324 LoadFonts_and_DrawCopyrightWindow();
322 325
323 pRenderer->EndScene(); 326 pRenderer->EndScene();
324 pRenderer->Present(); 327 pRenderer->Present();
328
329 #ifndef _DEBUG
330 Sleep(1500); // let the copyright window stay for a while
331 #endif
332
325 if (!bNoSound && pAudioPlayer->hAILRedbook ) 333 if (!bNoSound && pAudioPlayer->hAILRedbook )
326 { 334 {
327 pAudioPlayer->SetMusicVolume((signed __int64)(pSoundVolumeLevels[uMusicVolimeMultiplier] * 64.0)); 335 pAudioPlayer->SetMusicVolume((signed __int64)(pSoundVolumeLevels[uMusicVolimeMultiplier] * 64.0));
328 AIL_redbook_stop(pAudioPlayer->hAILRedbook); 336 AIL_redbook_stop(pAudioPlayer->hAILRedbook);
329 AIL_redbook_track_info(pAudioPlayer->hAILRedbook, 0xE, &uTrackStartMS, &uTrackEndMS); 337 AIL_redbook_track_info(pAudioPlayer->hAILRedbook, 0xE, &uTrackStartMS, &uTrackEndMS);