22#ifndef PLUMBERS_PLUMBERS_H
23#define PLUMBERS_PLUMBERS_H
25#include "engines/engine.h"
27#include "common/events.h"
28#include "common/platform.h"
29#include "common/queue.h"
30#include "common/rect.h"
31#include "common/str.h"
33#include "audio/mixer.h"
35#include "video/video_decoder.h"
36#include "image/image_decoder.h"
48enum PlumbersDebugChannels {
52static const int kMaxChoice = 3;
70 STYLE_DECISION_MIKE = 1,
71 STYLE_DECISION_TUN = 2,
74 Choice _choices[kMaxChoice];
86 const char *getGameId()
const;
90 virtual void readTables() = 0;
91 virtual void postSceneBitmaps() = 0;
92 virtual bool handlePlatformJoyButton(
int button) {
return false; }
93 virtual bool handlePlatformKeyDown(
int button) {
return false; }
97 virtual void blitImage();
100 virtual void preActions() {}
102 static const int kMaxName = 13 + 1;
103 static const int kMaxBitmaps = 2000;
104 static const int kMaxScene = 100;
110 } _bitmaps[kMaxBitmaps];
112 Scene _scenes[kMaxScene];
123 bool _leftButtonDownFl;
125 bool _timerInstalled;
126 int _curSceneIdx, _prvSceneIdx;
129 int _screenW, _screenH;
155 static void onTimer(
void *arg);
157 int getMouseHiLite();
165 void readTables()
override;
166 void postSceneBitmaps()
override;
169 void blitImage()
override;
171 void preActions()
override;
183 bool _leftShoulderPressed;
195 void readTables()
override;
196 void postSceneBitmaps()
override;
Definition: image_decoder.h:53
Definition: plumbers.h:160
Definition: plumbers.h:77
Common::Error run() override
Definition: plumbers.h:190
Definition: video_decoder.h:53
Definition: formatinfo.h:28
Definition: advancedDetector.h:164
Definition: plumbers.h:54
Definition: plumbers.h:61