comparison VideoPlayer.cpp @ 151:9abdd40a107b

pCurrentScreen
author Ritor1
date Tue, 12 Feb 2013 15:28:08 +0600
parents 8e33efd39355
children 572d821561f3
comparison
equal deleted inserted replaced
150:d92c78ab54fe 151:9abdd40a107b
358 { 358 {
359 pRenderer->BeginScene(); 359 pRenderer->BeginScene();
360 pRenderer->ClearTarget(0); 360 pRenderer->ClearTarget(0);
361 pRenderer->EndScene(); 361 pRenderer->EndScene();
362 } 362 }
363 pCurrentScreen = 16; //окно видео ролика 363 pCurrentScreen = SCREEN_VIDEO;
364 if ( pVideoPlayer->uMovieFormat == 2 ) 364 if ( pVideoPlayer->uMovieFormat == 2 )
365 { 365 {
366 if ( pVideoPlayer->pBinkMovie ) 366 if ( pVideoPlayer->pBinkMovie )
367 { 367 {
368 pVideoPlayer->BinkDrawFrame(pVideoPlayer->hWindow, v4, ScreenSizeFlag); 368 pVideoPlayer->BinkDrawFrame(pVideoPlayer->hWindow, v4, ScreenSizeFlag);
417 } 417 }
418 } 418 }
419 } 419 }
420 } 420 }
421 if ( uGameState == GAME_FINISHED ) 421 if ( uGameState == GAME_FINISHED )
422 pCurrentScreen = 0;//MainMenuScreen 422 pCurrentScreen = SCREEN_GAME;
423 pVideoPlayer->bPlayingMovie = 0; 423 pVideoPlayer->bPlayingMovie = 0;
424 ShowCursor(1); 424 ShowCursor(1);
425 if ( pCurrentScreen == 16 )//окно видео ролика 425 if ( pCurrentScreen == SCREEN_VIDEO )
426 pCurrentScreen = 0; 426 pCurrentScreen = SCREEN_GAME;
427 } 427 }
428 } 428 }
429 429
430 430
431 431