summaryrefslogtreecommitdiffstats
path: root/src/Pickup.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-22 21:29:14 +0200
committerGitHub <noreply@github.com>2019-06-22 21:29:14 +0200
commit7a77f995b2f08b998d72d8db44790a0606f2d52d (patch)
treee044cb90c729554cf56ed76c039231bb04c78671 /src/Pickup.h
parentbla (diff)
parentattempt to fix build error (diff)
downloadre3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.gz
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.bz2
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.lz
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.xz
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.tar.zst
re3-7a77f995b2f08b998d72d8db44790a0606f2d52d.zip
Diffstat (limited to 'src/Pickup.h')
-rw-r--r--src/Pickup.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/Pickup.h b/src/Pickup.h
new file mode 100644
index 00000000..efef15fe
--- /dev/null
+++ b/src/Pickup.h
@@ -0,0 +1,33 @@
+#pragma once
+#include "common.h"
+#include "Object.h"
+
+enum ePickupType
+{
+ PICKUP_NONE = 0,
+ PICKUP_IN_SHOP = 1,
+ PICKUP_ON_STREET = 2,
+ PICKUP_ONCE = 3,
+ PICKUP_ONCE_TIMEOUT = 4,
+ PICKUP_COLLECTABLE1 = 5,
+ PICKUP_IN_SHOP_OUT_OF_STOCK = 6,
+ PICKUP_MONEY = 7,
+ PICKUP_MINE_INACTIVE = 8,
+ PICKUP_MINE_ARMED = 9,
+ PICKUP_NAUTICAL_MINE_INACTIVE = 10,
+ PICKUP_NAUTICAL_MINE_ARMED = 11,
+ PICKUP_FLOATINGPACKAGE = 12,
+ PICKUP_FLOATINGPACKAGE_FLOATING = 13,
+ PICKUP_ON_STREET_SLOW = 14,
+};
+
+class CPickup
+{
+ ePickupType m_eType;
+ uint16 m_wQuantity;
+ CObject *m_pObject;
+ uint32 m_nTimer;
+ int16 m_eModelIndex;
+ int16 m_wIndex;
+ CVector m_vecPos;
+};