aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/pet/pet_monitor.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-07 22:03:35 -0400
committerPaul Gilbert2016-04-07 22:03:35 -0400
commit9f1bab55972b8a6f88b83c2391c40a038ffb509d (patch)
treef56c6af8d5606cba208b1663662597ff3861a356 /engines/titanic/game/pet/pet_monitor.cpp
parent41c08d186adc91111e9beccfeef80efb3fcc0fd6 (diff)
downloadscummvm-rg350-9f1bab55972b8a6f88b83c2391c40a038ffb509d.tar.gz
scummvm-rg350-9f1bab55972b8a6f88b83c2391c40a038ffb509d.tar.bz2
scummvm-rg350-9f1bab55972b8a6f88b83c2391c40a038ffb509d.zip
TITANIC: Converting other message stubs to new format
Diffstat (limited to 'engines/titanic/game/pet/pet_monitor.cpp')
-rw-r--r--engines/titanic/game/pet/pet_monitor.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/titanic/game/pet/pet_monitor.cpp b/engines/titanic/game/pet/pet_monitor.cpp
index afe0836e65..ebbddd8587 100644
--- a/engines/titanic/game/pet/pet_monitor.cpp
+++ b/engines/titanic/game/pet/pet_monitor.cpp
@@ -24,6 +24,10 @@
namespace Titanic {
+BEGIN_MESSAGE_MAP(CPETMonitor, CGameObject)
+ ON_MESSAGE(EnterRoomMsg)
+END_MESSAGE_MAP()
+
void CPETMonitor::save(SimpleFile *file, int indent) const {
file->writeNumberLine(1, indent);
CGameObject::save(file, indent);
@@ -34,7 +38,7 @@ void CPETMonitor::load(SimpleFile *file) {
CGameObject::load(file);
}
-bool CPETMonitor::handleMessage(CEnterRoomMsg &msg) {
+bool CPETMonitor::EnterRoomMsg(CEnterRoomMsg *msg) {
warning("CPETMonitor::handleEvent");
return true;
}