summaryrefslogtreecommitdiffstats
path: root/src/control/Pickups.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-10-17 14:57:12 +0200
committerSergeanur <s.anureev@yandex.ua>2020-10-17 14:57:12 +0200
commit63666391d4f63570fe354e695bc32d22d9418ef9 (patch)
tree1bfcd0dfac62b19b60e1f4433b81ea22939dcc0b /src/control/Pickups.h
parentPartial Pickups (diff)
downloadre3-63666391d4f63570fe354e695bc32d22d9418ef9.tar
re3-63666391d4f63570fe354e695bc32d22d9418ef9.tar.gz
re3-63666391d4f63570fe354e695bc32d22d9418ef9.tar.bz2
re3-63666391d4f63570fe354e695bc32d22d9418ef9.tar.lz
re3-63666391d4f63570fe354e695bc32d22d9418ef9.tar.xz
re3-63666391d4f63570fe354e695bc32d22d9418ef9.tar.zst
re3-63666391d4f63570fe354e695bc32d22d9418ef9.zip
Diffstat (limited to '')
-rw-r--r--src/control/Pickups.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/control/Pickups.h b/src/control/Pickups.h
index dd5e60c6..9fa90549 100644
--- a/src/control/Pickups.h
+++ b/src/control/Pickups.h
@@ -66,8 +66,9 @@ struct tPickupMessage
eWeaponType m_weaponType;
CVector2D m_dist;
CRGBA m_color;
- uint8 m_bOutOfStock : 1;
+ uint8 m_bOutOfStock;
uint8 m_quantity;
+ uint16 money;
};
class CPickups
@@ -114,6 +115,7 @@ public:
static uint32 StaticCamStartTime;
static void RemoveAllPickupsOfACertainWeaponGroupWithNoAmmo(eWeaponType);
+ static CPickup *FindPickUpForThisObject(CEntity*);
};
extern uint16 AmmoForWeapon[20];