ScummVM API documentation
tatiana.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_TATIANA_H
23 #define LASTEXPRESS_TATIANA_H
24 
25 #include "lastexpress/entities/entity.h"
26 
27 namespace LastExpress {
28 
29 class LastExpressEngine;
30 
31 class Tatiana : public Entity {
32 public:
33  Tatiana(LastExpressEngine *engine);
34  ~Tatiana() override {}
35 
39  DECLARE_FUNCTION(reset)
40 
41 
46  DECLARE_VFUNCTION_1(playSound, const char *filename)
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 
88  DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
89 
90 
93  DECLARE_FUNCTION(callbackActionOnDirection)
94 
95 
101  DECLARE_FUNCTION_NOSETUP(updateFromTicks)
102 
103 
108  DECLARE_FUNCTION_1(updateFromTime, uint32 time)
109 
110 
113  DECLARE_FUNCTION(callbackActionRestaurantOrSalon)
114 
115 
121  DECLARE_VFUNCTION_2(savegame, SavegameType savegameType, uint32 param)
122 
123 
129  DECLARE_VFUNCTION_2(updateEntity, CarIndex car, EntityPosition entityPosition)
130 
131  DECLARE_FUNCTION(enterCompartment)
132  DECLARE_FUNCTION(exitCompartment)
133  DECLARE_FUNCTION_1(handleCompartment, uint32)
134 
135 
138  DECLARE_VFUNCTION(chapter1)
139 
140  DECLARE_FUNCTION(function18)
141 
142 
145  DECLARE_FUNCTION(chapter1Handler)
146 
147  DECLARE_FUNCTION(exitDining)
148  DECLARE_FUNCTION(returnToCompartment)
149  DECLARE_FUNCTION(getSomeAir)
150  DECLARE_FUNCTION(returnToCompartmentAgain)
151  DECLARE_FUNCTION(function24)
152 
153 
156  DECLARE_VFUNCTION(chapter2)
157 
158 
161  DECLARE_FUNCTION(chapter2Handler)
162 
163  DECLARE_FUNCTION(breakfastClick)
164  DECLARE_FUNCTION(joinAlexei)
165  DECLARE_FUNCTION(leaveBreakfast)
166  DECLARE_FUNCTION(returnToCompartment2)
167 
168 
171  DECLARE_VFUNCTION(chapter3)
172 
173  DECLARE_FUNCTION(playChess)
174  DECLARE_FUNCTION(returnToCompartment3)
175  DECLARE_FUNCTION(beforeConcert)
176  DECLARE_FUNCTION(concert)
177  DECLARE_FUNCTION(leaveConcert)
178  DECLARE_FUNCTION(afterConcert)
179  DECLARE_FUNCTION(cryAnna)
180  DECLARE_FUNCTION(function39)
181  DECLARE_FUNCTION(function40)
182  DECLARE_FUNCTION(trapCath)
183 
184 
190  DECLARE_FUNCTION_2(function42, CarIndex car, EntityPosition entityPosition)
191 
192 
195  DECLARE_VFUNCTION(chapter4)
196 
197  DECLARE_FUNCTION(inCompartment4)
198  DECLARE_FUNCTION(meetAlexei)
199  DECLARE_FUNCTION(withAlexei)
200  DECLARE_FUNCTION(thinking)
201  DECLARE_FUNCTION(seekCath)
202  DECLARE_FUNCTION(function49)
203  DECLARE_FUNCTION(alexeiDead)
204  DECLARE_FUNCTION(function51)
205 
206 
209  DECLARE_VFUNCTION(chapter5)
210 
211 
214  DECLARE_FUNCTION(chapter5Handler)
215 
216  DECLARE_FUNCTION(autistic)
217  DECLARE_FUNCTION(function55)
218 };
219 
220 } // End of namespace LastExpress
221 
222 #endif // LASTEXPRESS_TATIANA_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
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: tatiana.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)