diff options
Diffstat (limited to 'engines/titanic/star_control/star_control_sub12.h')
-rw-r--r-- | engines/titanic/star_control/star_control_sub12.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/engines/titanic/star_control/star_control_sub12.h b/engines/titanic/star_control/star_control_sub12.h index 51d836628f..a114cded81 100644 --- a/engines/titanic/star_control/star_control_sub12.h +++ b/engines/titanic/star_control/star_control_sub12.h @@ -25,6 +25,7 @@ #include "titanic/support/simple_file.h" #include "titanic/star_control/star_control_sub13.h" +#include "titanic/star_control/star_control_sub20.h" namespace Titanic { @@ -38,14 +39,22 @@ class CStarControlSub12 { private: int _field4; ArrayEntry _array[3]; - int _field2C; + CStarControlSub20 *_handlerP; CStarControlSub13 _sub13; int _field108; private: - void setupHandler(void *v); + /** + * Set up a handler + */ + bool setupHandler(void *src); + + /** + * Deletes any previous handler + */ + void deleteHandler(); public: CStarControlSub12(void *val1, void *val2); - virtual ~CStarControlSub12() {} + virtual ~CStarControlSub12(); virtual void proc3() {} |