Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
Radar::RadarEvent Struct Reference

#include <Radar.h>

Public Attributes

RadarEventType type
 type of this radar event
 
Bool active
 TRUE when event is "active", otherwise it's just historical information in the event array to look through.
 
UnsignedInt createFrame
 frame event was created on
 
UnsignedInt dieFrame
 frame the event will go away on
 
UnsignedInt fadeFrame
 start fading out on this frame
 
RGBAColorInt color1
 color 1 for drawing
 
RGBAColorInt color2
 color 2 for drawing
 
Coord3D worldLoc
 location of event in the world
 
ICoord2D radarLoc
 2D radar location of the event
 
Bool soundPlayed
 TRUE when we have played the radar sound for this.
 

Detailed Description

Definition at line 268 of file Radar.h.

Member Data Documentation

◆ active

Bool Radar::RadarEvent::active

TRUE when event is "active", otherwise it's just historical information in the event array to look through.

Definition at line 271 of file Radar.h.

◆ color1

RGBAColorInt Radar::RadarEvent::color1

color 1 for drawing

Definition at line 275 of file Radar.h.

◆ color2

RGBAColorInt Radar::RadarEvent::color2

color 2 for drawing

Definition at line 276 of file Radar.h.

◆ createFrame

UnsignedInt Radar::RadarEvent::createFrame

frame event was created on

Definition at line 272 of file Radar.h.

◆ dieFrame

UnsignedInt Radar::RadarEvent::dieFrame

frame the event will go away on

Definition at line 273 of file Radar.h.

◆ fadeFrame

UnsignedInt Radar::RadarEvent::fadeFrame

start fading out on this frame

Definition at line 274 of file Radar.h.

◆ radarLoc

ICoord2D Radar::RadarEvent::radarLoc

2D radar location of the event

Definition at line 278 of file Radar.h.

◆ soundPlayed

Bool Radar::RadarEvent::soundPlayed

TRUE when we have played the radar sound for this.

Definition at line 279 of file Radar.h.

◆ type

RadarEventType Radar::RadarEvent::type

type of this radar event

Definition at line 270 of file Radar.h.

◆ worldLoc

Coord3D Radar::RadarEvent::worldLoc

location of event in the world

Definition at line 277 of file Radar.h.


The documentation for this struct was generated from the following file: