summaryrefslogtreecommitdiffstats
path: root/src/Pickup.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-06-22 20:16:29 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-06-22 20:17:25 +0200
commit8b47a5b9f49d94192d9a4f077fdd22712fa90df6 (patch)
tree27a6dffe3624b3aa89a2aefd286d4a8dfa92d7f2 /src/Pickup.h
parentFirst commit of replay system (diff)
downloadre3-8b47a5b9f49d94192d9a4f077fdd22712fa90df6.tar
re3-8b47a5b9f49d94192d9a4f077fdd22712fa90df6.tar.gz
re3-8b47a5b9f49d94192d9a4f077fdd22712fa90df6.tar.bz2
re3-8b47a5b9f49d94192d9a4f077fdd22712fa90df6.tar.lz
re3-8b47a5b9f49d94192d9a4f077fdd22712fa90df6.tar.xz
re3-8b47a5b9f49d94192d9a4f077fdd22712fa90df6.tar.zst
re3-8b47a5b9f49d94192d9a4f077fdd22712fa90df6.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..29dd7c36
--- /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;
+ unsigned __int16 m_wQuantity;
+ CObject *m_pObject;
+ int m_nTimer;
+ __int16 m_eModelIndex;
+ __int16 m_wIndex;
+ CVector m_vecPos;
+}; \ No newline at end of file