Open source remastering of the Freespace 2 engine
hudshield.h File Reference
#include "globalincs/pstypes.h"
#include "hud/hud.h"

Go to the source code of this file.


struct  shield_hit_info
class  HudGaugeShield
class  HudGaugeShieldPlayer
class  HudGaugeShieldTarget
class  HudGaugeShieldMini


#define SHIELD_HIT_DURATION   1400


typedef struct shield_hit_info shield_hit_info


void hud_shield_level_init ()
void hud_shield_equalize (object *objp, player *pl)
void hud_augment_shield_quadrant (object *objp, int direction)
void hud_shield_assign_info (ship_info *sip, char *filename)
void hud_show_mini_ship_integrity (object *objp, int force_x=-1, int force_y=-1)
void hud_shield_show_mini (object *objp, int x_force=-1, int y_force=-1, int x_hull_offset=0, int y_hull_offset=0)
void hud_shield_hit_update ()
void hud_shield_quadrant_hit (object *objp, int quadrant)
void hud_shield_hit_reset (object *objp, int player=0)
void shield_info_reset (object *objp, shield_hit_info *shi)
void hud_ship_icon_page_in (ship_info *sip)


ubyte Quadrant_xlate [4]
SCP_vector< SCP_stringHud_shield_filenames

Macro Definition Documentation


Definition at line 19 of file hudshield.h.

#define SHIELD_HIT_DURATION   1400

Definition at line 18 of file hudshield.h.

Typedef Documentation

Function Documentation

void hud_augment_shield_quadrant ( object objp,
int  direction 

Definition at line 278 of file hudshield.cpp.

void hud_shield_assign_info ( ship_info sip,
char *  filename 

Definition at line 339 of file hudshield.cpp.

void hud_shield_equalize ( object objp,
player pl 

Definition at line 209 of file hudshield.cpp.

void hud_shield_hit_reset ( object objp,
int  player = 0 

Definition at line 497 of file hudshield.cpp.

void hud_shield_hit_update ( )

Definition at line 511 of file hudshield.cpp.

void hud_shield_level_init ( )

Definition at line 121 of file hudshield.cpp.

void hud_shield_quadrant_hit ( object objp,
int  quadrant 

Definition at line 541 of file hudshield.cpp.

void hud_shield_show_mini ( object objp,
int  x_force = -1,
int  y_force = -1,
int  x_hull_offset = 0,
int  y_hull_offset = 0 

Definition at line 402 of file hudshield.cpp.

void hud_ship_icon_page_in ( ship_info sip)

Definition at line 177 of file hudshield.cpp.

void hud_show_mini_ship_integrity ( object objp,
int  force_x = -1,
int  force_y = -1 

Definition at line 355 of file hudshield.cpp.

void shield_info_reset ( object objp,
shield_hit_info shi 

Definition at line 472 of file hudshield.cpp.

Variable Documentation

SCP_vector<SCP_string> Hud_shield_filenames

Definition at line 41 of file hudshield.cpp.

ubyte Quadrant_xlate[4]

Definition at line 118 of file hudshield.cpp.