ScummVM API documentation
alexei.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_ALEXEI_H
23 #define LASTEXPRESS_ALEXEI_H
24 
25 #include "lastexpress/entities/entity.h"
26 
27 namespace LastExpress {
28 
29 class LastExpressEngine;
30 
31 class Alexei : public Entity {
32 public:
33  Alexei(LastExpressEngine *engine);
34  ~Alexei() override {}
35 
39  DECLARE_FUNCTION(reset)
40 
41 
46  DECLARE_VFUNCTION_1(playSound, const char *filename)
47 
48 
53  DECLARE_FUNCTION_1(updateFromTime, uint32 time)
54 
55 
60  DECLARE_FUNCTION_1(draw, const char *sequence)
61 
62 
69  DECLARE_FUNCTION_3(updatePosition, const char *sequence1, CarIndex car, Position position)
70 
71 
77  DECLARE_VFUNCTION_2(enterExitCompartment, const char *sequence, ObjectIndex compartment)
78 
79 
82  DECLARE_FUNCTION(callbackActionOnDirection)
83 
84 
92  DECLARE_FUNCTION_4(callSavepoint, const char *sequence1, EntityIndex entity, ActionIndex action, const char *sequence2)
93 
94 
100  DECLARE_VFUNCTION_2(savegame, SavegameType savegameType, uint32 param)
101 
102 
108  DECLARE_VFUNCTION_2(updateEntity, CarIndex car, EntityPosition entityPosition)
109 
110 
118  DECLARE_FUNCTION_NOSETUP(draw2)
119 
120 
123  DECLARE_FUNCTION(callbackActionRestaurantOrSalon)
124 
125  DECLARE_FUNCTION(enterComparment)
126  DECLARE_FUNCTION(exitCompartment)
127  DECLARE_FUNCTION(pacingAtWindow)
128 
129 
135  DECLARE_FUNCTION_2(compartmentLogic, TimeValue timeValue, const char *sequence)
136 
137 
140  DECLARE_VFUNCTION(chapter1)
141 
142 
145  DECLARE_FUNCTION(atDinner)
146  DECLARE_FUNCTION(returnCompartment)
147  DECLARE_FUNCTION(goSalon)
148  DECLARE_FUNCTION(sitting)
149  DECLARE_FUNCTION(standingAtWindow)
150  DECLARE_FUNCTION(waitingForTatiana)
151  DECLARE_FUNCTION(upset)
152  DECLARE_FUNCTION(returnCompartmentNight)
153  DECLARE_FUNCTION(function26)
154  DECLARE_FUNCTION(function27)
155 
156 
159  DECLARE_VFUNCTION(chapter2)
160 
161 
164  DECLARE_FUNCTION(inCompartment2)
165  DECLARE_FUNCTION(atBreakfast)
166  DECLARE_FUNCTION(returnCompartment2)
167 
168 
171  DECLARE_VFUNCTION(chapter3)
172 
173 
176  DECLARE_FUNCTION(playingChess)
177  DECLARE_FUNCTION(inPart3)
178  DECLARE_FUNCTION(pacing3)
179  DECLARE_FUNCTION(goSalon3)
180 
181 
184  DECLARE_VFUNCTION(chapter4)
185 
186 
189  DECLARE_FUNCTION(inCompartment4)
190  DECLARE_FUNCTION(meetTatiana)
191  DECLARE_FUNCTION(leavePlatform)
192  DECLARE_FUNCTION(inCompartmentAgain)
193  DECLARE_FUNCTION(goSalon4)
194  DECLARE_FUNCTION(pacing)
195  DECLARE_FUNCTION(goToPlatform)
196  DECLARE_FUNCTION(returnCompartment4)
197  DECLARE_FUNCTION(bombPlanB)
198  DECLARE_FUNCTION(function47)
199 
200 
203  DECLARE_VFUNCTION(chapter5)
204 };
205 
206 } // End of namespace LastExpress
207 
208 #endif // LASTEXPRESS_ALEXEI_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)
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)
Definition: alexei.h:31
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)