25} NSClientSpectatorFlags_t;
52 SPECFLAG_BUTTON_RELEASED,
74 virtual void ProcessInput(
void);
75 virtual void PreFrame(
void);
76 virtual void PostFrame(
void);
77 virtual bool IsFakeSpectator(
void);
78 virtual bool IsRealSpectator(
void);
79 virtual bool IsDead(
void);
80 virtual bool IsPlayer(
void);
81 virtual void SharedInputFrame(
void);
84 virtual void InputNext(
void);
86 virtual void InputPrevious(
void);
88 virtual void InputMode(
void);
92 virtual void WarpToTarget(
void);
95 virtual void SpectatorTrackPlayer(
void);
104 virtual void Save(
float);
105 virtual void Restore(
string,
string);
106 virtual void EvaluateEntity(
void);
107 virtual float SendEntity(entity,
float);
108 virtual void ServerInputFrame(
void);
118 float m_flLastSpecTargetChange;
void Spectator_ReadEntity(float new)
Definition: NSClientSpectator.qc:547
string g_specmodes[]
Definition: NSClientSpectator.h:39
NSClientSpectatorMode_t
Definition: NSClientSpectator.h:28
@ SPECMODE_LOCKEDCHASE
Definition: NSClientSpectator.h:30
@ SPECMODE_FREE
Definition: NSClientSpectator.h:32
@ SPECMODE_FREEOVERVIEW
Definition: NSClientSpectator.h:34
@ SPECMODE_DEATHCAM
Definition: NSClientSpectator.h:29
@ SPECMODE_THIRDPERSON
Definition: NSClientSpectator.h:31
@ SPECMODE_FIRSTPERSON
Definition: NSClientSpectator.h:33
@ SPECMODE_CHASEOVERVIEW
Definition: NSClientSpectator.h:35
typedef enumflags
Definition: NSClientSpectator.h:18
This entity class represents every spectator client.
Definition: NSClientSpectator.h:69
virtual void ReceiveEntity(float, float)
Client: Handles network updates from the server for the associated entity.
virtual void ClientInputFrame(void)
Client: Called on the client to give a chance to override input_* variables before networking them ta...
virtual float predraw(void)
This entity class is the lowest client/player class.
Definition: NSClient.h:26
NSEntity is the lowest of the user-accessible entity class.
Definition: NSEntity.h:54
This entity represents any NSEntity with advanced rendering properties.
Definition: NSRenderableEntity.h:94
#define PREDICTED_FLOAT(x)
Definition: defs.h:34