FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "gamesnd/gamesnd.h"
#include "globalincs/alphacolors.h"
#include "globalincs/linklist.h"
#include "globalincs/systemvars.h"
#include "hud/hudescort.h"
#include "hud/hudmessage.h"
#include "hud/hudparse.h"
#include "hud/hudshield.h"
#include "hud/hudtargetbox.h"
#include "iff_defs/iff_defs.h"
#include "io/timer.h"
#include "network/multi.h"
#include "network/multiutil.h"
#include "object/object.h"
#include "parse/parselo.h"
#include "playerman/player.h"
#include "ship/ship.h"
#include "weapon/emp.h"
Go to the source code of this file.
Classes | |
struct | escort_info |
Typedefs | |
typedef struct escort_info | escort_info |
Functions | |
void | hud_escort_update_list () |
void | hud_escort_init () |
void | hud_escort_clear_all (bool clear_flags) |
int | escort_compare_func (const void *e1, const void *e2) |
void | hud_create_complete_escort_list (escort_info *escorts, int *num_escorts) |
void | hud_setup_escort_list (int level) |
void | merge_escort_lists (escort_info *complete_escorts, int num_complete_escorts) |
void | hud_remove_ship_from_escort_index (int dead_index, int objnum) |
void | hud_escort_cull_list () |
void | hud_escort_view_toggle () |
void | hud_add_ship_to_escort (int objnum, int supress_feedback) |
void | hud_add_remove_ship_escort (int objnum, int supress_feedback) |
void | hud_remove_ship_from_escort (int objnum) |
void | hud_escort_ship_hit (object *objp, int quadrant) |
void | hud_escort_target_next () |
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) |
Variables | |
int | Show_escort_view |
escort_info | Escort_ships [MAX_COMPLETE_ESCORT_LIST] |
int | Num_escort_ships |
int | Max_escort_ships = 3 |
typedef struct escort_info escort_info |
Definition at line 501 of file hudescort.cpp.
Definition at line 917 of file hudescort.cpp.
Definition at line 849 of file hudescort.cpp.
void hud_create_complete_escort_list | ( | escort_info * | escorts, |
int * | num_escorts | ||
) |
Definition at line 547 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 | ) |
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.
Definition at line 1032 of file hudescort.cpp.
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.
objp | The object hit |
quadrant | Shield 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.
Definition at line 954 of file hudescort.cpp.
Definition at line 755 of file hudescort.cpp.
Definition at line 651 of file hudescort.cpp.
void merge_escort_lists | ( | escort_info * | complete_escorts, |
int | num_complete_escorts | ||
) |
Definition at line 688 of file hudescort.cpp.
escort_info Escort_ships[MAX_COMPLETE_ESCORT_LIST] |
Definition at line 50 of file hudescort.cpp.
int Max_escort_ships = 3 |
Definition at line 52 of file hudescort.cpp.
int Num_escort_ships |
Definition at line 51 of file hudescort.cpp.
int Show_escort_view |
Definition at line 34 of file hudescort.cpp.