aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-21 20:53:49 -0400
committerPaul Gilbert2016-03-21 20:53:49 -0400
commit217360d0c5a0b8289c16b22fc46782c475fcc9f5 (patch)
tree5fef119ff142d15d2bd91e99dfc9700f86ac38ed /engines/titanic/pet_control
parent9a66bc2e9e3638af940053ac58df36b489b3e345 (diff)
downloadscummvm-rg350-217360d0c5a0b8289c16b22fc46782c475fcc9f5.tar.gz
scummvm-rg350-217360d0c5a0b8289c16b22fc46782c475fcc9f5.tar.bz2
scummvm-rg350-217360d0c5a0b8289c16b22fc46782c475fcc9f5.zip
TITANIC: Add new derived Rect and Point classes
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r--engines/titanic/pet_control/pet_val.cpp2
-rw-r--r--engines/titanic/pet_control/pet_val.h2
-rw-r--r--engines/titanic/pet_control/pet_val_base.cpp4
-rw-r--r--engines/titanic/pet_control/pet_val_base.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/pet_control/pet_val.cpp b/engines/titanic/pet_control/pet_val.cpp
index 96b82f1632..5bc237572e 100644
--- a/engines/titanic/pet_control/pet_val.cpp
+++ b/engines/titanic/pet_control/pet_val.cpp
@@ -41,7 +41,7 @@ void CPetVal::proc4() {
error("TODO");
}
-void CPetVal::proc5(Common::Rect *rect) {
+void CPetVal::proc5(Rect *rect) {
error("TODO");
}
diff --git a/engines/titanic/pet_control/pet_val.h b/engines/titanic/pet_control/pet_val.h
index bd1fb9e55c..0e909d485b 100644
--- a/engines/titanic/pet_control/pet_val.h
+++ b/engines/titanic/pet_control/pet_val.h
@@ -40,7 +40,7 @@ public:
virtual void proc3();
virtual void proc4();
- virtual void proc5(Common::Rect *linkItem);
+ virtual void proc5(Rect *linkItem);
virtual int proc16();
};
diff --git a/engines/titanic/pet_control/pet_val_base.cpp b/engines/titanic/pet_control/pet_val_base.cpp
index c798c37971..9a23854450 100644
--- a/engines/titanic/pet_control/pet_val_base.cpp
+++ b/engines/titanic/pet_control/pet_val_base.cpp
@@ -28,9 +28,9 @@ namespace Titanic {
CPetValBase::CPetValBase() : _field4(0), _field8(0), _fieldC(0),
_field10(0), _field14(0) {}
-void CPetValBase::proc5(Common::Rect *rect) {
+void CPetValBase::proc5(Rect *rect) {
if (rect)
- *rect = Common::Rect();
+ *rect = Rect();
}
int CPetValBase::proc6() {
diff --git a/engines/titanic/pet_control/pet_val_base.h b/engines/titanic/pet_control/pet_val_base.h
index c4ff66568d..637e95f22d 100644
--- a/engines/titanic/pet_control/pet_val_base.h
+++ b/engines/titanic/pet_control/pet_val_base.h
@@ -44,7 +44,7 @@ public:
virtual void proc3() {}
virtual void proc4() {}
- virtual void proc5(Common::Rect *rect);
+ virtual void proc5(Rect *rect);
virtual int proc6();
virtual int proc7();