55 virtual void SetupView(
void);
57 virtual void RenderView(
void);
60 virtual void StairSmooth(
void);
63 virtual void UpdateView(
void);
66 nonvirtual
void AddPunchAngle(vector);
75 nonvirtual
void SetViewPosition(vector);
77 nonvirtual
void SetViewSize(vector);
79 nonvirtual
void SetViewTarget(
NSEntity);
84 nonvirtual
void SetClientOwner(
NSClient);
87 nonvirtual
void SetDrawLocalPlayer(
bool);
90 nonvirtual
void SetCameraOrigin(vector);
92 nonvirtual
void SetCameraAngle(vector);
94 nonvirtual
void SetClientAngle(vector);
96 nonvirtual
void SetSeatID(
int);
98 nonvirtual
void SetAFOV(
float);
100 nonvirtual
float GetAFOV(
void);
102 nonvirtual
void SetSensitivity(
float);
104 nonvirtual
float GetSensitivity(
void);
107 nonvirtual vector GetHUDCanvasSize(
void);
109 nonvirtual vector GetHUDCanvasPos(
void);
112 nonvirtual
float GetViewWidth(
void);
114 nonvirtual
float GetViewHeight(
void);
117 nonvirtual vector GetCameraOrigin(
void);
119 nonvirtual vector GetCameraAngle(
void);
128 vector m_vecPosition;
130 float m_flFieldOfView;
132 float m_flSensitivity;
134 vector m_vecLastOrigin;
143 vector m_vecClientAngle;
144 bool m_bSetClientAngle;
146 bool m_bDrawLocalPlayer;
147 bool m_bDrawEntities;
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
Shared-Entity: Sound System Scape/Reverb Controller.
Definition: NSSoundScape.h:86
This class represents 3D views, used for rendering the game.
Definition: NSView.h:50
NSView g_viewSeats[4]
one NSView for each seat
Definition: NSView.h:153
viewmode_t
The view mode type of the NSView.
Definition: NSView.h:36
NSView g_view
the current seat run for each draw call, for each player.
Definition: NSView.h:156
@ VIEWMODE_FPS
uses view target position + view offset
Definition: NSView.h:38
@ VIEWMODE_NORMAL
just a regular camera with no special logic
Definition: NSView.h:37
@ VIEWMODE_SPECTATING
spectating, mixed viewmodes inside
Definition: NSView.h:40
@ VIEWMODE_THIRDPERSON
third person view, fixed
Definition: NSView.h:39