ScummVM API documentation
Plumbers::PlumbersGameWindows Class Reference
Inheritance diagram for Plumbers::PlumbersGameWindows:
Plumbers::PlumbersGame Engine

Public Member Functions

 PlumbersGameWindows (OSystem *syst, const ADGameDescription *gameDesc)
 
- Public Member Functions inherited from Plumbers::PlumbersGame
 PlumbersGame (OSystem *syst, const ADGameDescription *gameDesc)
 
Common::Error run () override
 
const char * getGameId () const
 
Common::Platform getPlatform () const
 
- Public Member Functions inherited from Engine
MetaEnginegetMetaEngine () const
 
void setMetaEngine (MetaEngine *metaEngine)
 
PauseToken pauseEngine ()
 
bool isPaused () const
 
void openMainMenuDialog ()
 
uint32 getTotalPlayTime () const
 
void setTotalPlayTime (uint32 time=0)
 
Common::TimerManagergetTimerManager ()
 
Common::EventManagergetEventManager ()
 
Common::SaveFileManagergetSaveFileManager ()
 
bool existExtractedCDAudioFiles (uint track=1)
 
bool isDataAndCDAudioReadFromSameCD ()
 
void warnMissingExtractedCDAudio ()
 
void handleAutoSave ()
 
void saveAutosaveIfEnabled ()
 
virtual bool canSaveAutosaveCurrently ()
 
virtual int getAutosaveSlot () const
 
 Engine (OSystem *syst)
 
virtual ~Engine ()
 
virtual void initializePath (const Common::FSNode &gamePath)
 
virtual void errorString (const char *buf_input, char *buf_output, int buf_output_size)
 
virtual GUI::DebuggergetDebugger () final
 
void setDebugger (GUI::Debugger *debugger)
 
GUI::DebuggergetOrCreateDebugger ()
 
virtual bool hasFeature (EngineFeature f) const
 
bool enhancementEnabled (int32 cls)
 
virtual void syncSoundSettings ()
 
virtual void applyGameSettings ()
 
virtual void flipMute ()
 
virtual Common::String getSaveStateName (int slot) const
 
virtual Common::Error loadGameState (int slot)
 
virtual Common::Error loadGameStream (Common::SeekableReadStream *stream)
 
void setGameToLoadSlot (int slot)
 
virtual bool canLoadGameStateCurrently (Common::U32String *msg=nullptr)
 
virtual Common::Error saveGameState (int slot, const Common::String &desc, bool isAutosave=false)
 
virtual Common::Error saveGameStream (Common::WriteStream *stream, bool isAutosave=false)
 
virtual bool canSaveGameStateCurrently (Common::U32String *msg=nullptr)
 
bool saveGameDialog ()
 
bool loadGameDialog ()
 

Protected Member Functions

void readTables () override
 
void postSceneBitmaps () override
 
void loadImage (const Common::String &name) override
 
void startGraphics () override
 
- Protected Member Functions inherited from Plumbers::PlumbersGame
virtual bool handlePlatformJoyButton (int button)
 
virtual bool handlePlatformKeyDown (int button)
 
void blitImageSurface (const Graphics::Surface *surface)
 
virtual void blitImage ()
 
virtual void handleEvent (const Common::Event &event)
 
virtual int getSceneNumb (const Common::String &sName)
 
virtual void preActions ()
 
void initTables ()
 
void drawScreen ()
 
void playSound (const Common::String &name)
 
void stopSound ()
 
void showScene ()
 
void updateScene ()
 
void changeScene ()
 
void processTimer ()
 
int getMouseHiLite ()
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
void defaultSyncSoundSettings ()
 
virtual void pauseEngineIntern (bool pause)
 

Additional Inherited Members

- Public Types inherited from Engine
enum  EngineFeature {
  kSupportsSubtitleOptions, kSupportsReturnToLauncher, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime,
  kSupportsChangingOptionsDuringRuntime, kSupportsArbitraryResolutions, kSupportsHelp, kSupportsQuitDialogOverride
}
 
- Static Public Member Functions inherited from Engine
static void quitGame ()
 
static bool shouldQuit ()
 
static bool warnUserAboutUnsupportedGame (Common::String msg=Common::String())
 
static void errorUnsupportedGame (Common::String extraMsg)
 
- Public Attributes inherited from Plumbers::PlumbersGame
const ADGameDescription_gameDescription
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 
- Protected Types inherited from Plumbers::PlumbersGame
enum  Action {
  Redraw, ShowScene, UpdateScene, ChangeScene,
  PlaySound
}
 
- Static Protected Member Functions inherited from Plumbers::PlumbersGame
static void onTimer (void *arg)
 
- Protected Attributes inherited from Plumbers::PlumbersGame
struct {
   int   _duration
 
   Common::String   _filename
 
_bitmaps [kMaxBitmaps]
 
Scene _scenes [kMaxScene]
 
int _totScene
 
long _totScore
 
Graphics::PixelFormat _targetFormat
 
Image::ImageDecoder_image
 
Console_console
 
Video::VideoDecoder_videoDecoder
 
bool _showScoreFl
 
bool _setDurationFl
 
bool _leftButtonDownFl
 
bool _endGameFl
 
bool _timerInstalled
 
int _curSceneIdx
 
int _prvSceneIdx
 
int _curBitmapIdx
 
int _curChoice
 
int _screenW
 
int _screenH
 
bool _quit
 
Common::Queue< Action > _actions
 
Graphics::Surface_compositeSurface
 
Audio::SoundHandle _soundHandle
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 
int32 _activeEnhancements = kEnhGameBreakingBugFixes
 
- Static Protected Attributes inherited from Plumbers::PlumbersGame
static const int kMaxName = 13 + 1
 
static const int kMaxBitmaps = 2000
 
static const int kMaxScene = 100
 

The documentation for this class was generated from the following file: