22 #ifndef LASTEXPRESS_MERTENS_H 23 #define LASTEXPRESS_MERTENS_H 25 #include "lastexpress/entities/entity.h" 29 class LastExpressEngine;
34 enum MertensActionType {
35 kMertensActionNone = 0,
48 DECLARE_FUNCTION(
reset)
55 DECLARE_FUNCTION_1(bloodJacket,
const char *sequence)
71 DECLARE_FUNCTION_2(enterExitCompartment2,
const char *sequence, ObjectIndex compartment)
83 DECLARE_FUNCTION_4(enterExitCompartment3,
const char *sequence, ObjectIndex compartment, EntityPosition entityPosition1, EntityPosition entityPosition2)
95 DECLARE_VFUNCTION_1(
playSound,
const char *filename)
102 DECLARE_FUNCTION_1(playSound16,
const char *filename)
110 DECLARE_VFUNCTION_2(
savegame, SavegameType savegameType, uint32 param)
118 DECLARE_VFUNCTION_2(
updateEntity, CarIndex car, EntityPosition entityPosition)
120 DECLARE_FUNCTION_1(function11, uint32 time)
127 DECLARE_FUNCTION_1(bonsoir, EntityIndex entity)
128 DECLARE_FUNCTION_2(function13,
bool, EntityIndex entity)
129 DECLARE_FUNCTION_1(function14, EntityIndex entity)
130 DECLARE_FUNCTION_1(function15,
bool)
131 DECLARE_FUNCTION_1(function16,
bool)
132 DECLARE_FUNCTION(function17)
133 DECLARE_FUNCTION(function18)
134 DECLARE_FUNCTION(function19)
135 DECLARE_FUNCTION(function20)
143 DECLARE_FUNCTION_2(function21, ObjectIndex object1, ObjectIndex object2)
144 DECLARE_FUNCTION(function22)
145 DECLARE_FUNCTION(function23)
146 DECLARE_FUNCTION(function24)
147 DECLARE_FUNCTION(function25)
148 DECLARE_FUNCTION_1(function26,
bool)
149 DECLARE_FUNCTION_1(tylerCompartment, MertensActionType action)
150 DECLARE_FUNCTION_1(function28,
const char *soundName)
151 DECLARE_FUNCTION_2(function29,
const char *soundName1,
const char *soundName2)
152 DECLARE_FUNCTION_1(function30, MertensActionType action)
153 DECLARE_FUNCTION_1(function31, MertensActionType action)
154 DECLARE_FUNCTION(function32)
155 DECLARE_FUNCTION(function33)
160 DECLARE_VFUNCTION(chapter1)
161 DECLARE_FUNCTION(function35)
162 DECLARE_FUNCTION(function36)
163 DECLARE_FUNCTION(function37)
164 DECLARE_FUNCTION(function38)
165 DECLARE_FUNCTION(function39)
166 DECLARE_FUNCTION(function40)
171 DECLARE_FUNCTION(chapter1Handler)
173 DECLARE_FUNCTION(function42)
178 DECLARE_VFUNCTION(chapter2)
180 DECLARE_FUNCTION(function44)
185 DECLARE_VFUNCTION(chapter3)
187 DECLARE_FUNCTION(function46)
192 DECLARE_VFUNCTION(chapter4)
194 DECLARE_FUNCTION(function48)
195 DECLARE_FUNCTION(function49)
200 DECLARE_VFUNCTION(chapter5)
205 DECLARE_FUNCTION(chapter5Handler)
207 DECLARE_FUNCTION(function52)
208 DECLARE_FUNCTION(function53)
210 DECLARE_NULL_FUNCTION()
213 void loadSceneFromPosition();
218 #endif // LASTEXPRESS_MERTENS_H void savegame(const SavePoint &savepoint)
Definition: lastexpress.h:69
void updateEntity(const SavePoint &savepoint, bool handleExcuseMe=false)
Definition: animation.h:45
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 enterExitCompartment(const SavePoint &savepoint, EntityPosition position1=kPositionNone, EntityPosition position2=kPositionNone, CarIndex car=kCarNone, ObjectIndex compartment=kObjectNone, bool alternate=false, bool updateLocation=false)