diff options
-rw-r--r-- | engines/hdb/ai-init.cpp | 8 | ||||
-rw-r--r-- | engines/hdb/ai.h | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/engines/hdb/ai-init.cpp b/engines/hdb/ai-init.cpp index 886b546b2e..74bfa92b0d 100644 --- a/engines/hdb/ai-init.cpp +++ b/engines/hdb/ai-init.cpp @@ -666,6 +666,14 @@ AIEntTypeInfo aiEntList[] = { { END_AI_TYPES, NULL, NULL, NULL, NULL } }; +AI::AI() { + _ents = new Common::Array<AIEntity *>; +} + +AI::~AI() { + delete _ents; +} + bool AI::init() { warning("STUB: AI::init required"); return true; diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index 7dbe7c619f..3c1a4ca472 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -393,6 +393,9 @@ struct CineCommand { class AI { public: + AI(); + ~AI(); + bool init(); // Cinematic Functions @@ -410,6 +413,9 @@ public: Common::Array<CineCommand *> _cine; private: + + Common::Array<AIEntity *> *_ents; + // Cinematics Variables bool _cineAbortable; bool _cineAborted; |