comparison CShow.cpp @ 1038:39f42990698f

Cleanings
author Nomad
date Thu, 23 May 2013 03:29:29 +0200
parents 306ec23b37df
children 0aeac0b9ca30
comparison
equal deleted inserted replaced
1035:306ec23b37df 1038:39f42990698f
6 #include "Mouse.h" 6 #include "Mouse.h"
7 7
8 void CShow::PlayMovie(MovieType eVideo, bool bShowMouseAfterPlayback) 8 void CShow::PlayMovie(MovieType eVideo, bool bShowMouseAfterPlayback)
9 { 9 {
10 if (bNoVideo) return; 10 if (bNoVideo) return;
11
12 if (pAsyncMouse)
13 pAsyncMouse->Suspend();
14 11
15 switch (eVideo) 12 switch (eVideo)
16 { 13 {
17 case MOVIE_3DOLogo: VideoPlayer::MovieLoop("3dologo", 0, 0, 1); break; 14 case MOVIE_3DOLogo: VideoPlayer::MovieLoop("3dologo", 0, 0, 1); break;
18 case MOVIE_NWCLogo: VideoPlayer::MovieLoop("new world logo", 0, 1, 1); break; 15 case MOVIE_NWCLogo: VideoPlayer::MovieLoop("new world logo", 0, 1, 1); break;
24 21
25 default: 22 default:
26 assert(false && "Invalid movie requested in " __FUNCTION__); 23 assert(false && "Invalid movie requested in " __FUNCTION__);
27 break; 24 break;
28 } 25 }
29
30 if (bShowMouseAfterPlayback)
31 if (pAsyncMouse)
32 pAsyncMouse->Resume();
33 } 26 }
34 27