DDraceNetwork Docs
projectile_data.h
Go to the documentation of this file.
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_PROJECTILE_DATA_H
4#define GAME_CLIENT_PROJECTILE_DATA_H
5
6#include <base/vmath.h>
7
11struct CNetObj_EntityEx;
12
14{
15public:
18 int m_Type;
21 // The rest is only set if m_ExtraInfo is true.
27 // TuneZone is introduced locally
29};
30
31CProjectileData ExtractProjectileInfo(int NetObjType, const void *pData, class CGameWorld *pGameWorld, const CNetObj_EntityEx *pEntEx);
34
35#endif // GAME_CLIENT_PROJECTILE_DATA_H
Definition: gameworld.h:17
Definition: projectile_data.h:14
int m_TuneZone
Definition: projectile_data.h:28
vec2 m_StartPos
Definition: projectile_data.h:16
bool m_Explosive
Definition: projectile_data.h:23
vec2 m_StartVel
Definition: projectile_data.h:17
bool m_Freeze
Definition: projectile_data.h:25
int m_Bouncing
Definition: projectile_data.h:24
bool m_ExtraInfo
Definition: projectile_data.h:20
int m_SwitchNumber
Definition: projectile_data.h:26
int m_StartTick
Definition: projectile_data.h:19
int m_Owner
Definition: projectile_data.h:22
int m_Type
Definition: projectile_data.h:18
CProjectileData ExtractProjectileInfoDDNet(const CNetObj_DDNetProjectile *pProj)
Definition: projectile_data.cpp:71
CProjectileData ExtractProjectileInfo(int NetObjType, const void *pData, class CGameWorld *pGameWorld, const CNetObj_EntityEx *pEntEx)
Definition: projectile_data.cpp:17
CProjectileData ExtractProjectileInfoDDRace(const CNetObj_DDRaceProjectile *pProj, class CGameWorld *pGameWorld, const CNetObj_EntityEx *pEntEx)
Definition: projectile_data.cpp:44
Definition: protocol.h:568
Definition: protocol.h:543
Definition: protocol.h:661
Definition: protocol.h:375