ScummVM API documentation
anna.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_ANNA_H
23 #define LASTEXPRESS_ANNA_H
24 
25 #include "lastexpress/entities/entity.h"
26 
27 namespace LastExpress {
28 
29 class LastExpressEngine;
30 
31 class Anna : public Entity {
32 public:
33  Anna(LastExpressEngine *engine);
34  ~Anna() override {}
35 
39  DECLARE_FUNCTION(reset)
40 
41 
46  DECLARE_FUNCTION_1(draw, const char *sequence)
47 
48 
55  DECLARE_FUNCTION_3(updatePosition, const char *sequence1, CarIndex car, Position position)
56 
57 
63  DECLARE_VFUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
64 
65 
68  DECLARE_FUNCTION(callbackActionOnDirection)
69 
70 
78  DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
79 
80 
85  DECLARE_VFUNCTION_1(playSound, const char *filename)
86 
87 
90  DECLARE_FUNCTION(callbackActionRestaurantOrSalon)
91 
92 
98  DECLARE_VFUNCTION_2(savegame, SavegameType savegameType, uint32 param)
99 
100 
106  DECLARE_VFUNCTION_2(updateEntity, CarIndex car, EntityPosition entityPosition)
107 
108 
113  DECLARE_FUNCTION_1(updateFromTime, uint32 time)
114 
115  DECLARE_FUNCTION(practiceMusic)
116 
117 
124  DECLARE_FUNCTION_3(draw2, const char *sequence1, const char *sequence2, EntityIndex entity)
125 
126 
131  DECLARE_FUNCTION_1(updateFromTicks, uint32 ticks)
132 
133  DECLARE_FUNCTION_2(compartmentLogic, TimeValue timeValue, const char *sequence)
134 
135 
138  DECLARE_VFUNCTION(chapter1)
139 
140  DECLARE_FUNCTION_2(doWalkP1, uint32, uint32)
141 
142  DECLARE_FUNCTION_1(diningLogic, TimeValue timeValue)
143 
144 
147  DECLARE_FUNCTION(fleeTyler)
148  DECLARE_FUNCTION(waitDinner)
149  DECLARE_FUNCTION(goDinner)
150  DECLARE_FUNCTION(function22)
151  DECLARE_FUNCTION(waitingDinner)
152  DECLARE_FUNCTION(waitingDinner2)
153  DECLARE_FUNCTION(eatingDinner)
154  DECLARE_FUNCTION(leaveDinner)
155  DECLARE_FUNCTION(freshenUp)
156  DECLARE_FUNCTION(goSalon)
157  DECLARE_FUNCTION(waitAugust)
158  DECLARE_FUNCTION(function30)
159  DECLARE_FUNCTION(leaveAugust)
160  DECLARE_FUNCTION(returnCompartment)
161  DECLARE_FUNCTION(readyForBed)
162  DECLARE_FUNCTION(asleep)
163  DECLARE_FUNCTION(wakeNight)
164  DECLARE_FUNCTION(goVassili)
165  DECLARE_FUNCTION(function37)
166  DECLARE_FUNCTION(speakTatiana)
167  DECLARE_FUNCTION_2(doWalk1019, CarIndex car, EntityPosition entityPosition)
168  DECLARE_FUNCTION(leaveTatiana)
169  DECLARE_FUNCTION(goBackToSleep)
170 
171 
174  DECLARE_VFUNCTION(chapter2)
175 
176 
179  DECLARE_FUNCTION(inPart2)
180 
181 
184  DECLARE_VFUNCTION(chapter3)
185 
186 
189  DECLARE_FUNCTION_1(exitCompartment, bool useAction1)
190  DECLARE_FUNCTION(practicing)
191  DECLARE_FUNCTION(goLunch)
192  DECLARE_FUNCTION(lunch)
193  DECLARE_FUNCTION(leaveTableWithAugust)
194  DECLARE_FUNCTION(leaveLunch)
195  DECLARE_FUNCTION(afterLunch)
196  DECLARE_FUNCTION(returnCompartment3)
197  DECLARE_FUNCTION(dressing)
198  DECLARE_FUNCTION(giveMaxToConductor2)
199  DECLARE_FUNCTION(goConcert)
200  DECLARE_FUNCTION(concert)
201  DECLARE_FUNCTION(leaveConcert)
202  DECLARE_FUNCTION(leaveConcertCathInCompartment)
203  DECLARE_FUNCTION(afterConcert)
204  DECLARE_FUNCTION(giveMaxBack)
205  DECLARE_FUNCTION(goBaggageCompartment)
206  DECLARE_FUNCTION(function62)
207  DECLARE_FUNCTION(deadBaggageCompartment)
208  DECLARE_FUNCTION(baggageFight)
209  DECLARE_FUNCTION(prepareVienna)
210 
211 
214  DECLARE_VFUNCTION(chapter4)
215 
216 
219  DECLARE_FUNCTION(reading)
220  DECLARE_FUNCTION(sulking)
221  DECLARE_FUNCTION(goSalon4)
222  DECLARE_FUNCTION(returnCompartment4)
223  DECLARE_FUNCTION(enterCompartmentCathFollowsAnna)
224  DECLARE_FUNCTION_2(doWalkCathFollowsAnna, CarIndex car, EntityPosition entityPosition)
225  DECLARE_FUNCTION(letDownHair)
226 
227 
230  DECLARE_VFUNCTION(chapter5)
231 
232 
235  DECLARE_FUNCTION(tiedUp)
236  DECLARE_FUNCTION(function76)
237  DECLARE_FUNCTION(readyToScore)
238  DECLARE_FUNCTION(kidnapped)
239  DECLARE_FUNCTION(waiting)
240  DECLARE_FUNCTION(finalSequence)
241  DECLARE_FUNCTION(openFirebird)
242 };
243 
244 } // End of namespace LastExpress
245 
246 #endif // LASTEXPRESS_ANNA_H
void updateFromTime(const SavePoint &savepoint)
void updateFromTicks(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)
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)
Definition: anna.h:31
void enterExitCompartment(const SavePoint &savepoint, EntityPosition position1=kPositionNone, EntityPosition position2=kPositionNone, CarIndex car=kCarNone, ObjectIndex compartment=kObjectNone, bool alternate=false, bool updateLocation=false)