|
FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "gamesnd/gamesnd.h"#include "hud/hudreticle.h"#include "hud/hudtargetbox.h"#include "io/timer.h"#include "localization/localize.h"#include "network/multi.h"#include "playerman/player.h"#include "ship/ship.h"#include "weapon/emp.h"#include "weapon/weapon.h"Go to the source code of this file.
Macros | |
| #define | NUM_RETICLE_ANIS 11 |
| #define | RETICLE_TOP_ARC 0 |
| #define | RETICLE_LASER_WARN 1 |
| #define | RETICLE_LOCK_WARN 2 |
| #define | RETICLE_LEFT_ARC 3 |
| #define | RETICLE_RIGHT_ARC 4 |
| #define | RETICLE_ONE_PRIMARY 5 |
| #define | RETICLE_TWO_PRIMARY 6 |
| #define | RETICLE_ONE_SECONDARY 7 |
| #define | RETICLE_TWO_SECONDARY 8 |
| #define | RETICLE_THREE_SECONDARY 9 |
| #define | RETICLE_CENTER 10 |
| #define | THREAT_DUMBFIRE (1<<0) |
| #define | THREAT_ATTEMPT_LOCK (1<<1) |
| #define | THREAT_LOCK (1<<2) |
| #define | THREAT_UPDATE_DUMBFIRE_TIME 1000 |
| #define | THREAT_UPDATE_LOCK_TIME 500 |
| #define | THREAT_DUMBFIRE_FLASH 180 |
| #define | THREAT_LOCK_FLASH 180 |
Functions | |
| void | hud_init_reticle () |
| void | hud_update_reticle (player *pp) |
| #define NUM_RETICLE_ANIS 11 |
Definition at line 24 of file hudreticle.cpp.
| #define RETICLE_CENTER 10 |
Definition at line 37 of file hudreticle.cpp.
| #define RETICLE_LASER_WARN 1 |
Definition at line 27 of file hudreticle.cpp.
| #define RETICLE_LEFT_ARC 3 |
Definition at line 29 of file hudreticle.cpp.
| #define RETICLE_LOCK_WARN 2 |
Definition at line 28 of file hudreticle.cpp.
| #define RETICLE_ONE_PRIMARY 5 |
Definition at line 31 of file hudreticle.cpp.
| #define RETICLE_ONE_SECONDARY 7 |
Definition at line 33 of file hudreticle.cpp.
| #define RETICLE_RIGHT_ARC 4 |
Definition at line 30 of file hudreticle.cpp.
| #define RETICLE_THREE_SECONDARY 9 |
Definition at line 35 of file hudreticle.cpp.
| #define RETICLE_TOP_ARC 0 |
Definition at line 26 of file hudreticle.cpp.
| #define RETICLE_TWO_PRIMARY 6 |
Definition at line 32 of file hudreticle.cpp.
| #define RETICLE_TWO_SECONDARY 8 |
Definition at line 34 of file hudreticle.cpp.
| #define THREAT_ATTEMPT_LOCK (1<<1) |
Definition at line 216 of file hudreticle.cpp.
| #define THREAT_DUMBFIRE (1<<0) |
Definition at line 215 of file hudreticle.cpp.
| #define THREAT_DUMBFIRE_FLASH 180 |
Definition at line 222 of file hudreticle.cpp.
| #define THREAT_LOCK (1<<2) |
Definition at line 217 of file hudreticle.cpp.
| #define THREAT_LOCK_FLASH 180 |
Definition at line 223 of file hudreticle.cpp.
| #define THREAT_UPDATE_DUMBFIRE_TIME 1000 |
Definition at line 219 of file hudreticle.cpp.
| #define THREAT_UPDATE_LOCK_TIME 500 |
Definition at line 220 of file hudreticle.cpp.
| void hud_init_reticle | ( | ) |
Definition at line 949 of file hudreticle.cpp.
Definition at line 960 of file hudreticle.cpp.
| int Hud_reticle_center[GR_NUM_RESOLUTIONS][2] |
Definition at line 64 of file hudreticle.cpp.
| int Hud_throttle_aburn_button[GR_NUM_RESOLUTIONS] |
Definition at line 54 of file hudreticle.cpp.
| int Hud_throttle_aburn_h[GR_NUM_RESOLUTIONS] |
Definition at line 50 of file hudreticle.cpp.
| int Hud_throttle_bottom_y[NUM_HUD_RETICLE_STYLES][GR_NUM_RESOLUTIONS] |
Definition at line 46 of file hudreticle.cpp.
| int Hud_throttle_frame_w[GR_NUM_RESOLUTIONS] |
Definition at line 39 of file hudreticle.cpp.
| int Hud_throttle_h[GR_NUM_RESOLUTIONS] |
Definition at line 43 of file hudreticle.cpp.
| int Outer_circle_radius[GR_NUM_RESOLUTIONS] |
Definition at line 59 of file hudreticle.cpp.
| int Reticle_frame_coords[NUM_HUD_RETICLE_STYLES][GR_NUM_RESOLUTIONS][NUM_RETICLE_ANIS][2] |
Definition at line 141 of file hudreticle.cpp.
| char Reticle_frame_names[NUM_HUD_RETICLE_STYLES][GR_NUM_RESOLUTIONS][NUM_RETICLE_ANIS][MAX_FILENAME_LEN] |
Definition at line 74 of file hudreticle.cpp.
| int Reticle_launch_coords[GR_NUM_RESOLUTIONS][2] |
Definition at line 206 of file hudreticle.cpp.