diff options
author | Strangerke | 2014-03-22 22:55:02 +0100 |
---|---|---|
committer | Strangerke | 2014-03-22 22:55:02 +0100 |
commit | 83a8ec14717b8b3c8ec2dced8465905f8c1c233c (patch) | |
tree | 8ca764105c028334d39530b7155b5df7d9f20085 | |
parent | 2ac614d898159096933df061c5c0bd221cf8d16b (diff) | |
download | scummvm-rg350-83a8ec14717b8b3c8ec2dced8465905f8c1c233c.tar.gz scummvm-rg350-83a8ec14717b8b3c8ec2dced8465905f8c1c233c.tar.bz2 scummvm-rg350-83a8ec14717b8b3c8ec2dced8465905f8c1c233c.zip |
MADS: Add a stub for Dialog::showPicture()
-rw-r--r-- | engines/mads/dialogs.h | 1 | ||||
-rw-r--r-- | engines/mads/nebular/dialogs_nebular.h | 3 | ||||
-rw-r--r-- | engines/mads/nebular/nebular_scenes2.cpp | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/engines/mads/dialogs.h b/engines/mads/dialogs.h index bec7f84976..b50d07f43c 100644 --- a/engines/mads/dialogs.h +++ b/engines/mads/dialogs.h @@ -193,6 +193,7 @@ public: virtual ~Dialogs() {} virtual void showDialog() = 0; + virtual void showPicture(int objId, int msgId, int arg3) = 0; }; } // End of namespace MADS diff --git a/engines/mads/nebular/dialogs_nebular.h b/engines/mads/nebular/dialogs_nebular.h index d4e4fe921e..c7b0e526a7 100644 --- a/engines/mads/nebular/dialogs_nebular.h +++ b/engines/mads/nebular/dialogs_nebular.h @@ -39,6 +39,9 @@ public: virtual void showDialog() { warning("TODO: showDialog"); } + virtual void showPicture(int objId, int msgId, int arg3) { + warning("TODO: showPicture"); + } }; struct HOGANUS { diff --git a/engines/mads/nebular/nebular_scenes2.cpp b/engines/mads/nebular/nebular_scenes2.cpp index 503e0317af..3d88080e6e 100644 --- a/engines/mads/nebular/nebular_scenes2.cpp +++ b/engines/mads/nebular/nebular_scenes2.cpp @@ -793,10 +793,10 @@ void Scene202::actions() { if (_game._objects.isInInventory(OBJ_BONE)) { _game._objects.removeFromInventory(OBJ_BONE, 1); _game._objects.addToInventory(OBJ_BONES); - warning("TODO: Dialog::showPicture(OBJ_BONES, 0x4EFA, 0);"); + _vm->_dialogs->showPicture(OBJ_BONES, 0x4EFA, 0); } else { _game._objects.addToInventory(OBJ_BONE); - warning("TODO: Dialog::showPicture(OBJ_BONE, 0x4EFA, 0);"); + _vm->_dialogs->showPicture(OBJ_BONE, 0x4EFA, 0); } _scene->changeDepthSurface(_globals[32]); _game._player._stepEnabled = true; |