diff options
author | Paul Gilbert | 2016-03-30 21:01:51 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-30 21:01:51 -0400 |
commit | 348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c (patch) | |
tree | 9f6d760a91c7c86e8da8d8cae69a606d5e078860 /engines/titanic/pet_control/pet_element.h | |
parent | 08a801b1128d63e5c2cedee218a6dce7d6f04f28 (diff) | |
download | scummvm-rg350-348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c.tar.gz scummvm-rg350-348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c.tar.bz2 scummvm-rg350-348b2d4b4bf9c6e8c6ca134ce7968eb9e9521a9c.zip |
TITANIC: Fleshing out CPetVal
Diffstat (limited to 'engines/titanic/pet_control/pet_element.h')
-rw-r--r-- | engines/titanic/pet_control/pet_element.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_element.h b/engines/titanic/pet_control/pet_element.h index 66f57c44b4..19a94c2e2f 100644 --- a/engines/titanic/pet_control/pet_element.h +++ b/engines/titanic/pet_control/pet_element.h @@ -24,6 +24,7 @@ #define TITANIC_PET_ELEMENT_H #include "titanic/simple_file.h" +#include "titanic/string.h" #include "titanic/core/link_item.h" namespace Titanic { @@ -31,16 +32,22 @@ namespace Titanic { enum PetElementMode { MODE_0 = 0, MODE_1 = 1, MODE_2 = 2 }; class CGameObject; +class CPetControl; class CPetElement { protected: - Common::Rect _bounds; + Rect _bounds; PetElementMode _mode; public: CPetElement(); virtual ~CPetElement() {} - virtual void proc1() {} + /** + * Load an object into the element + */ + virtual void loadObject(PetElementMode mode, const CString &name, + CPetControl *petControl) {} + virtual void proc2() {} /** |