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

Go to the source code of this file.


class  HudGaugeEscort




void hud_escort_update_list ()
void hud_escort_init ()
void hud_setup_escort_list (int level=1)
void hud_escort_view_toggle ()
void hud_add_remove_ship_escort (int objnum, int supress_feedback=0)
void hud_escort_clear_all (bool clear_flags=false)
void hud_escort_ship_hit (object *objp, int quadrant)
void hud_escort_target_next ()
void hud_escort_cull_list ()
void hud_add_ship_to_escort (int objnum, int supress_feedback)
void hud_remove_ship_from_escort (int objnum)
int hud_escort_num_ships_on_list ()
int hud_escort_return_objnum (int index)
void hud_escort_add_player (short id)
void hud_escort_remove_player (short id)


int Max_escort_ships

Macro Definition Documentation


Definition at line 18 of file hudescort.h.

Function Documentation

void hud_add_remove_ship_escort ( int  objnum,
int  supress_feedback = 0 

Definition at line 917 of file hudescort.cpp.

void hud_add_ship_to_escort ( int  objnum,
int  supress_feedback 

Definition at line 849 of file hudescort.cpp.

void hud_escort_add_player ( short  id)

Definition at line 1054 of file hudescort.cpp.

void hud_escort_clear_all ( bool  clear_flags = false)

Definition at line 482 of file hudescort.cpp.

void hud_escort_cull_list ( )

Definition at line 793 of file hudescort.cpp.

void hud_escort_init ( )

Definition at line 470 of file hudescort.cpp.

int hud_escort_num_ships_on_list ( )

Definition at line 1026 of file hudescort.cpp.

void hud_escort_remove_player ( short  id)

Definition at line 1074 of file hudescort.cpp.

int hud_escort_return_objnum ( int  index)

Definition at line 1032 of file hudescort.cpp.

void hud_escort_ship_hit ( object objp,
int  quadrant 

Called whenever a ship is hit to determine if that ship is in the escort list. If it is, then start timers to flash the name hull/shield icon for that ship.

objpThe object hit
quadrantShield quadrant on the object that was hit, alternatively -1 if no shield

Definition at line 989 of file hudescort.cpp.

void hud_escort_target_next ( )

Definition at line 1006 of file hudescort.cpp.

void hud_escort_update_list ( )

Definition at line 451 of file hudescort.cpp.

void hud_escort_view_toggle ( )

Definition at line 838 of file hudescort.cpp.

void hud_remove_ship_from_escort ( int  objnum)

Definition at line 954 of file hudescort.cpp.

void hud_setup_escort_list ( int  level = 1)

Definition at line 651 of file hudescort.cpp.

Variable Documentation

int Max_escort_ships

Definition at line 52 of file hudescort.cpp.