22 #ifndef DGDS_MINIGAMES_DRAGON_ARCADE_TTM_H 23 #define DGDS_MINIGAMES_DRAGON_ARCADE_TTM_H 25 #include "common/types.h" 26 #include "common/ptr.h" 28 #include "dgds/image.h" 38 ArcadeFloor() : x(0), width(0), yval(0), flag(
false) {}
57 Brush() : _frame(0) {}
64 bool isValid()
const {
return _shape && _shape->loadedFrameCount() > _frame; }
66 int16 getFrame()
const {
return _frame; }
80 int16 load(
const char *filename);
81 void finishTTMParse(int16 envNum);
82 int16 runNextPage(int16 pageNum);
83 void freePages(uint16 num);
85 void runPagesForEachNPC(int16 xScrollOffset);
88 uint16 _currentTTMNum;
89 int16 _currentNPCRunningTTM;
96 int16 runScriptPage(int16 pageNum);
97 int16 handleOperation(
TTMEnviro &env, int16 page, uint16 op, byte count,
const int16 *ivals,
const Common::String &sval);
119 #endif // DGDS_MINIGAMES_DRAGON_ARCADE_TTM_H
Definition: dragon_arcade_ttm.h:76
Definition: dragon_arcade_ttm.h:55
Definition: dragon_arcade_ttm.h:36
Definition: dragon_arcade.h:45