mirror of
https://github.com/ddnet/ddnet.git
synced 2024-10-21 08:18:18 +00:00
25 lines
665 B
C
25 lines
665 B
C
|
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
|
||
|
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
||
|
#ifndef GAME_CLIENT_PICKUP_DATA_H
|
||
|
#define GAME_CLIENT_PICKUP_DATA_H
|
||
|
|
||
|
#include <base/vmath.h>
|
||
|
|
||
|
struct CNetObj_Pickup;
|
||
|
struct CNetObj_DDNetPickup;
|
||
|
struct CNetObj_EntityEx;
|
||
|
|
||
|
class CPickupData
|
||
|
{
|
||
|
public:
|
||
|
vec2 m_Pos;
|
||
|
int m_Type;
|
||
|
int m_Subtype;
|
||
|
int m_SwitchNumber;
|
||
|
};
|
||
|
|
||
|
CPickupData ExtractPickupInfo(int NetObjType, const void *pData, const CNetObj_EntityEx *pEntEx);
|
||
|
CPickupData ExtractPickupInfoDDNet(const CNetObj_DDNetPickup *pPickup);
|
||
|
|
||
|
#endif // GAME_CLIENT_PICKUP_DATA_H
|