diff options
author | Nipun Garg | 2019-06-19 17:25:19 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:49 +0200 |
commit | 0da23abccf315485270f194090504631c6f13e33 (patch) | |
tree | 69452cba7ec3377343bcc188ad90d6343529fd3b | |
parent | 34372611332a73c08f5f723ca3d6fc693759cedb (diff) | |
download | scummvm-rg350-0da23abccf315485270f194090504631c6f13e33.tar.gz scummvm-rg350-0da23abccf315485270f194090504631c6f13e33.tar.bz2 scummvm-rg350-0da23abccf315485270f194090504631c6f13e33.zip |
HDB: Add _ents Entity List and initialize it
-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; |