| 1 | /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ |
| 2 | /* If you are missing that file, acquire a complete release at teeworlds.com. */ |
| 3 | #ifndef GAME_CLIENT_PICKUP_DATA_H |
| 4 | #define GAME_CLIENT_PICKUP_DATA_H |
| 5 | |
| 6 | #include <base/vmath.h> |
| 7 | |
| 8 | struct CNetObj_Pickup; |
| 9 | struct CNetObj_DDNetPickup; |
| 10 | struct CNetObj_EntityEx; |
| 11 | |
| 12 | class CPickupData |
| 13 | { |
| 14 | public: |
| 15 | vec2 m_Pos; |
| 16 | int m_Type; |
| 17 | int m_Subtype; |
| 18 | int m_SwitchNumber; |
| 19 | int m_Flags; |
| 20 | }; |
| 21 | |
| 22 | CPickupData (int NetObjType, const void *pData, const CNetObj_EntityEx *pEntEx); |
| 23 | CPickupData (const CNetObj_DDNetPickup *pPickup); |
| 24 | |
| 25 | #endif // GAME_CLIENT_PICKUP_DATA_H |
| 26 | |