mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-06 10:58:01 +00:00
HDB: Add clearPersistent()
This commit is contained in:
parent
54b43f1aca
commit
a937c669b9
@ -668,6 +668,8 @@ AIEntTypeInfo aiEntList[] = {
|
||||
|
||||
AI::AI() {
|
||||
_ents = new Common::Array<AIEntity *>;
|
||||
// REMOVE: Remove for final. Used here due to lack of a MENU
|
||||
_numGems = _numGooCups = _numMonkeystones = 0;
|
||||
}
|
||||
|
||||
AI::~AI() {
|
||||
@ -683,6 +685,10 @@ bool AI::init() {
|
||||
return true;
|
||||
}
|
||||
|
||||
void AI::clearPersistent() {
|
||||
_numGems = _numGooCups = _numMonkeystones = 0;
|
||||
}
|
||||
|
||||
void AI::restartSystem() {
|
||||
warning("STUB: AI::restartSystem incomplete");
|
||||
|
||||
|
@ -407,6 +407,7 @@ public:
|
||||
~AI();
|
||||
|
||||
bool init();
|
||||
void clearPersistent();
|
||||
void restartSystem();
|
||||
|
||||
// Entity Functions
|
||||
|
Loading…
x
Reference in New Issue
Block a user