diff options
author | uruk | 2014-01-15 16:23:12 +0100 |
---|---|---|
committer | uruk | 2014-01-15 16:23:12 +0100 |
commit | b4af4dc8c201460699cce544e71dc2de252b821c (patch) | |
tree | da33af9435586751742f49bd61109da6dadd8672 /engines/fullpipe/modal.h | |
parent | f6c14408a3fe486abcab170d34def40e6e521e40 (diff) | |
parent | b5498bc31462e9e055339447aaddd221c99ad7e3 (diff) | |
download | scummvm-rg350-b4af4dc8c201460699cce544e71dc2de252b821c.tar.gz scummvm-rg350-b4af4dc8c201460699cce544e71dc2de252b821c.tar.bz2 scummvm-rg350-b4af4dc8c201460699cce544e71dc2de252b821c.zip |
Merge branch 'master' of https://github.com/scummvm/scummvm
Diffstat (limited to 'engines/fullpipe/modal.h')
-rw-r--r-- | engines/fullpipe/modal.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/engines/fullpipe/modal.h b/engines/fullpipe/modal.h index b57d1fbd06..af52e1b6a9 100644 --- a/engines/fullpipe/modal.h +++ b/engines/fullpipe/modal.h @@ -25,6 +25,8 @@ namespace Fullpipe { +class PictureObject; + class BaseModalObject { public: @@ -75,6 +77,35 @@ public: void play(const char *fname); }; +class ModalMap : public BaseModalObject { + Scene *_mapScene; + PictureObject *_pic; + bool _isRunning; + Common::Rect _rect1; + int _x; + int _y; + int _flag; + int _mouseX; + int _mouseY; + int _field_38; + int _field_3C; + int _field_40; + Common::Rect _rect2; + + public: + ModalMap(); + virtual ~ModalMap(); + + virtual bool pollEvent() { return true; } + virtual bool handleMessage(ExCommand *message); + virtual bool init(int counterdiff); + virtual void update(); + virtual void saveload() {} + + void initMap(); + PictureObject *getScenePicture(); +}; + } // End of namespace Fullpipe #endif /* FULLPIPE_MODAL_H */ |