DDraceNetwork Docs
|
#include <items.h>
Public Member Functions | |
virtual int | Sizeof () const override |
virtual void | OnRender () override |
virtual void | OnInit () override |
void | ReconstructSmokeTrail (const CProjectileData *pCurrent, int DestroyTick) |
Public Member Functions inherited from CComponent | |
virtual | ~CComponent () |
virtual int | Sizeof () const =0 |
class CGameClient * | GameClient () const |
class IClient * | Client () const |
virtual void | OnStateChange (int NewState, int OldState) |
virtual void | OnConsoleInit () |
virtual void | OnInit () |
virtual void | OnShutdown () |
virtual void | OnReset () |
virtual void | OnWindowResize () |
virtual void | OnRefreshSkins () |
virtual void | OnRender () |
virtual void | OnNewSnapshot () |
virtual void | OnRelease () |
virtual void | OnMapLoad () |
virtual void | OnMessage (int Msg, void *pRawMsg) |
virtual bool | OnCursorMove (float x, float y, IInput::ECursorType CursorType) |
virtual bool | OnInput (const IInput::CEvent &Event) |
Private Member Functions | |
void | RenderProjectile (const CProjectileData *pCurrent, int ItemId) |
void | RenderPickup (const CNetObj_Pickup *pPrev, const CNetObj_Pickup *pCurrent, bool IsPredicted=false) |
void | RenderFlag (const CNetObj_Flag *pPrev, const CNetObj_Flag *pCurrent, const CNetObj_GameData *pPrevGameData, const CNetObj_GameData *pCurGameData) |
void | RenderLaser (const CLaserData *pCurrent, bool IsPredicted=false) |
Private Attributes | |
int | m_ItemsQuadContainerIndex |
int | m_BlueFlagOffset |
int | m_RedFlagOffset |
int | m_PickupHealthOffset |
int | m_PickupArmorOffset |
int | m_aPickupWeaponOffset [NUM_WEAPONS] |
int | m_PickupNinjaOffset |
int | m_aPickupWeaponArmorOffset [4] |
int | m_aProjectileOffset [NUM_WEAPONS] |
int | m_aParticleSplatOffset [3] |
Additional Inherited Members | |
Protected Member Functions inherited from CComponent | |
class IKernel * | Kernel () const |
class IEngine * | Engine () const |
class IGraphics * | Graphics () const |
class ITextRender * | TextRender () const |
class IInput * | Input () const |
class IStorage * | Storage () const |
class CUi * | Ui () const |
class ISound * | Sound () const |
class CRenderTools * | RenderTools () const |
class IConfigManager * | ConfigManager () const |
class CConfig * | Config () const |
class IConsole * | Console () const |
class IDemoPlayer * | DemoPlayer () const |
class IDemoRecorder * | DemoRecorder (int Recorder) const |
class IFavorites * | Favorites () const |
class IServerBrowser * | ServerBrowser () const |
class CLayers * | Layers () const |
class CCollision * | Collision () const |
int64_t | time () const |
float | LocalTime () const |
class IHttp * | Http () const |
Protected Attributes inherited from CComponent | |
CGameClient * | m_pClient |
|
overridevirtual |
Called to let the components run initialization code.
Reimplemented from CComponent.
|
overridevirtual |
Called when the component should get rendered.
The render order depends on the component insertion order.
Reimplemented from CComponent.
void CItems::ReconstructSmokeTrail | ( | const CProjectileData * | pCurrent, |
int | DestroyTick | ||
) |
|
private |
|
private |
|
private |
|
private |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |