|
FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "cmeasure/cmeasure.h"#include "gamesnd/gamesnd.h"#include "hud/hud.h"#include "math/staticrand.h"#include "mission/missionparse.h"#include "network/multimsgs.h"#include "object/object.h"#include "ship/ship.h"#include "weapon/weapon.h"Go to the source code of this file.
Functions | |
| void | cmeasure_set_ship_launch_vel (object *objp, object *parent_objp, int arand) |
| void | cmeasure_select_next (ship *shipp) |
| void | cmeasure_maybe_alert_success (object *objp) |
| If this is a player countermeasure, let the player know they evaded a missile. More... | |
Variables | |
| int | Cmeasures_homing_check = 0 |
| int | Countermeasures_enabled = 1 |
| const float | CMEASURE_DETONATE_DISTANCE = 40.0f |
If this is a player countermeasure, let the player know they evaded a missile.
| objp | [description] |
During single player games, this function notifies the player that evasion has occurred. Multiplayer games ensure that send_countermeasure_success_packet() is called to notify the other player.
Definition at line 84 of file cmeasure.cpp.
Definition at line 56 of file cmeasure.cpp.
Definition at line 28 of file cmeasure.cpp.
| const float CMEASURE_DETONATE_DISTANCE = 40.0f |
Definition at line 24 of file cmeasure.cpp.
| int Cmeasures_homing_check = 0 |
Definition at line 22 of file cmeasure.cpp.
| int Countermeasures_enabled = 1 |
Definition at line 23 of file cmeasure.cpp.