ScummVM API documentation
august.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 LASTEXPRESS_AUGUST_H
23 #define LASTEXPRESS_AUGUST_H
24 
25 #include "lastexpress/entities/entity.h"
26 
27 namespace LastExpress {
28 
29 class LastExpressEngine;
30 
31 class August : public Entity {
32 public:
33  August(LastExpressEngine *engine);
34  ~August() override {}
35 
39  DECLARE_FUNCTION(reset)
40 
41 
46  DECLARE_FUNCTION_1(updateFromTime, uint32 time)
47 
48 
53  DECLARE_FUNCTION_1(draw, const char *sequence)
54 
55 
62  DECLARE_FUNCTION_3(updatePosition, const char *sequence1, CarIndex car, Position position)
63 
64 
70  DECLARE_VFUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
71 
72 
78  DECLARE_FUNCTION_2(enterExitCompartment2, const char *sequence, ObjectIndex compartment)
79 
80 
86  DECLARE_FUNCTION_2(enterExitCompartment3, const char *sequence, ObjectIndex compartment)
87 
88 
91  DECLARE_FUNCTION(callbackActionOnDirection)
92 
93 
101  DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
102 
103 
110  DECLARE_FUNCTION_3(callSavepointNoDrawing, EntityIndex entity, ActionIndex action, const char *sequence)
111 
112 
119  DECLARE_FUNCTION_3(draw2, const char *sequence1, const char *sequence2, EntityIndex entity)
120 
121 
126  DECLARE_VFUNCTION_1(playSound, const char *filename)
127 
128 
133  DECLARE_FUNCTION_1(playSound16, const char *filename)
134 
135 
138  DECLARE_FUNCTION(callbackActionRestaurantOrSalon)
139 
140 
146  DECLARE_VFUNCTION_2(savegame, SavegameType savegameType, uint32 param)
147 
148 
154  DECLARE_VFUNCTION_2(updateEntity, CarIndex car, EntityPosition entityPosition)
155 
156  DECLARE_FUNCTION_1(function17, TimeValue timeValue)
157 
158 
164  DECLARE_FUNCTION_2(updateEntity2, CarIndex car, EntityPosition entityPosition)
165 
166  DECLARE_FUNCTION_2(function19, bool, bool)
167 
168  DECLARE_FUNCTION_1(function20, bool)
169  DECLARE_FUNCTION_1(function21, TimeValue timeValue)
170 
171 
174  DECLARE_VFUNCTION(chapter1)
175 
176  DECLARE_FUNCTION_1(function23, TimeValue timeValue)
177  DECLARE_FUNCTION(dinner)
178 
179 
182  DECLARE_FUNCTION(chapter1Handler)
183 
184  DECLARE_FUNCTION(function26)
185  DECLARE_FUNCTION(function27)
186  DECLARE_FUNCTION(function28)
187  DECLARE_FUNCTION(function29)
188  DECLARE_FUNCTION(restaurant)
189  DECLARE_FUNCTION(function31)
190  DECLARE_FUNCTION(function32)
191  DECLARE_FUNCTION(function33)
192  DECLARE_FUNCTION(function34)
193 
194 
197  DECLARE_VFUNCTION(chapter2)
198 
199 
202  DECLARE_FUNCTION(chapter2Handler)
203 
204  DECLARE_FUNCTION(function37)
205  DECLARE_FUNCTION(function38)
206  DECLARE_FUNCTION(function39)
207 
208 
211  DECLARE_VFUNCTION(chapter3)
212 
213  DECLARE_FUNCTION_2(function41, CarIndex car, EntityPosition entityPosition)
214  DECLARE_FUNCTION_3(function42, CarIndex car, EntityPosition entityPosition, bool)
215 
216 
219  DECLARE_FUNCTION(chapter3Handler)
220 
221  DECLARE_FUNCTION(function44)
222  DECLARE_FUNCTION(function45)
223  DECLARE_FUNCTION(function46)
224  DECLARE_FUNCTION(function47)
225  DECLARE_FUNCTION(function48)
226  DECLARE_FUNCTION(function49)
227  DECLARE_FUNCTION(function50)
228  DECLARE_FUNCTION(function51)
229  DECLARE_FUNCTION(function52)
230  DECLARE_FUNCTION(function53)
231  DECLARE_FUNCTION(function54)
232  DECLARE_FUNCTION(function55)
233  DECLARE_FUNCTION(function56)
234 
235 
238  DECLARE_VFUNCTION(chapter4)
242  DECLARE_FUNCTION(chapter4Handler)
243 
244  DECLARE_FUNCTION(function59)
245  DECLARE_FUNCTION(function60)
246  DECLARE_FUNCTION(function61)
247  DECLARE_FUNCTION(function62)
248  DECLARE_FUNCTION(function63)
249  DECLARE_FUNCTION(function64)
250  DECLARE_FUNCTION(function65)
251 
252 
255  DECLARE_VFUNCTION(chapter5)
256 
257 
260  DECLARE_FUNCTION(chapter5Handler)
261 
262  DECLARE_FUNCTION(function68)
263  DECLARE_FUNCTION(unhookCars)
264 
265  DECLARE_NULL_FUNCTION()
266 };
267 
268 } // End of namespace LastExpress
269 
270 #endif // LASTEXPRESS_AUGUST_H
void updateFromTime(const SavePoint &savepoint)
void savegame(const SavePoint &savepoint)
Definition: lastexpress.h:69
void updateEntity(const SavePoint &savepoint, bool handleExcuseMe=false)
Definition: animation.h:45
void draw2(const SavePoint &savepoint)
Definition: entity.h:919
void updatePosition(const SavePoint &savepoint, bool handleExcuseMe=false)
void draw(const SavePoint &savepoint, bool handleExcuseMe=false)
void callbackActionOnDirection(const SavePoint &savepoint)
Definition: august.h:31
void reset(const SavePoint &savepoint, ClothesIndex maxClothes=kClothesDefault, bool resetItem=false)
void playSound(const SavePoint &savepoint, bool resetItem=false, SoundFlag flag=kSoundVolumeEntityDefault)
void callSavepoint(const SavePoint &savepoint, bool handleExcuseMe=false)
void callbackActionRestaurantOrSalon(const SavePoint &savepoint)
void enterExitCompartment(const SavePoint &savepoint, EntityPosition position1=kPositionNone, EntityPosition position2=kPositionNone, CarIndex car=kCarNone, ObjectIndex compartment=kObjectNone, bool alternate=false, bool updateLocation=false)