0
|
1 #pragma once
|
1397
|
2 #include "VideoPlayer.h"
|
1545
|
3 #include "ErrorHandling.h"
|
0
|
4
|
|
5
|
|
6 /* 302 */
|
|
7 enum MovieType
|
|
8 {
|
|
9 MOVIE_Invalid = 0x0,
|
|
10 MOVIE_3DOLogo = 0x1,
|
|
11 MOVIE_NWCLogo = 0x2,
|
|
12 MOVIE_JVC = 0x3,
|
|
13 MOVIE_Emerald = 0x4,
|
|
14 MOVIE_Intro = 0x5,
|
|
15 MOVIE_Death = 0x6,
|
|
16 MOVIE_Outro = 0x7,
|
|
17 };
|
|
18
|
1397
|
19 inline void PlayFullscreenMovie(MovieType movie, bool bShowMouseAfterPlayback = false)
|
|
20 {
|
|
21 extern unsigned int bNoVideo;
|
|
22 if (bNoVideo) return;
|
0
|
23
|
1397
|
24 switch (movie)
|
|
25 {
|
|
26 case MOVIE_3DOLogo: VideoPlayer::MovieLoop("3dologo", 0, 0, 1); break;
|
|
27 case MOVIE_NWCLogo: VideoPlayer::MovieLoop("new world logo", 0, 1, 1); break;
|
|
28 case MOVIE_JVC: VideoPlayer::MovieLoop("jvc", 0, 1, 1); break;
|
|
29 case MOVIE_Intro: VideoPlayer::MovieLoop("Intro", 0, 1, 1); break;
|
|
30 case MOVIE_Emerald: VideoPlayer::MovieLoop("Intro Post", 0, 1, 1); break;
|
|
31 case MOVIE_Death: VideoPlayer::MovieLoop("losegame", 2, 1, 1); break;
|
|
32 case MOVIE_Outro: VideoPlayer::MovieLoop("end_seq1", 20, 1, 1); break;
|
|
33
|
|
34 default:
|
1545
|
35 Error("Invalid movie requested: %u", movie);
|
1397
|
36 break;
|
|
37 }
|
|
38 }
|
|
39
|
|
40 /*
|
0
|
41 #pragma pack(push, 1)
|
1103
|
42 class CShow
|
0
|
43 {
|
1103
|
44 public:
|
0
|
45 //----- (004A9507) --------------------------------------------------------
|
|
46 CShow() {}
|
|
47
|
|
48 //----- (004A9510) --------------------------------------------------------
|
|
49 virtual ~CShow() {}
|
|
50
|
|
51
|
|
52 //----- (004A952D) --------------------------------------------------------
|
1029
|
53 void PlayMovie(MovieType eVideo, bool bShowMouseAfterPlayback);
|
0
|
54
|
|
55
|
1458
|
56 void ( ***vdestructor_ptr)(CShow *, bool);
|
0
|
57 };
|
1397
|
58 #pragma pack(pop)*/ |