aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/ai.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index 1c2f07a90e..0b695ac14d 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -27,6 +27,11 @@
namespace HDB {
+enum {
+ kMaxInventory = 10,
+ kMaxDeliveries = 5
+};
+
enum AIType {
AI_NONE,
AI_GUY,
@@ -374,6 +379,11 @@ struct AIEntTypeInfo {
extern AIEntTypeInfo aiEntList[];
+struct InvEnt {
+ uint16 keep;
+ AIEntity ent;
+};
+
struct CineCommand {
CineType cmdType;
double x, y;
@@ -479,6 +489,9 @@ public:
// Waypoint & Movement Functions
void lookAtXY(int x, int y);
+ // Inventory Functions
+ bool addToInventory(AIEntity *e);
+
// Cinematic Variables
Common::Array<CineCommand *> _cine;
@@ -494,6 +507,15 @@ private:
bool _playerEmerging;
bool _playerRunning;
+ // Player Resources and Deliveries
+
+ int _numGems;
+ int _numGooCups;
+ int _numMonkeystones;
+
+ InvEnt _inventory[kMaxInventory];
+ int _numInventory;
+
// Cinematics Variables
bool _cineAbortable;
bool _cineAborted;