diff options
author | Eugene Sandulenko | 2014-04-27 12:37:48 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-04-27 12:37:48 +0300 |
commit | a3859041bf492a2c926dadc7324c1fe811fbbf86 (patch) | |
tree | c1363e753a40404a057fd617d6803e9ca40d96e1 /engines/fullpipe | |
parent | cf97b2ec9ecac5ab0edbdd34dca051c550cada37 (diff) | |
download | scummvm-rg350-a3859041bf492a2c926dadc7324c1fe811fbbf86.tar.gz scummvm-rg350-a3859041bf492a2c926dadc7324c1fe811fbbf86.tar.bz2 scummvm-rg350-a3859041bf492a2c926dadc7324c1fe811fbbf86.zip |
FULLPIPE: Implement ModalSaveGame::ModalSaveGame()
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/modal.cpp | 14 | ||||
-rw-r--r-- | engines/fullpipe/modal.h | 17 |
2 files changed, 29 insertions, 2 deletions
diff --git a/engines/fullpipe/modal.cpp b/engines/fullpipe/modal.cpp index 65274bfcf1..79d348c8b8 100644 --- a/engines/fullpipe/modal.cpp +++ b/engines/fullpipe/modal.cpp @@ -1446,10 +1446,20 @@ bool ModalQuery::init(int counterdiff) { } ModalSaveGame::ModalSaveGame() { - warning("STUB: ModalSaveGame::ModalSaveGame()"); - _oldBgX = 0; _oldBgY = 0; + + _bgr = 0; + _okD = 0; + _okL = 0; + _cancelD = 0; + _cancelL = 0; + _emptyD = 0; + _emptyL = 0; + _queryRes = -1; + _rect = g_fp->_sceneRect; + _queryDlg = 0; + _mode = 1; } void ModalSaveGame::setScene(Scene *sc) { diff --git a/engines/fullpipe/modal.h b/engines/fullpipe/modal.h index f7264057fb..15f89d6d93 100644 --- a/engines/fullpipe/modal.h +++ b/engines/fullpipe/modal.h @@ -251,9 +251,26 @@ public: void setScene(Scene *sc); void setup(Scene *sc, int mode); + Common::Rect _rect; int _oldBgX; int _oldBgY; + PictureObject *_bgr; + PictureObject *_okD; + PictureObject *_okL; + PictureObject *_cancelD; + PictureObject *_cancelL; + PictureObject *_emptyD; + PictureObject *_emptyL; + PictureObject *_fullD; + PictureObject *_fullL; + Scene *_menuScene; + int _mode; + ModalQuery *_queryDlg; + Common::Array <char *> _filenames; + Common::Array <PictureObject *> _arrayL; + Common::Array <PictureObject *> _arrayD; + int _queryRes; }; |