mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 07:23:05 +00:00
HDB: Add _floats data
Addition includes struct and member variables
This commit is contained in:
parent
4d22df8037
commit
aec87e7058
@ -668,12 +668,22 @@ AIEntTypeInfo aiEntList[] = {
|
||||
|
||||
AI::AI() {
|
||||
_ents = new Common::Array<AIEntity *>;
|
||||
_floats = new Common::Array<AIEntity *>;
|
||||
|
||||
for (int i = 0; i < kMaxLevel2Ents;i++) {
|
||||
_entsLevel2[i] = new AIEntLevel2;
|
||||
}
|
||||
|
||||
// REMOVE: Remove for final. Used here due to lack of a MENU
|
||||
_numGems = _numGooCups = _numMonkeystones = _numInventory = 0;
|
||||
}
|
||||
|
||||
AI::~AI() {
|
||||
delete _ents;
|
||||
delete _floats;
|
||||
for (int i = 0; i < kMaxLevel2Ents;i++) {
|
||||
delete _entsLevel2[i];
|
||||
}
|
||||
}
|
||||
|
||||
bool AI::init() {
|
||||
|
@ -747,6 +747,7 @@ public:
|
||||
private:
|
||||
|
||||
Common::Array<AIEntity *> *_ents;
|
||||
Common::Array<AIEntity *> *_floats;
|
||||
AIEntity *_player;
|
||||
|
||||
// Cinematics Variables
|
||||
|
Loading…
x
Reference in New Issue
Block a user