equal
deleted
inserted
replaced
6 #include "vehicle.h" |
6 #include "vehicle.h" |
7 |
7 |
8 void CcBuildShip(bool success, TileIndex tile, uint32 p1, uint32 p2); |
8 void CcBuildShip(bool success, TileIndex tile, uint32 p1, uint32 p2); |
9 void CcCloneShip(bool success, TileIndex tile, uint32 p1, uint32 p2); |
9 void CcCloneShip(bool success, TileIndex tile, uint32 p1, uint32 p2); |
10 void RecalcShipStuff(Vehicle *v); |
10 void RecalcShipStuff(Vehicle *v); |
|
11 void GetShipSpriteSize(EngineID engine, uint &width, uint &height); |
11 |
12 |
12 static inline bool IsShipInDepot(const Vehicle* v) |
13 static inline bool IsShipInDepot(const Vehicle* v) |
13 { |
14 { |
14 assert(v->type == VEH_Ship); |
15 assert(v->type == VEH_Ship); |
15 return v->u.ship.state == 0x80; |
16 return v->u.ship.state == 0x80; |