diff options
author | Paul Gilbert | 2016-03-29 22:57:22 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-29 22:57:22 -0400 |
commit | fe79317bdefe9594561cf45afe2ad476b1ac06ff (patch) | |
tree | 1ef25d5074e4c64ab0336187b197d4fe047b505b /engines/titanic/core/game_object.h | |
parent | a1e959b4986914bd42bdbd4587cdfc2bd57ca3a0 (diff) | |
download | scummvm-rg350-fe79317bdefe9594561cf45afe2ad476b1ac06ff.tar.gz scummvm-rg350-fe79317bdefe9594561cf45afe2ad476b1ac06ff.tar.bz2 scummvm-rg350-fe79317bdefe9594561cf45afe2ad476b1ac06ff.zip |
TITANIC: Beginnings of PET drawing
Diffstat (limited to 'engines/titanic/core/game_object.h')
-rw-r--r-- | engines/titanic/core/game_object.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h index 9a07cd1c98..3f12123d1b 100644 --- a/engines/titanic/core/game_object.h +++ b/engines/titanic/core/game_object.h @@ -27,6 +27,7 @@ #include "titanic/rect.h" #include "titanic/core/movie_clip.h" #include "titanic/core/named_item.h" +#include "titanic/pet_control/pet_section.h" namespace Titanic { @@ -109,12 +110,16 @@ protected: */ void makeDirty(); + /** + * Sets a new area in the PET + */ + void setPetArea(PetArea newArea) const; + bool soundFn1(int val); void soundFn2(int val, int val2); void setVisible(bool val); - bool petFn1(int val); void petFn2(int val); - void petFn3(int val); + void petFn3(CTreeItem *item); public: int _field60; CursorId _cursorId; |