aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/ai.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index 3d20a1ed74..fcafdd8fc2 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -899,6 +899,19 @@ public:
void movePlayer(uint16 buttons);
void playerUse();
+ void setPlayerWeapon(AIType w, Tile *gfx) {
+ _weaponSelected = w;
+ _weaponGfx = gfx;
+ }
+ AIType getPlayerWeapon() {
+ return _weaponSelected;
+ }
+ Tile *getPlayerWeaponGfx() {
+ return _weaponGfx;
+ }
+ Tile *getPlayerWeaponSelGfx() {
+ return _weaponSelGfx;
+ }
AIEntity *getPlayer() {
if (!_player)
@@ -1146,6 +1159,7 @@ public:
Picture *_slugAttackGfx[kMaxAnimFrames];
Tile *_weaponSelGfx;
+ Tile *_weaponGfx;
AIType _weaponSelected;
// Player Resources and Deliveries