22 #ifndef LASTEXPRESS_GENDARMES_H 23 #define LASTEXPRESS_GENDARMES_H 25 #include "lastexpress/entities/entity.h" 27 #include "lastexpress/sound/sound.h" 31 class LastExpressEngine;
41 DECLARE_FUNCTION(
reset)
46 DECLARE_VFUNCTION(chapter1)
48 DECLARE_FUNCTION_1(doDraw,
const char *sequence)
49 DECLARE_FUNCTION_1(doDialog,
const char *soundName)
50 DECLARE_FUNCTION_1(doDialogFullVolume,
const char *soundName)
51 DECLARE_FUNCTION_1(doWait, uint32 timeValue)
59 DECLARE_VFUNCTION_2(
savegame, SavegameType savegameType, uint32 param)
61 DECLARE_FUNCTION_2(doWalk, CarIndex car, EntityPosition entityPosition)
62 DECLARE_FUNCTION_4(doCompartment, CarIndex car, EntityPosition entityPosition,
const char *sequence1,
const char *sequence2)
63 DECLARE_FUNCTION_3(trappedCath, CarIndex car, EntityPosition entityPosition, ObjectIndex
object)
64 DECLARE_FUNCTION(chapter1Handler)
65 DECLARE_FUNCTION(searchTrain)
66 DECLARE_FUNCTION(function13)
71 DECLARE_VFUNCTION(chapter2)
76 DECLARE_VFUNCTION(chapter3)
81 DECLARE_VFUNCTION(chapter4)
86 DECLARE_VFUNCTION(chapter5)
89 void handleAction(
const SavePoint &savepoint,
bool playSound =
false, SoundFlag flag = kSoundVolumeEntityDefault,
bool checkCallback =
false,
bool shouldUpdateEntity =
false);
94 #endif // LASTEXPRESS_GENDARMES_H void savegame(const SavePoint &savepoint)
Definition: lastexpress.h:69
Definition: animation.h:45
Definition: savepoint.h:54
void reset(const SavePoint &savepoint, ClothesIndex maxClothes=kClothesDefault, bool resetItem=false)
Definition: gendarmes.h:33
void playSound(const SavePoint &savepoint, bool resetItem=false, SoundFlag flag=kSoundVolumeEntityDefault)