diff options
author | Paul Gilbert | 2016-06-28 21:18:13 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:25:44 -0400 |
commit | 5c2a39e74ac1cf8b67e17fe25e00bcca487c9f99 (patch) | |
tree | f23fbf77704d499bc071763367b71229cebfa3f2 /engines/titanic/pet_control | |
parent | 0715be79269a0830136f76e78da2e893ce2e2ed4 (diff) | |
download | scummvm-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/pet_control')
-rw-r--r-- | engines/titanic/pet_control/pet_graphic.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_graphic2.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_leaf.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_leaf.h | 1 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_mode_off.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_mode_on.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_mode_panel.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_pannel1.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_pannel2.cpp | 3 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_pannel3.cpp | 3 |
10 files changed, 11 insertions, 16 deletions
diff --git a/engines/titanic/pet_control/pet_graphic.cpp b/engines/titanic/pet_control/pet_graphic.cpp index 797c560ab0..25a77397c3 100644 --- a/engines/titanic/pet_control/pet_graphic.cpp +++ b/engines/titanic/pet_control/pet_graphic.cpp @@ -24,8 +24,7 @@ namespace Titanic { -BEGIN_MESSAGE_MAP(CPetGraphic, CGameObject) -END_MESSAGE_MAP() +EMPTY_MESSAGE_MAP(CPetGraphic, CGameObject) void CPetGraphic::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); diff --git a/engines/titanic/pet_control/pet_graphic2.cpp b/engines/titanic/pet_control/pet_graphic2.cpp index ef898194e8..a33a1c7d93 100644 --- a/engines/titanic/pet_control/pet_graphic2.cpp +++ b/engines/titanic/pet_control/pet_graphic2.cpp @@ -24,8 +24,7 @@ namespace Titanic { -BEGIN_MESSAGE_MAP(CPetGraphic2, CGameObject) -END_MESSAGE_MAP() +EMPTY_MESSAGE_MAP(CPetGraphic2, CGameObject) void CPetGraphic2::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); diff --git a/engines/titanic/pet_control/pet_leaf.cpp b/engines/titanic/pet_control/pet_leaf.cpp index 77b0d426a5..833f4ed8b9 100644 --- a/engines/titanic/pet_control/pet_leaf.cpp +++ b/engines/titanic/pet_control/pet_leaf.cpp @@ -24,6 +24,8 @@ namespace Titanic { +EMPTY_MESSAGE_MAP(PETLeaf, CGameObject) + void PETLeaf::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); CGameObject::save(file, indent); diff --git a/engines/titanic/pet_control/pet_leaf.h b/engines/titanic/pet_control/pet_leaf.h index 073374970c..b9c516f6cb 100644 --- a/engines/titanic/pet_control/pet_leaf.h +++ b/engines/titanic/pet_control/pet_leaf.h @@ -28,6 +28,7 @@ namespace Titanic { class PETLeaf : public CGameObject { + DECLARE_MESSAGE_MAP public: CLASSDEF diff --git a/engines/titanic/pet_control/pet_mode_off.cpp b/engines/titanic/pet_control/pet_mode_off.cpp index 3d3eb376c8..a1c9f3dd34 100644 --- a/engines/titanic/pet_control/pet_mode_off.cpp +++ b/engines/titanic/pet_control/pet_mode_off.cpp @@ -24,8 +24,7 @@ namespace Titanic { -BEGIN_MESSAGE_MAP(CPetModeOff, CToggleSwitch) -END_MESSAGE_MAP() +EMPTY_MESSAGE_MAP(CPetModeOff, CToggleSwitch) CPetModeOff::CPetModeOff() : CToggleSwitch() { } diff --git a/engines/titanic/pet_control/pet_mode_on.cpp b/engines/titanic/pet_control/pet_mode_on.cpp index bde318bfcf..1a7c2c26e7 100644 --- a/engines/titanic/pet_control/pet_mode_on.cpp +++ b/engines/titanic/pet_control/pet_mode_on.cpp @@ -24,8 +24,7 @@ namespace Titanic { -BEGIN_MESSAGE_MAP(CPetModeOn, CToggleSwitch) -END_MESSAGE_MAP() +EMPTY_MESSAGE_MAP(CPetModeOn, CToggleSwitch) CPetModeOn::CPetModeOn() : CToggleSwitch() { } diff --git a/engines/titanic/pet_control/pet_mode_panel.cpp b/engines/titanic/pet_control/pet_mode_panel.cpp index 1890f9a30a..87351bed24 100644 --- a/engines/titanic/pet_control/pet_mode_panel.cpp +++ b/engines/titanic/pet_control/pet_mode_panel.cpp @@ -24,8 +24,7 @@ namespace Titanic { -BEGIN_MESSAGE_MAP(CPetModePanel, CToggleSwitch) -END_MESSAGE_MAP() +EMPTY_MESSAGE_MAP(CPetModePanel, CToggleSwitch) CPetModePanel::CPetModePanel() : CToggleSwitch() { } diff --git a/engines/titanic/pet_control/pet_pannel1.cpp b/engines/titanic/pet_control/pet_pannel1.cpp index 01e2b930dd..527841f883 100644 --- a/engines/titanic/pet_control/pet_pannel1.cpp +++ b/engines/titanic/pet_control/pet_pannel1.cpp @@ -24,8 +24,7 @@ namespace Titanic { -BEGIN_MESSAGE_MAP(CPetPannel1, CPetGraphic) -END_MESSAGE_MAP() +EMPTY_MESSAGE_MAP(CPetPannel1, CPetGraphic) void CPetPannel1::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); diff --git a/engines/titanic/pet_control/pet_pannel2.cpp b/engines/titanic/pet_control/pet_pannel2.cpp index e55468d492..48675a7384 100644 --- a/engines/titanic/pet_control/pet_pannel2.cpp +++ b/engines/titanic/pet_control/pet_pannel2.cpp @@ -24,8 +24,7 @@ namespace Titanic { -BEGIN_MESSAGE_MAP(CPetPannel2, CPetGraphic) -END_MESSAGE_MAP() +EMPTY_MESSAGE_MAP(CPetPannel2, CPetGraphic) void CPetPannel2::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); diff --git a/engines/titanic/pet_control/pet_pannel3.cpp b/engines/titanic/pet_control/pet_pannel3.cpp index ea623a33a8..a0b693872a 100644 --- a/engines/titanic/pet_control/pet_pannel3.cpp +++ b/engines/titanic/pet_control/pet_pannel3.cpp @@ -24,8 +24,7 @@ namespace Titanic { -BEGIN_MESSAGE_MAP(CPetPannel3, CPetGraphic) -END_MESSAGE_MAP() +EMPTY_MESSAGE_MAP(CPetPannel3, CPetGraphic) void CPetPannel3::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); |