FS2_Open
Open source remastering of the Freespace 2 engine
hudreticle.h File Reference
#include "hud/hud.h"

Go to the source code of this file.

Classes

struct  firepoint
 
class  HudGaugeReticle
 
class  HudGaugeThrottle
 
class  HudGaugeThreatIndicator
 
class  HudGaugeWeaponLinking
 

Macros

#define NUM_WEAPON_LINK_MODES   5
 
#define LINK_ONE_PRIMARY   0
 
#define LINK_TWO_PRIMARY   1
 
#define LINK_ONE_SECONDARY   2
 
#define LINK_TWO_SECONDARY   3
 
#define LINK_THREE_SECONDARY   4
 

Functions

void hud_init_reticle ()
 
void hud_update_reticle (player *pp)
 
void hud_draw_outer_reticle ()
 
void hud_draw_center_reticle ()
 
void hud_draw_throttle_gauge ()
 
void hud_draw_target_throttle_gauge ()
 

Variables

int Outer_circle_radius [GR_NUM_RESOLUTIONS]
 
int Hud_reticle_center [GR_NUM_RESOLUTIONS][2]
 

Macro Definition Documentation

#define LINK_ONE_PRIMARY   0

Definition at line 24 of file hudreticle.h.

#define LINK_ONE_SECONDARY   2

Definition at line 26 of file hudreticle.h.

#define LINK_THREE_SECONDARY   4

Definition at line 28 of file hudreticle.h.

#define LINK_TWO_PRIMARY   1

Definition at line 25 of file hudreticle.h.

#define LINK_TWO_SECONDARY   3

Definition at line 27 of file hudreticle.h.

#define NUM_WEAPON_LINK_MODES   5

Definition at line 23 of file hudreticle.h.

Function Documentation

void hud_draw_center_reticle ( )
void hud_draw_outer_reticle ( )
void hud_draw_target_throttle_gauge ( )
void hud_draw_throttle_gauge ( )
void hud_init_reticle ( )

Definition at line 949 of file hudreticle.cpp.

void hud_update_reticle ( player pp)

Definition at line 960 of file hudreticle.cpp.

Variable Documentation

int Hud_reticle_center[GR_NUM_RESOLUTIONS][2]

Definition at line 64 of file hudreticle.cpp.

int Outer_circle_radius[GR_NUM_RESOLUTIONS]

Definition at line 59 of file hudreticle.cpp.