42 #include <allegro5/allegro.h>
43 #include <allegro5/allegro_image.h>
44 #include <allegro5/allegro_primitives.h>
45 #include <allegro5/allegro_font.h>
46 #include <allegro5/allegro_ttf.h>
47 #include <allegro5/allegro_audio.h>
76 void SetSpeed(
double a_dSpeed);
184 bool m_blMustBeDestroyed,
188 m_blMustReachPosition,
209 double WayPoint(
double a_dX,
double a_dY);
220 int GetCloackState();
227 virtual void DoEngineering();
237 virtual void CalcPhaserDamage(
double a_dEnergy,
int a_nTarget);
247 virtual void DoCollision(
TSprite * a_pSprite);
255 virtual void DoCloak();
267 virtual void Draw(
double a_dCamX,
double a_dCamY);
274 virtual void Explode();
282 virtual void Control();
291 bool Dock(
TShip * a_pBaseTarget);
298 bool TryEnterDocking();
305 void Release(
TShip * a_pBaseTarget);
314 void PrecalcFireAngles(
int a_nLimit);
int m_nTask
Tactical task number AI.
Definition: Ship.h:158
int m_nMaxHealth
Maximum health of any system.
Definition: Ship.h:180
bool m_blCanCloak
Can this ship Cloak.
Definition: Ship.h:142
AI
Definition: types.h:222
TShip * m_pBaseTarget
Pointer to starbase.
Definition: Ship.h:173
string m_strName
Name of a ship.
Definition: Ship.h:175
bool m_blShieldOn
Shields up ?
Definition: Ship.h:147
ID m_PreferedBase
The ID of the starbasetype to dock at. (types.h)
Definition: Ship.h:79
ALLEGRO_COLOR m_PhaserColor
The color of the phaser.
Definition: Ship.h:169
TShip * m_pTarget
Pointer to target.
Definition: Ship.h:171
AI m_AI
AI state.
Definition: Ship.h:69
double m_dWaypointY
Waypoint to go to Y.
Definition: Ship.h:82
vector< int > m_lstHealth
Health of subsystems.
Definition: Ship.h:178
int m_nTranslucency
Cloaking effect.
Definition: Ship.h:109
ID
Definition: types.h:170
bool m_blNoRelease
if true ship will stay docked until false
Definition: Ship.h:184