aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-30 15:14:14 -0400
committerPaul Gilbert2016-07-10 16:37:45 -0400
commitd46d3f7b0dc6f3b401860f6274ebbf04710f06ca (patch)
tree7cdcf8186f50bef708a74a98b691cd0face59144
parentb11033800d1455bd4c35af1126bd4f0cf6b2fb77 (diff)
downloadscummvm-rg350-d46d3f7b0dc6f3b401860f6274ebbf04710f06ca.tar.gz
scummvm-rg350-d46d3f7b0dc6f3b401860f6274ebbf04710f06ca.tar.bz2
scummvm-rg350-d46d3f7b0dc6f3b401860f6274ebbf04710f06ca.zip
TITANIC: Implementing more PET support widgets
-rw-r--r--engines/titanic/pet_control/pet_mode_off.cpp3
-rw-r--r--engines/titanic/pet_control/pet_mode_off.h1
-rw-r--r--engines/titanic/pet_control/pet_mode_on.cpp3
-rw-r--r--engines/titanic/pet_control/pet_mode_on.h1
-rw-r--r--engines/titanic/pet_control/pet_mode_panel.cpp3
-rw-r--r--engines/titanic/pet_control/pet_mode_panel.h1
-rw-r--r--engines/titanic/pet_control/pet_pannel1.cpp3
-rw-r--r--engines/titanic/pet_control/pet_pannel1.h1
-rw-r--r--engines/titanic/pet_control/pet_pannel2.cpp3
-rw-r--r--engines/titanic/pet_control/pet_pannel2.h1
-rw-r--r--engines/titanic/pet_control/pet_pannel3.cpp3
-rw-r--r--engines/titanic/pet_control/pet_pannel3.h1
12 files changed, 24 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_mode_off.cpp b/engines/titanic/pet_control/pet_mode_off.cpp
index f4eac74837..3d3eb376c8 100644
--- a/engines/titanic/pet_control/pet_mode_off.cpp
+++ b/engines/titanic/pet_control/pet_mode_off.cpp
@@ -24,6 +24,9 @@
namespace Titanic {
+BEGIN_MESSAGE_MAP(CPetModeOff, CToggleSwitch)
+END_MESSAGE_MAP()
+
CPetModeOff::CPetModeOff() : CToggleSwitch() {
}
diff --git a/engines/titanic/pet_control/pet_mode_off.h b/engines/titanic/pet_control/pet_mode_off.h
index ea88255b93..a84ed30480 100644
--- a/engines/titanic/pet_control/pet_mode_off.h
+++ b/engines/titanic/pet_control/pet_mode_off.h
@@ -28,6 +28,7 @@
namespace Titanic {
class CPetModeOff : public CToggleSwitch {
+ DECLARE_MESSAGE_MAP
public:
CLASSDEF
CPetModeOff();
diff --git a/engines/titanic/pet_control/pet_mode_on.cpp b/engines/titanic/pet_control/pet_mode_on.cpp
index 8eb839f241..bde318bfcf 100644
--- a/engines/titanic/pet_control/pet_mode_on.cpp
+++ b/engines/titanic/pet_control/pet_mode_on.cpp
@@ -24,6 +24,9 @@
namespace Titanic {
+BEGIN_MESSAGE_MAP(CPetModeOn, CToggleSwitch)
+END_MESSAGE_MAP()
+
CPetModeOn::CPetModeOn() : CToggleSwitch() {
}
diff --git a/engines/titanic/pet_control/pet_mode_on.h b/engines/titanic/pet_control/pet_mode_on.h
index 1434fb20db..76e0c92607 100644
--- a/engines/titanic/pet_control/pet_mode_on.h
+++ b/engines/titanic/pet_control/pet_mode_on.h
@@ -28,6 +28,7 @@
namespace Titanic {
class CPetModeOn : public CToggleSwitch {
+ DECLARE_MESSAGE_MAP
public:
CLASSDEF
CPetModeOn();
diff --git a/engines/titanic/pet_control/pet_mode_panel.cpp b/engines/titanic/pet_control/pet_mode_panel.cpp
index 1919d88fac..1890f9a30a 100644
--- a/engines/titanic/pet_control/pet_mode_panel.cpp
+++ b/engines/titanic/pet_control/pet_mode_panel.cpp
@@ -24,6 +24,9 @@
namespace Titanic {
+BEGIN_MESSAGE_MAP(CPetModePanel, CToggleSwitch)
+END_MESSAGE_MAP()
+
CPetModePanel::CPetModePanel() : CToggleSwitch() {
}
diff --git a/engines/titanic/pet_control/pet_mode_panel.h b/engines/titanic/pet_control/pet_mode_panel.h
index ef68ca8b06..b55f38a6ff 100644
--- a/engines/titanic/pet_control/pet_mode_panel.h
+++ b/engines/titanic/pet_control/pet_mode_panel.h
@@ -28,6 +28,7 @@
namespace Titanic {
class CPetModePanel : public CToggleSwitch {
+ DECLARE_MESSAGE_MAP
public:
CLASSDEF
CPetModePanel();
diff --git a/engines/titanic/pet_control/pet_pannel1.cpp b/engines/titanic/pet_control/pet_pannel1.cpp
index 8245d7e90a..01e2b930dd 100644
--- a/engines/titanic/pet_control/pet_pannel1.cpp
+++ b/engines/titanic/pet_control/pet_pannel1.cpp
@@ -24,6 +24,9 @@
namespace Titanic {
+BEGIN_MESSAGE_MAP(CPetPannel1, CPetGraphic)
+END_MESSAGE_MAP()
+
void CPetPannel1::save(SimpleFile *file, int indent) const {
file->writeNumberLine(1, indent);
CPetGraphic::save(file, indent);
diff --git a/engines/titanic/pet_control/pet_pannel1.h b/engines/titanic/pet_control/pet_pannel1.h
index 7a16d8c842..4e145363d4 100644
--- a/engines/titanic/pet_control/pet_pannel1.h
+++ b/engines/titanic/pet_control/pet_pannel1.h
@@ -28,6 +28,7 @@
namespace Titanic {
class CPetPannel1 : public CPetGraphic {
+ DECLARE_MESSAGE_MAP
public:
CLASSDEF
diff --git a/engines/titanic/pet_control/pet_pannel2.cpp b/engines/titanic/pet_control/pet_pannel2.cpp
index a04f63fee8..e55468d492 100644
--- a/engines/titanic/pet_control/pet_pannel2.cpp
+++ b/engines/titanic/pet_control/pet_pannel2.cpp
@@ -24,6 +24,9 @@
namespace Titanic {
+BEGIN_MESSAGE_MAP(CPetPannel2, CPetGraphic)
+END_MESSAGE_MAP()
+
void CPetPannel2::save(SimpleFile *file, int indent) const {
file->writeNumberLine(1, indent);
CPetGraphic::save(file, indent);
diff --git a/engines/titanic/pet_control/pet_pannel2.h b/engines/titanic/pet_control/pet_pannel2.h
index 7296eab507..b32e10e0db 100644
--- a/engines/titanic/pet_control/pet_pannel2.h
+++ b/engines/titanic/pet_control/pet_pannel2.h
@@ -28,6 +28,7 @@
namespace Titanic {
class CPetPannel2 : public CPetGraphic {
+ DECLARE_MESSAGE_MAP
public:
CLASSDEF
diff --git a/engines/titanic/pet_control/pet_pannel3.cpp b/engines/titanic/pet_control/pet_pannel3.cpp
index 5d0fd93d7b..ea623a33a8 100644
--- a/engines/titanic/pet_control/pet_pannel3.cpp
+++ b/engines/titanic/pet_control/pet_pannel3.cpp
@@ -24,6 +24,9 @@
namespace Titanic {
+BEGIN_MESSAGE_MAP(CPetPannel3, CPetGraphic)
+END_MESSAGE_MAP()
+
void CPetPannel3::save(SimpleFile *file, int indent) const {
file->writeNumberLine(1, indent);
CPetGraphic::save(file, indent);
diff --git a/engines/titanic/pet_control/pet_pannel3.h b/engines/titanic/pet_control/pet_pannel3.h
index 2bdbf1fb31..f80456f006 100644
--- a/engines/titanic/pet_control/pet_pannel3.h
+++ b/engines/titanic/pet_control/pet_pannel3.h
@@ -28,6 +28,7 @@
namespace Titanic {
class CPetPannel3 : public CPetGraphic {
+ DECLARE_MESSAGE_MAP
public:
CLASSDEF