Mercurial > mm7
comparison CShow.h @ 1401:3161094869e0
Слияние
author | Ritor1 |
---|---|
date | Fri, 19 Jul 2013 12:50:44 +0600 |
parents | eb02a65e5c82 |
children | 934074e7fcc1 |
comparison
equal
deleted
inserted
replaced
1400:9b091098c88c | 1401:3161094869e0 |
---|---|
1 #pragma once | 1 #pragma once |
2 | 2 #include "VideoPlayer.h" |
3 | 3 |
4 | 4 |
5 /* 302 */ | 5 /* 302 */ |
6 enum MovieType | 6 enum MovieType |
7 { | 7 { |
13 MOVIE_Intro = 0x5, | 13 MOVIE_Intro = 0x5, |
14 MOVIE_Death = 0x6, | 14 MOVIE_Death = 0x6, |
15 MOVIE_Outro = 0x7, | 15 MOVIE_Outro = 0x7, |
16 }; | 16 }; |
17 | 17 |
18 inline void PlayFullscreenMovie(MovieType movie, bool bShowMouseAfterPlayback = false) | |
19 { | |
20 extern unsigned int bNoVideo; | |
21 if (bNoVideo) return; | |
18 | 22 |
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 /* | |
19 #pragma pack(push, 1) | 40 #pragma pack(push, 1) |
20 class CShow | 41 class CShow |
21 { | 42 { |
22 public: | 43 public: |
23 //----- (004A9507) -------------------------------------------------------- | 44 //----- (004A9507) -------------------------------------------------------- |
31 void PlayMovie(MovieType eVideo, bool bShowMouseAfterPlayback); | 52 void PlayMovie(MovieType eVideo, bool bShowMouseAfterPlayback); |
32 | 53 |
33 | 54 |
34 void (__thiscall ***vdestructor_ptr)(CShow *, bool); | 55 void (__thiscall ***vdestructor_ptr)(CShow *, bool); |
35 }; | 56 }; |
36 #pragma pack(pop) | 57 #pragma pack(pop)*/ |