DDraceNetwork Documentation
Loading...
Searching...
No Matches
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
34
36
37#endif // GAME_CLIENT_PROJECTILE_DATA_H
Definition gameworld.h:18
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:72
CProjectileData ExtractProjectileInfo(int NetObjType, const void *pData, class CGameWorld *pGameWorld, const CNetObj_EntityEx *pEntEx)
Definition projectile_data.cpp:18
CProjectileData ExtractProjectileInfoDDRace(const CNetObj_DDRaceProjectile *pProj, class CGameWorld *pGameWorld, const CNetObj_EntityEx *pEntEx)
Definition projectile_data.cpp:45
void DemoObjectRemoveExtraProjectileInfo(CNetObj_Projectile *pProj)
Definition projectile_data.cpp:108
Definition protocol.h:602
Definition protocol.h:576
Definition protocol.h:716
Definition protocol.h:417