25} NSClientSpectatorFlags_t;
34 SPECMODE_FREEOVERVIEW,
35 SPECMODE_CHASEOVERVIEW
36} NSClientSpectatorMode_t;
39string g_specmodes[] = {
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);
114 PREDICTED_FLOAT(spec_ent)
115 PREDICTED_FLOAT(spec_flags)
116 NSClientSpectatorMode_t spec_mode; NSClientSpectatorMode_t spec_mode_net;
118 float m_flLastSpecTargetChange;
124void Spectator_ReadEntity(
float new);
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
typedef enumflags
Defines the valid alignment flags for text fields.
Definition: font.h:37