ScummVM API documentation
nebular_scenes8.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 MADS_NEBULAR_SCENES8_H
23 #define MADS_NEBULAR_SCENES8_H
24 
25 #include "common/scummsys.h"
26 #include "mads/game.h"
27 #include "mads/scene.h"
28 #include "mads/nebular/nebular_scenes.h"
29 
30 namespace MADS {
31 
32 namespace Nebular {
33 
34 class Scene8xx : public NebularScene {
35 protected:
40 
44  void setAAName();
45 
49  void sceneEntrySound();
50 public:
51  Scene8xx(MADSEngine *vm) : NebularScene(vm) {}
52 };
53 
54 class Scene801 : public Scene8xx{
55 private:
56  bool _walkThroughDoor;
57 
58 public:
59  Scene801(MADSEngine *vm);
60  void synchronize(Common::Serializer &s) override;
61 
62  void setup() override;
63  void enter() override;
64  void step() override;
65  void preActions() override;
66  void actions() override;
67 };
68 
69 class Scene802 : public Scene8xx{
70 public:
71  Scene802(MADSEngine *vm) : Scene8xx(vm) {}
72 
73  void setup() override;
74  void enter() override;
75  void step() override;
76  void preActions() override;
77  void actions() override;
78 };
79 
80 class Scene803 : public Scene8xx{
81 public:
82  Scene803(MADSEngine *vm) : Scene8xx(vm) {}
83 
84  void setup() override;
85  void enter() override;
86  void step() override;
87  void preActions() override;
88  void actions() override;
89 };
90 
91 class Scene804 : public Scene8xx {
92 private:
93  bool _messWithThrottle;
94  bool _movingThrottle;
95  bool _throttleGone;
96  bool _dontPullThrottleAgain;
97  bool _pullThrottleReally;
98  bool _alreadyOrgan;
99  bool _alreadyPop;
100  uint32 _throttleCounter;
101  int _resetFrame;
102 
103 public:
104  Scene804(MADSEngine *vm);
105  void synchronize(Common::Serializer &s) override;
106 
107  void setup() override;
108  void enter() override;
109  void step() override;
110  void actions() override;
111 };
112 
113 class Scene805 : public Scene8xx{
114 public:
115  Scene805(MADSEngine *vm) : Scene8xx(vm) {}
116 
117  void setup() override;
118  void enter() override;
119  void step() override;
120  void preActions() override;
121  void actions() override;
122 };
123 
124 class Scene807 : public SceneTeleporter {
125 public:
126  Scene807(MADSEngine *vm) : SceneTeleporter(vm) {}
127 
128  void setup() override;
129  void enter() override;
130  void step() override;
131  void actions() override;
132 };
133 
134 class Scene808 : public Scene8xx{
135 private:
136  bool _goingTo803;
137 
138 public:
139  Scene808(MADSEngine *vm);
140  void synchronize(Common::Serializer &s) override;
141 
142  void setup() override;
143  void enter() override;
144  void actions() override;
145 };
146 
147 class Scene810 : public Scene8xx{
148 private:
149  bool _moveAllowed;
150 
151 public:
152  Scene810(MADSEngine *vm);
153  void synchronize(Common::Serializer &s) override;
154 
155  void setup() override;
156  void enter() override;
157  void step() override;
158  void actions() override {};
159 };
160 
161 } // End of namespace Nebular
162 } // End of namespace MADS
163 
164 #endif /* MADS_NEBULAR_SCENES8_H */
virtual void synchronize(Common::Serializer &s)
Definition: scene_data.h:126
Definition: nebular_scenes8.h:113
virtual void actions()=0
Definition: nebular_scenes8.h:147
virtual void preActions()
Definition: scene_data.h:106
void actions() override
Definition: nebular_scenes8.h:158
virtual void enter()=0
Definition: serializer.h:79
virtual void setup()=0
Definition: nebular_scenes8.h:124
NebularScene(MADSEngine *vm)
Definition: nebular_scenes8.h:34
Definition: nebular_scenes8.h:80
Definition: nebular_scenes8.h:134
Definition: mads.h:87
Definition: nebular_scenes8.h:54
Definition: nebular_scenes.h:1348
Definition: action.h:28
Definition: nebular_scenes8.h:91
Definition: nebular_scenes.h:1385
Definition: nebular_scenes8.h:69
virtual void step()
Definition: scene_data.h:101