Nuclide
Software Development Kit for id Tech
NSView.h File Reference

NSView handles camera and viewpoints. More...

Go to the source code of this file.

Classes

class  NSView
 This class represents 3D views, used for rendering the game. More...
 
enum  viewmode_t { VIEWMODE_NORMAL , VIEWMODE_FPS , VIEWMODE_THIRDPERSON , VIEWMODE_SPECTATING }
 The view mode type of the NSView. More...
 
NSView g_viewSeats [4]
 one NSView for each seat More...
 
NSView g_view
 the current seat run for each draw call, for each player. More...
 

Detailed Description

NSView handles camera and viewpoints.

The job of the NSView is to draw a 3D view into an area of the screen. It can contain a player seat. It can also be used to simply render another view anywhere on the screen.

The NSView has a target, which may or may not have prediction

run on them. Things such as stair smoothing and viewmodel handling is done in the NSView.