Nuclide
Software Development Kit for id Tech
NSRadar Class Reference

Tasked with managing overview/radar type widgets. More...

#include <NSRadar.h>

Inheritance diagram for NSRadar:
NSView

Public Member Functions

void NSRadar (void)
 
nonvirtual NSRadar InitForCurrentMap (void)
 Init a radar for the map we're currently on. More...
 
nonvirtual NSRadar InitWithMapname (string)
 Init a radar for a specified map, will automatically choose the best available type. More...
 
nonvirtual NSRadar InitFromHLTVScript (string)
 Init as Overview from GoldSrc HLTV script file. More...
 
nonvirtual NSRadar InitFromSourceHLTVScript (string)
 Init as Overview from Source Engine HLTV script file. More...
 
nonvirtual NSRadar InitWireframe (void)
 Init a wireframe overview. More...
 
nonvirtual NSRadar InitEmpty (void)
 Init an empty overview. More...
 
nonvirtual void RenderOverviewPlane (void)
 
nonvirtual void RenderWireframePlane (void)
 
nonvirtual void SetRadarPitch (float)
 
virtual void RenderPlayerIcon (entity)
 
virtual void RenderView (void)
 only does one thing: renderscene() More...
 
virtual void SetupView (void)
 the only method we we want to call setproperty() More...
 

Detailed Description

Tasked with managing overview/radar type widgets.

It's able to load different types of overviews, in addition to none at all.

It's able to load HLTV styled overviews used in GoldSrc and Source.

Constructor & Destructor Documentation

◆ NSRadar()

void NSRadar::NSRadar ( void  )

Member Function Documentation

◆ InitEmpty()

NSRadar NSRadar::InitEmpty ( void  )

Init an empty overview.

◆ InitForCurrentMap()

NSRadar NSRadar::InitForCurrentMap ( void  )

Init a radar for the map we're currently on.

◆ InitFromHLTVScript()

NSRadar NSRadar::InitFromHLTVScript ( string  fileName)

Init as Overview from GoldSrc HLTV script file.

◆ InitFromSourceHLTVScript()

NSRadar NSRadar::InitFromSourceHLTVScript ( string  fileName)

Init as Overview from Source Engine HLTV script file.

◆ InitWireframe()

NSRadar NSRadar::InitWireframe ( void  )

Init a wireframe overview.

◆ InitWithMapname()

NSRadar NSRadar::InitWithMapname ( string  mapName)

Init a radar for a specified map, will automatically choose the best available type.

◆ RenderOverviewPlane()

void NSRadar::RenderOverviewPlane ( void  )

◆ RenderPlayerIcon()

void NSRadar::RenderPlayerIcon ( entity  playerEnt)
virtual

◆ RenderView()

void NSRadar::RenderView ( void  )
virtual

only does one thing: renderscene()

Reimplemented from NSView.

◆ RenderWireframePlane()

void NSRadar::RenderWireframePlane ( void  )

◆ SetRadarPitch()

void NSRadar::SetRadarPitch ( float  pitchValue)

◆ SetupView()

void NSRadar::SetupView ( void  )
virtual

the only method we we want to call setproperty()

Reimplemented from NSView.


The documentation for this class was generated from the following files: