11#define HEAT_WORST_ACCURACY (38./180.*M_PI)
16#define CONST_STEFAN_BOLTZMANN (5.67e-8)
17#define CONST_SPACE_TEMP (3.18)
18#define CONST_SPACE_TEMP_4 \
19(CONST_SPACE_TEMP*CONST_SPACE_TEMP*CONST_SPACE_TEMP*CONST_SPACE_TEMP)
20#define CONST_SPACE_STAR_TEMP (250.)
21#define CONST_SPACE_STAR_TEMP_4 \
22(CONST_SPACE_STAR_TEMP*CONST_SPACE_STAR_TEMP*CONST_SPACE_STAR_TEMP*CONST_SPACE_STAR_TEMP)
29#define STEEL_HEAT_CONDUCTIVITY (54.)
30#define STEEL_HEAT_CAPACITY (0.49)
31#define STEEL_DENSITY (7.88e3)
void pilot_heatAddSlot(const Pilot *p, PilotOutfitSlot *o)
Adds heat to an outfit slot.
double pilot_heatEfficiencyMod(double T, double Tb, double Tc)
Returns a 0:1 modifier representing efficiency (1. being normal).
void pilot_heatUpdateCooldown(Pilot *p)
Overrides the usual heat model during active cooldown.
double pilot_heatFireRateMod(double T)
Returns a 0:1 modifier representing fire rate (1. being normal).
void pilot_heatCalcSlot(PilotOutfitSlot *o)
Calculates the heat parameters for a pilot's slot.
void pilot_heatReset(Pilot *p)
Resets a pilot's heat.
double pilot_heatAccuracyMod(double T)
Returns a 0:1 modifier representing accuracy (0. being normal).
void pilot_heatUpdateShip(Pilot *p, double Q_cond, double dt)
Heats the pilot's ship.
double pilot_heatCalcOutfitC(const Outfit *o)
Calculates the thermal mass of an outfit.
void pilot_heatCalc(Pilot *p)
Calculates the heat parameters for a pilot.
double pilot_heatCalcOutfitArea(const Outfit *o)
Calculates the effective transfer area of an outfit.
double pilot_heatUpdateSlot(const Pilot *p, PilotOutfitSlot *o, double dt)
Heats the pilot's slot.
double pilot_heatFirePercent(double T)
Returns a 0:2 level of fire, 0:1 is the accuracy point, 1:2 is fire rate point.
void pilot_heatAddSlotTime(const Pilot *p, PilotOutfitSlot *o, double dt)
Adds heat to an outfit slot over a period of time.
A ship outfit, depends radically on the type.
Stores an outfit the pilot has.
The representation of an in-game pilot.