ScummVM API documentation
swordsofxeen.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_SWORDSOFXEEN_SWORDSOFXEEN_H
23 #define XEEN_SWORDSOFXEEN_SWORDSOFXEEN_H
24 
25 #include "mm/xeen/xeen.h"
26 #include "mm/xeen/worldofxeen/worldofxeen_cutscenes.h"
27 
28 namespace MM {
29 namespace Xeen {
30 namespace SwordsOfXeen {
31 
37 private:
41  bool showEnding();
42 protected:
46  void showStartup() override {
47  // Swords of Xeen doesn't have a starting title or intro
48  _gameMode = GMODE_MENU;
49  }
50 
54  void showMainMenu() override;
55 
59  void death() override;
60 public:
62  ~SwordsOfXeenEngine() override {}
63 
67  void showCutscene(const Common::String &name, int status, uint score) override;
68 
72  void dream() override;
73 };
74 
75 #define SWORDS_VM (*(::Xeen::SwordsOfXeen::SwordsOfXeenEngine *)g_vm)
76 
77 } // End of namespace SwordsOfXeen
78 } // End of namespace Xeen
79 } // End of namespace MM
80 
81 #endif
Definition: str.h:59
Definition: xeen.h:93
Definition: swordsofxeen.h:36
void showCutscene(const Common::String &name, int status, uint score) override
Definition: detection.h:27
void showStartup() override
Definition: swordsofxeen.h:46
Definition: detection.h:43
Definition: system.h:175