Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 43 lines (31 sloc) 0.86 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
/*
* See Licensing and Copyright notice in naev.h
*/


#ifndef PILOT_EW_H
# define PILOT_EW_H


#include "pilot.h"



/*
* Sensors and range.
*/
void pilot_updateSensorRange (void);
double pilot_sensorRange( void );
int pilot_inRange( const Pilot *p, double x, double y );
int pilot_inRangePilot( const Pilot *p, const Pilot *target );
int pilot_inRangePlanet( const Pilot *p, int target );
int pilot_inRangeJump( const Pilot *p, int target );

/*
* Weapon tracking.
*/
double pilot_ewWeaponTrack( const Pilot *p, const Pilot *t, double track );

/*
* Electronic warfare updating.
*/
void pilot_ewUpdateStatic( Pilot *p );
void pilot_ewUpdateDynamic( Pilot *p );

/*
* Individual electronic warfare properties.
*/
double pilot_ewMovement( double vmod );
double pilot_ewHeat( double T );
double pilot_ewMass( double mass );


#endif /* PILOT_EW_H */
Something went wrong with that request. Please try again.