From 7d819f71f7d9fdd794b12ac55bd2177f12069c1b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 31 Mar 2016 21:40:36 -0400 Subject: TITANIC: PET frame is now showing --- engines/titanic/pet_control/pet_section.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'engines/titanic/pet_control/pet_section.h') 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 -- cgit v1.2.3