aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/pet
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-28 21:18:13 -0400
committerPaul Gilbert2016-07-15 19:25:44 -0400
commit5c2a39e74ac1cf8b67e17fe25e00bcca487c9f99 (patch)
treef23fbf77704d499bc071763367b71229cebfa3f2 /engines/titanic/game/pet
parent0715be79269a0830136f76e78da2e893ce2e2ed4 (diff)
downloadscummvm-rg350-5c2a39e74ac1cf8b67e17fe25e00bcca487c9f99.tar.gz
scummvm-rg350-5c2a39e74ac1cf8b67e17fe25e00bcca487c9f99.tar.bz2
scummvm-rg350-5c2a39e74ac1cf8b67e17fe25e00bcca487c9f99.zip
TITANIC: Set up empty message targets for classes without messages
Diffstat (limited to 'engines/titanic/game/pet')
-rw-r--r--engines/titanic/game/pet/pet_class1.cpp2
-rw-r--r--engines/titanic/game/pet/pet_class1.h1
-rw-r--r--engines/titanic/game/pet/pet_class2.cpp2
-rw-r--r--engines/titanic/game/pet/pet_class2.h1
-rw-r--r--engines/titanic/game/pet/pet_class3.cpp2
-rw-r--r--engines/titanic/game/pet/pet_class3.h1
6 files changed, 9 insertions, 0 deletions
diff --git a/engines/titanic/game/pet/pet_class1.cpp b/engines/titanic/game/pet/pet_class1.cpp
index 4bd25560fb..b0407ef6e5 100644
--- a/engines/titanic/game/pet/pet_class1.cpp
+++ b/engines/titanic/game/pet/pet_class1.cpp
@@ -24,6 +24,8 @@
namespace Titanic {
+EMPTY_MESSAGE_MAP(CPETClass1, CGameObject)
+
void CPETClass1::save(SimpleFile *file, int indent) const {
file->writeNumberLine(1, indent);
CGameObject::save(file, indent);
diff --git a/engines/titanic/game/pet/pet_class1.h b/engines/titanic/game/pet/pet_class1.h
index 12dfb322b2..e22b2148b5 100644
--- a/engines/titanic/game/pet/pet_class1.h
+++ b/engines/titanic/game/pet/pet_class1.h
@@ -28,6 +28,7 @@
namespace Titanic {
class CPETClass1 : public CGameObject {
+ DECLARE_MESSAGE_MAP
public:
CLASSDEF
diff --git a/engines/titanic/game/pet/pet_class2.cpp b/engines/titanic/game/pet/pet_class2.cpp
index 8399468489..8809f84214 100644
--- a/engines/titanic/game/pet/pet_class2.cpp
+++ b/engines/titanic/game/pet/pet_class2.cpp
@@ -24,6 +24,8 @@
namespace Titanic {
+EMPTY_MESSAGE_MAP(CPETClass2, CGameObject)
+
void CPETClass2::save(SimpleFile *file, int indent) const {
file->writeNumberLine(1, indent);
CGameObject::save(file, indent);
diff --git a/engines/titanic/game/pet/pet_class2.h b/engines/titanic/game/pet/pet_class2.h
index 5b96118c7c..529f9534e2 100644
--- a/engines/titanic/game/pet/pet_class2.h
+++ b/engines/titanic/game/pet/pet_class2.h
@@ -28,6 +28,7 @@
namespace Titanic {
class CPETClass2 : public CGameObject {
+ DECLARE_MESSAGE_MAP
public:
CLASSDEF
diff --git a/engines/titanic/game/pet/pet_class3.cpp b/engines/titanic/game/pet/pet_class3.cpp
index 96ce66461f..81ddf8adf8 100644
--- a/engines/titanic/game/pet/pet_class3.cpp
+++ b/engines/titanic/game/pet/pet_class3.cpp
@@ -24,6 +24,8 @@
namespace Titanic {
+EMPTY_MESSAGE_MAP(CPETClass3, CGameObject)
+
void CPETClass3::save(SimpleFile *file, int indent) const {
file->writeNumberLine(1, indent);
CGameObject::save(file, indent);
diff --git a/engines/titanic/game/pet/pet_class3.h b/engines/titanic/game/pet/pet_class3.h
index d68cb098ec..d34c9d335e 100644
--- a/engines/titanic/game/pet/pet_class3.h
+++ b/engines/titanic/game/pet/pet_class3.h
@@ -28,6 +28,7 @@
namespace Titanic {
class CPETClass3 : public CGameObject {
+ DECLARE_MESSAGE_MAP
public:
CLASSDEF