Nuclide
Software Development Kit for id Technology (BETA)
All Classes Functions Variables Typedefs Enumerations Enumerator Modules Pages
ncRadar Class Reference

About this class

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.

Inheritance diagram for ncRadar:
ncView

Public Member Functions

void ncRadar (void)
 
nonvirtual ncRadar InitForCurrentMap (void)
 Init a radar for the map we're currently on. More...
 
nonvirtual ncRadar InitWithMapname (string)
 Init a radar for a specified map, will automatically choose the best available type. More...
 
nonvirtual ncRadar InitFromHLTVScript (string)
 Init as Overview from GoldSrc HLTV script file. More...
 
nonvirtual ncRadar InitFromSourceHLTVScript (string)
 Init as Overview from Source Engine HLTV script file. More...
 
nonvirtual ncRadar InitWireframe (void)
 Init a wireframe overview. More...
 
nonvirtual ncRadar 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...
 

Constructor & Destructor Documentation

◆ ncRadar()

void ncRadar::ncRadar ( void  )

Member Function Documentation

◆ InitEmpty()

ncRadar ncRadar::InitEmpty ( void  )

Init an empty overview.

◆ InitForCurrentMap()

ncRadar ncRadar::InitForCurrentMap ( void  )

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

◆ InitFromHLTVScript()

ncRadar ncRadar::InitFromHLTVScript ( string  fileName)

Init as Overview from GoldSrc HLTV script file.

◆ InitFromSourceHLTVScript()

ncRadar ncRadar::InitFromSourceHLTVScript ( string  fileName)

Init as Overview from Source Engine HLTV script file.

◆ InitWireframe()

ncRadar ncRadar::InitWireframe ( void  )

Init a wireframe overview.

◆ InitWithMapname()

ncRadar ncRadar::InitWithMapname ( string  mapName)

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

◆ RenderOverviewPlane()

void ncRadar::RenderOverviewPlane ( void  )

◆ RenderPlayerIcon()

void ncRadar::RenderPlayerIcon ( entity  playerEnt)
virtual

◆ RenderView()

void ncRadar::RenderView ( void  )
virtual

only does one thing: renderscene()

Reimplemented from ncView.

◆ RenderWireframePlane()

void ncRadar::RenderWireframePlane ( void  )

◆ SetRadarPitch()

void ncRadar::SetRadarPitch ( float  pitchValue)

◆ SetupView()

void ncRadar::SetupView ( void  )
virtual

the only method we we want to call setproperty()

Reimplemented from ncView.


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