diff options
Diffstat (limited to 'engines/titanic/pet_control/pet_section.h')
-rw-r--r-- | engines/titanic/pet_control/pet_section.h | 11 |
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 |