aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_section.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-31 21:40:36 -0400
committerPaul Gilbert2016-03-31 21:40:36 -0400
commit7d819f71f7d9fdd794b12ac55bd2177f12069c1b (patch)
tree827709731a6443202540dd3e2ec072f9cf2b0e14 /engines/titanic/pet_control/pet_section.h
parent3149cd1a341f6001922e6bddce1a376db1fea49c (diff)
downloadscummvm-rg350-7d819f71f7d9fdd794b12ac55bd2177f12069c1b.tar.gz
scummvm-rg350-7d819f71f7d9fdd794b12ac55bd2177f12069c1b.tar.bz2
scummvm-rg350-7d819f71f7d9fdd794b12ac55bd2177f12069c1b.zip
TITANIC: PET frame is now showing
Diffstat (limited to 'engines/titanic/pet_control/pet_section.h')
-rw-r--r--engines/titanic/pet_control/pet_section.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/titanic/pet_control/pet_section.h b/engines/titanic/pet_control/pet_section.h
index 2612d64a19..b08e4d6869 100644
--- a/engines/titanic/pet_control/pet_section.h
+++ b/engines/titanic/pet_control/pet_section.h
@@ -68,7 +68,11 @@ public:
*/
virtual void draw(CScreenManager *screenManager) {}
- virtual void proc4();
+ /**
+ * Get the bounds for the section
+ */
+ virtual Rect getBounds() { return Rect(); }
+
virtual void proc5(int val) {}
virtual int proc6() { return 0; }
virtual int proc7() { return 0; }
@@ -85,10 +89,7 @@ public:
/**
* Returns true if the object is in a valid state
*/
- virtual bool isValid(CPetControl *petControl) {
- // TODO: Switch back to false after implementing all sections
- return true;
- }
+ virtual bool isValid(CPetControl *petControl) { return false; }
/**
* Load the data for the class from file