22 #ifndef LASTEXPRESS_CHAPTERS_H 23 #define LASTEXPRESS_CHAPTERS_H 25 #include "lastexpress/entities/entity.h" 29 class LastExpressEngine;
42 DECLARE_VFUNCTION_2(
savegame, SavegameType savegameType, uint32 param)
50 DECLARE_FUNCTION_2(enterStation,
const char *stationName, CityIndex index)
57 DECLARE_FUNCTION_1(exitStation,
const char *stationName)
62 DECLARE_VFUNCTION(chapter1)
67 DECLARE_FUNCTION(resetMainEntities)
72 DECLARE_FUNCTION(firstDream)
77 DECLARE_FUNCTION(chapter1Init)
82 DECLARE_FUNCTION(chapter1Handler)
87 DECLARE_FUNCTION(chapter1Next)
92 DECLARE_VFUNCTION(chapter2)
97 DECLARE_FUNCTION(chapter2Init)
102 DECLARE_FUNCTION(chapter2Handler)
107 DECLARE_VFUNCTION(chapter3)
112 DECLARE_FUNCTION(chapter3Init)
117 DECLARE_FUNCTION(chapter3Handler)
122 DECLARE_FUNCTION(viennaEvents)
127 DECLARE_VFUNCTION(chapter4)
132 DECLARE_FUNCTION(chapter4Init)
137 DECLARE_FUNCTION(chapter4Handler)
142 DECLARE_VFUNCTION(chapter5)
147 DECLARE_FUNCTION(chapter5Init)
152 DECLARE_FUNCTION(chapter5Handler)
155 bool timeCheckEnterStation(TimeValue timeValue, uint ¶meter, byte callback,
const char *sequence, CityIndex cityIndex);
156 bool timeCheckExitStation(TimeValue timeValue, uint ¶meter, byte callback,
const char *sequence);
157 void enterExitStation(
const SavePoint &savepoint,
bool isEnteringStation);
158 void enterExitHelper(
bool isEnteringStation);
159 void playSteam()
const;
164 #endif // LASTEXPRESS_CHAPTERS_H void savegame(const SavePoint &savepoint)
Definition: lastexpress.h:69
Definition: animation.h:45
Definition: savepoint.h:54
Definition: chapters.h:31