25 #ifndef PEGASUS_NEIGHBORHOOD_MARS_SHUTTLEENERGYMETER_H 26 #define PEGASUS_NEIGHBORHOOD_MARS_SHUTTLEENERGYMETER_H 28 #include "pegasus/fader.h" 29 #include "pegasus/surface.h" 33 static const int32 kFullShuttleEnergy = 100;
35 static const int32 kLowShuttleEnergy = kFullShuttleEnergy * 20 / 100;
37 static const int32 kMinDampingEnergy = 15;
38 static const int32 kMinGravitonEnergy = 63;
40 static const TimeScale kTractorBeamScale = kFifteenTicksPerSecond;
41 static const TimeValue kTractorBeamTime = kFiveSeconds * kTractorBeamScale;
42 static const int32 kTractorBeamEnergy = kLowShuttleEnergy;
49 void initShuttleEnergyMeter();
50 void disposeShuttleEnergyMeter();
54 void setEnergyValue(
const int32);
55 int32 getEnergyValue()
const;
57 void dropEnergyValue(
const int32);
59 void drainForTractorBeam();
61 bool enoughEnergyForTractorBeam()
const;
Definition: shuttleenergymeter.h:44
Definition: ai_action.h:33