aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/ai.h')
-rw-r--r--engines/hdb/ai.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index f37bb81579..59306389a0 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -41,6 +41,7 @@ enum {
kMaxLuaEnts = 50,
kMaxCallbacks = 20,
kMaxFairystones = 5,
+ kMaxGatePuddles = 8,
kMaxBridges = 10,
kDelay5Seconds = 5 * kGameFPS,
kPlayerMoveSpeed = 4,
@@ -1032,6 +1033,15 @@ public:
}
bool completeDelivery(const char *id);
+ // Gate Puddles
+ int _gatePuddles;
+ void addGatePuddle(int amount) {
+ _gatePuddles += amount;
+ }
+ int getGatePuddles() {
+ return _gatePuddles;
+ }
+
// Player Variables
bool _playerDead;
bool _playerInvisible; // While on RailRider for example