summaryrefslogtreecommitdiffstats
path: root/src/Pickup.h
blob: 29dd7c3643eb5ad65d6491d54130a6e7fcb86c8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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;
};