annotate CShow.h @ 1424:5930342f092b

fall to the water
author Ritor1
date Tue, 30 Jul 2013 15:14:46 +0600
parents eb02a65e5c82
children 934074e7fcc1
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
1397
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
2 #include "VideoPlayer.h"
0
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4
Ritor1
parents:
diff changeset
5 /* 302 */
Ritor1
parents:
diff changeset
6 enum MovieType
Ritor1
parents:
diff changeset
7 {
Ritor1
parents:
diff changeset
8 MOVIE_Invalid = 0x0,
Ritor1
parents:
diff changeset
9 MOVIE_3DOLogo = 0x1,
Ritor1
parents:
diff changeset
10 MOVIE_NWCLogo = 0x2,
Ritor1
parents:
diff changeset
11 MOVIE_JVC = 0x3,
Ritor1
parents:
diff changeset
12 MOVIE_Emerald = 0x4,
Ritor1
parents:
diff changeset
13 MOVIE_Intro = 0x5,
Ritor1
parents:
diff changeset
14 MOVIE_Death = 0x6,
Ritor1
parents:
diff changeset
15 MOVIE_Outro = 0x7,
Ritor1
parents:
diff changeset
16 };
Ritor1
parents:
diff changeset
17
1397
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
18 inline void PlayFullscreenMovie(MovieType movie, bool bShowMouseAfterPlayback = false)
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
19 {
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
20 extern unsigned int bNoVideo;
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
21 if (bNoVideo) return;
0
Ritor1
parents:
diff changeset
22
1397
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
23 switch (movie)
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
24 {
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
25 case MOVIE_3DOLogo: VideoPlayer::MovieLoop("3dologo", 0, 0, 1); break;
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
26 case MOVIE_NWCLogo: VideoPlayer::MovieLoop("new world logo", 0, 1, 1); break;
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
27 case MOVIE_JVC: VideoPlayer::MovieLoop("jvc", 0, 1, 1); break;
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
28 case MOVIE_Intro: VideoPlayer::MovieLoop("Intro", 0, 1, 1); break;
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
29 case MOVIE_Emerald: VideoPlayer::MovieLoop("Intro Post", 0, 1, 1); break;
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
30 case MOVIE_Death: VideoPlayer::MovieLoop("losegame", 2, 1, 1); break;
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
31 case MOVIE_Outro: VideoPlayer::MovieLoop("end_seq1", 20, 1, 1); break;
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
32
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
33 default:
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
34 assert(false && "Invalid movie requested in " __FUNCTION__);
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
35 break;
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
36 }
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
37 }
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
38
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
39 /*
0
Ritor1
parents:
diff changeset
40 #pragma pack(push, 1)
1103
db395ce89ede struct/class incostintency
Grumpy7
parents: 1029
diff changeset
41 class CShow
0
Ritor1
parents:
diff changeset
42 {
1103
db395ce89ede struct/class incostintency
Grumpy7
parents: 1029
diff changeset
43 public:
0
Ritor1
parents:
diff changeset
44 //----- (004A9507) --------------------------------------------------------
Ritor1
parents:
diff changeset
45 CShow() {}
Ritor1
parents:
diff changeset
46
Ritor1
parents:
diff changeset
47 //----- (004A9510) --------------------------------------------------------
Ritor1
parents:
diff changeset
48 virtual ~CShow() {}
Ritor1
parents:
diff changeset
49
Ritor1
parents:
diff changeset
50
Ritor1
parents:
diff changeset
51 //----- (004A952D) --------------------------------------------------------
1029
c94d6a37d298 Pointing a face with mouse fixed.
Nomad
parents: 1016
diff changeset
52 void PlayMovie(MovieType eVideo, bool bShowMouseAfterPlayback);
0
Ritor1
parents:
diff changeset
53
Ritor1
parents:
diff changeset
54
Ritor1
parents:
diff changeset
55 void (__thiscall ***vdestructor_ptr)(CShow *, bool);
Ritor1
parents:
diff changeset
56 };
1397
eb02a65e5c82 Quick Spell fixed.
Nomad
parents: 1103
diff changeset
57 #pragma pack(pop)*/