Codechange: Remove Track{dir,}{Bits,}Byte types

This commit is contained in:
Charles Pigott
2019-04-22 08:03:04 +01:00
committed by PeterN
parent 931d32f414
commit 9f3928658b
6 changed files with 10 additions and 18 deletions

View File

@@ -20,13 +20,13 @@
void GetShipSpriteSize(EngineID engine, uint &width, uint &height, int &xoffs, int &yoffs, EngineImageType image_type);
WaterClass GetEffectiveWaterClass(TileIndex tile);
typedef std::deque<TrackdirByte> ShipPathCache;
typedef std::deque<Trackdir> ShipPathCache;
/**
* All ships have this type.
*/
struct Ship FINAL : public SpecializedVehicle<Ship, VEH_SHIP> {
TrackBitsByte state; ///< The "track" the ship is following.
TrackBits state; ///< The "track" the ship is following.
ShipPathCache path; ///< Cached path.
DirectionByte rotation; ///< Visible direction.
int16 rotation_x_pos; ///< NOSAVE: X Position before rotation.