FS2_Open
Open source remastering of the Freespace 2 engine
cmeasure.h File Reference

Go to the source code of this file.

Macros

#define CMEASURE_WAIT   333
 
#define MAX_CMEASURE_TRACK_DIST   300.0f
 

Functions

void cmeasure_set_ship_launch_vel (object *objp, object *parent_objp, int arand)
 
void cmeasure_select_next (object *objp)
 
void cmeasure_maybe_alert_success (object *objp)
 If this is a player countermeasure, let the player know they evaded a missile. More...
 

Variables

const float CMEASURE_DETONATE_DISTANCE
 
int Cmeasures_homing_check
 
int Countermeasures_enabled
 

Macro Definition Documentation

#define CMEASURE_WAIT   333

Definition at line 20 of file cmeasure.h.

#define MAX_CMEASURE_TRACK_DIST   300.0f

Definition at line 24 of file cmeasure.h.

Function Documentation

void cmeasure_maybe_alert_success ( object objp)

If this is a player countermeasure, let the player know they evaded a missile.

Parameters
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.

void cmeasure_select_next ( object objp)
void cmeasure_set_ship_launch_vel ( object objp,
object parent_objp,
int  arand 
)

Definition at line 28 of file cmeasure.cpp.

Variable Documentation

const float CMEASURE_DETONATE_DISTANCE

Definition at line 24 of file cmeasure.cpp.

int Cmeasures_homing_check

Definition at line 22 of file cmeasure.cpp.

int Countermeasures_enabled

Definition at line 23 of file cmeasure.cpp.