diff options
author | Eugene Sandulenko | 2014-04-20 13:05:03 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-04-20 23:03:43 +0300 |
commit | 1d41a9ccf4651e6c3e9f36b9bd4b69a85c1ab6b1 (patch) | |
tree | 41aa6d72546878e35e68ae4b0ea0640c1d846cfa | |
parent | 850ddc14627c910c53111b57e30d2e044841e046 (diff) | |
download | scummvm-rg350-1d41a9ccf4651e6c3e9f36b9bd4b69a85c1ab6b1.tar.gz scummvm-rg350-1d41a9ccf4651e6c3e9f36b9bd4b69a85c1ab6b1.tar.bz2 scummvm-rg350-1d41a9ccf4651e6c3e9f36b9bd4b69a85c1ab6b1.zip |
FULLPIPE: Started work on ModalQuery
-rw-r--r-- | engines/fullpipe/modal.cpp | 8 | ||||
-rw-r--r-- | engines/fullpipe/modal.h | 10 |
2 files changed, 17 insertions, 1 deletions
diff --git a/engines/fullpipe/modal.cpp b/engines/fullpipe/modal.cpp index aed98c1130..a85dc57a62 100644 --- a/engines/fullpipe/modal.cpp +++ b/engines/fullpipe/modal.cpp @@ -1321,6 +1321,14 @@ void ModalHelp::launch() { } } +ModalQuery::ModalQuery() { + _field_8 = 0; + _bg = 0; + _okBtn = 0; + _cancelBtn = 0; + _queryResult = -1; +} + void ModalQuery::create(Scene *sc, int picId) { warning("STUB: ModalQuery::create()"); } diff --git a/engines/fullpipe/modal.h b/engines/fullpipe/modal.h index 1a14972568..de6f1c1482 100644 --- a/engines/fullpipe/modal.h +++ b/engines/fullpipe/modal.h @@ -215,7 +215,7 @@ public: class ModalQuery : public BaseModalObject { public: - ModalQuery() {} + ModalQuery(); virtual ~ModalQuery() {} virtual bool pollEvent() { return true; } @@ -225,6 +225,14 @@ public: virtual void saveload() {} void create(Scene *sc, int picId); + +private: + int _field_8; + int _bg; + int _okBtn; + int _cancelBtn; + int _queryResult; + }; class ModalSaveGame : public BaseModalObject { |