UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
hudRadar_s Struct Reference

Data Fields

float gridHeight
 
float gridWidth
 
vec2_t gridMin
 
vec2_t gridMax
 
char base [MAX_QPATH]
 
int numImages
 
hudRadarImage_t images [MAX_MAPTILES]
 
vec3_t a
 
vec3_t b
 
vec3_t c
 
int x
 
int y
 
int w
 
int h
 

Detailed Description

Definition at line 60 of file ui_node_radar.cpp.

Field Documentation

vec3_t hudRadar_s::a

three vectors of the triangle, lower left (a), lower right (b), upper right (c) the triangle is something like:

- c

a — b and describes the three vertices of the rectangle (the radar plane) dividing triangle

Definition at line 74 of file ui_node_radar.cpp.

Referenced by UI_InitRadar().

vec3_t hudRadar_s::b

Definition at line 74 of file ui_node_radar.cpp.

Referenced by UI_InitRadar().

char hudRadar_s::base[MAX_QPATH]

the base path in case of a random map assembly

Definition at line 64 of file ui_node_radar.cpp.

Referenced by UI_BuildRadarImageList().

vec3_t hudRadar_s::c

Definition at line 74 of file ui_node_radar.cpp.

Referenced by UI_InitRadar().

float hudRadar_s::gridHeight

The dimension of the icons on the radar map

Definition at line 62 of file ui_node_radar.cpp.

Referenced by uiRadarNode::draw(), and UI_InitRadar().

vec2_t hudRadar_s::gridMax

from position string

Definition at line 63 of file ui_node_radar.cpp.

Referenced by UI_GetRadarWidth().

vec2_t hudRadar_s::gridMin

Definition at line 63 of file ui_node_radar.cpp.

Referenced by UI_BuildRadarImageList(), UI_GetRadarWidth(), and UI_InitRadar().

float hudRadar_s::gridWidth

Definition at line 62 of file ui_node_radar.cpp.

Referenced by uiRadarNode::draw(), and UI_InitRadar().

int hudRadar_s::h

Definition at line 78 of file ui_node_radar.cpp.

Referenced by uiRadarNode::draw(), UI_GetRadarWidth(), and UI_InitRadar().

hudRadarImage_t hudRadar_s::images[MAX_MAPTILES]
int hudRadar_s::numImages

amount of images in the images array

Definition at line 65 of file ui_node_radar.cpp.

Referenced by uiRadarNode::draw(), UI_BuildRadarImageList(), UI_FreeRadarImages(), UI_GetRadarWidth(), and UI_InitRadar().

int hudRadar_s::w

radar screen (pixel) dimensions

Definition at line 78 of file ui_node_radar.cpp.

Referenced by uiRadarNode::draw(), UI_GetRadarWidth(), and UI_InitRadar().

int hudRadar_s::x

radar plane screen (pixel) coordinates

Definition at line 76 of file ui_node_radar.cpp.

Referenced by uiRadarNode::draw(), and UI_InitRadar().

int hudRadar_s::y

Definition at line 76 of file ui_node_radar.cpp.

Referenced by uiRadarNode::draw(), and UI_InitRadar().


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