1035
|
1 #include <assert.h>
|
|
2
|
1016
|
3 #include "CShow.h"
|
|
4
|
|
5 #include "VideoPlayer.h"
|
|
6 #include "Mouse.h"
|
|
7
|
1035
|
8 void CShow::PlayMovie(MovieType eVideo, bool bShowMouseAfterPlayback)
|
1016
|
9 {
|
1035
|
10 if (bNoVideo) return;
|
|
11
|
|
12 switch (eVideo)
|
|
13 {
|
|
14 case MOVIE_3DOLogo: VideoPlayer::MovieLoop("3dologo", 0, 0, 1); break;
|
|
15 case MOVIE_NWCLogo: VideoPlayer::MovieLoop("new world logo", 0, 1, 1); break;
|
|
16 case MOVIE_JVC: VideoPlayer::MovieLoop("jvc", 0, 1, 1); break;
|
|
17 case MOVIE_Intro: VideoPlayer::MovieLoop("Intro", 0, 1, 1); break;
|
|
18 case MOVIE_Emerald: VideoPlayer::MovieLoop("Intro Post", 0, 1, 1); break;
|
|
19 case MOVIE_Death: VideoPlayer::MovieLoop("losegame", 2, 1, 1); break;
|
|
20 case MOVIE_Outro: VideoPlayer::MovieLoop("end_seq1", 20, 1, 1); break;
|
1016
|
21
|
1035
|
22 default:
|
|
23 assert(false && "Invalid movie requested in " __FUNCTION__);
|
|
24 break;
|
|
25 }
|
1016
|
26 }
|
|
27
|