ScummVM API documentation
clouds_cutscenes.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef XEEN_WORLDOFXEEN_CLOUDS_CUTSCENES_H
23 #define XEEN_WORLDOFXEEN_CLOUDS_CUTSCENES_H
24 
25 #include "mm/xeen/cutscenes.h"
26 #include "mm/xeen/subtitles.h"
27 #include "mm/xeen/xeen.h"
28 
29 namespace MM {
30 namespace Xeen {
31 namespace WorldOfXeen {
32 
33 class CloudsCutscenes : public Cutscenes {
34 private:
35  static const char *const _INTRO_VOCS[14];
36  static const int _INTRO_FRAMES_LOOKUP[14];
37  static const int _INTRO_FRAMES_VALS[8][32];
38  static const uint _INTRO_FRAMES_WAIT[8][32];
39  static const byte _DECODE_TABLE1[256];
40  static const byte _DECODE_TABLE2[256];
41 private:
42  Subtitles _subtitles;
43  SpriteResource _mirror, _mirrBack;
44  int _mergeX;
45 private:
46  void loadScreen(const Common::Path &name);
47 
51  bool showCloudsTitle();
52 
56  bool showCloudsIntroInner();
57 
61  bool showCloudsEnding1();
62 
66  bool showCloudsEnding2();
67 
72  bool showCloudsEnding3();
73 
77  bool showCloudsEnding4(uint finalScore);
78 
82  bool showCloudsEnding5();
83 public:
84  CloudsCutscenes(XeenEngine *vm) : Cutscenes(vm), _mergeX(0) {}
85 
89  bool showCloudsIntro();
90 
94  void showCloudsEnding(uint finalScore);
95 };
96 
97 } // End of namespace WorldOfXeen
98 } // End of namespace Xeen
99 } // End of namespace MM
100 
101 #endif
Definition: sprites.h:52
Definition: cutscenes.h:34
Definition: subtitles.h:31
Definition: path.h:52
Definition: xeen.h:93
Definition: detection.h:27
Definition: clouds_cutscenes.h:33
void showCloudsEnding(uint finalScore)