ScummVM API documentation
ringworld_demo.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 TSAGE_RINGWORLD_DEMO_H
23 #define TSAGE_RINGWORLD_DEMO_H
24 
25 #include "common/scummsys.h"
26 #include "tsage/events.h"
27 #include "tsage/core.h"
28 #include "tsage/scenes.h"
29 #include "tsage/globals.h"
30 #include "tsage/sound.h"
31 
32 namespace TsAGE {
33 
34 namespace Ringworld {
35 
36 using namespace TsAGE;
37 
38 class RingworldDemoGame: public Game {
39 private:
40  void pauseGame();
41 public:
42  void start() override;
43  Scene *createScene(int sceneNumber) override;
44  void quitGame() override;
45  void processEvent(Event &event) override;
46  bool canSaveGameStateCurrently() override;
47  bool canLoadGameStateCurrently() override;
48 };
49 
50 class RingworldDemoScene: public Scene {
51 public:
52  SequenceManager _sequenceManager;
53  SceneObject _actor1, _actor2, _actor3;
54  SceneObject _actor4, _actor5, _actor6;
55  ASound _soundHandler;
56 
57  void postInit(SceneObjectList *OwnerList = NULL) override;
58  void process(Event &event) override;
59  void signal() override;
60 };
61 
62 } // End of namespace Ringworld
63 
64 } // End of namespace TsAGE
65 
66 #endif
Definition: ringworld_demo.h:50
Definition: core.h:736
Definition: sound.h:366
Definition: events.h:47
Definition: blueforce_dialogs.h:30
Definition: scenes.h:33
Definition: core.h:519
Definition: converse.h:38
Definition: scenes.h:109
Definition: ringworld_demo.h:38