diff options
author | Paul Gilbert | 2016-03-19 18:19:45 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-19 18:19:45 -0400 |
commit | 4704d72d6af60db97959c3d170a2ea524a0f0f1f (patch) | |
tree | 2b56e66d124be79d02743777f96914edf02bba75 /engines/titanic/pet_control | |
parent | d86941f8c6b497f2d3d8409c2628af88bc600dae (diff) | |
download | scummvm-rg350-4704d72d6af60db97959c3d170a2ea524a0f0f1f.tar.gz scummvm-rg350-4704d72d6af60db97959c3d170a2ea524a0f0f1f.tar.bz2 scummvm-rg350-4704d72d6af60db97959c3d170a2ea524a0f0f1f.zip |
TITANIC: Implementing view item message handling
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r-- | engines/titanic/pet_control/pet_val.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_val.h | 2 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_val_base.cpp | 6 | ||||
-rw-r--r-- | engines/titanic/pet_control/pet_val_base.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/engines/titanic/pet_control/pet_val.cpp b/engines/titanic/pet_control/pet_val.cpp index 31494e1033..96b82f1632 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(CLinkItemHotspot *linkItem) { +void CPetVal::proc5(Common::Rect *rect) { error("TODO"); } diff --git a/engines/titanic/pet_control/pet_val.h b/engines/titanic/pet_control/pet_val.h index 2bf082fbc8..bd1fb9e55c 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(CLinkItemHotspot *linkItem); + virtual void proc5(Common::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 2eb93394a9..c798c37971 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(CLinkItemHotspot *linkItem) { - if (linkItem) - linkItem->clear(); +void CPetValBase::proc5(Common::Rect *rect) { + if (rect) + *rect = Common::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 e6e78ae4b0..c4ff66568d 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(CLinkItemHotspot *linkItem); + virtual void proc5(Common::Rect *rect); virtual int proc6(); virtual int proc7(); |