ScummVM API documentation
darkside_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_DARKSIDE_CUTSCENES_H
23 #define XEEN_WORLDOFXEEN_DARKSIDE_CUTSCENES_H
24 
25 #include "mm/xeen/cutscenes.h"
26 
27 namespace MM {
28 namespace Xeen {
29 
30 class XeenEngine;
31 
32 namespace WorldOfXeen {
33 
34 class DarkSideCutscenes : public Cutscenes {
35 private:
36  Subtitles _subtitles;
37  SpriteResource _ball, _claw, _dragon1;
38 private:
44  bool rubCrystalBall(bool fadeIn = false);
45 
51  void animatePharoah(int frame, bool showBall = true);
52 
56  bool showDarkSideTitle(bool seenIntro);
57 
62  bool showDarkSideIntro1();
63 
67  bool showDarkSideIntro2();
68 
72  bool showDarkSideIntro3();
73 
77  bool showWorldOfXeenLogo();
78 
82  bool showDarkSideEnding1();
83 
87  bool showDarkSideEnding2();
88 
92  bool showDarkSideEnding3();
93 
97  bool showDarkSideEnding4();
98 
102  void showDarkSideScore(uint endingScore);
103 
107  bool showPharaohEndTextInner(const char *msg1, const char *msg2, const char *msg3);
108 protected:
112  bool showPharaohEndText(const char *msg1, const char *msg2 = nullptr, const char *msg3 = nullptr);
113 public:
115 
119  bool showDarkSideIntro(bool seenIntro);
120 
124  void showDarkSideEnding(uint endingScore);
125 };
126 
127 } // End of namespace WorldOfXeen
128 } // End of namespace Xeen
129 } // End of namespace MM
130 
131 #endif
Definition: sprites.h:52
Definition: cutscenes.h:34
Definition: subtitles.h:31
Definition: darkside_cutscenes.h:34
Definition: xeen.h:93
Definition: detection.h:27
void showDarkSideEnding(uint endingScore)
bool showPharaohEndText(const char *msg1, const char *msg2=nullptr, const char *msg3=nullptr)