HDB: Add _ents Entity List and initialize it

This commit is contained in:
Nipun Garg 2019-06-19 17:25:19 +05:30 committed by Eugene Sandulenko
parent 3437261133
commit 0da23abccf
2 changed files with 14 additions and 0 deletions

View File

@ -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;

View File

@ -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;