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