summaryrefslogtreecommitdiff
path: root/src/ship.h
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-04-22 08:03:04 +0100
committerPeterN <peter@fuzzle.org>2019-04-29 17:40:22 +0100
commit9f3928658bb3f8aaf21b17e0144cb09722474fff (patch)
tree4bb17710202180968891733fd0a50c5d71f60974 /src/ship.h
parent931d32f4145e36ef08b432314353ff9f058f6a08 (diff)
downloadopenttd-9f3928658bb3f8aaf21b17e0144cb09722474fff.tar.xz
Codechange: Remove Track{dir,}{Bits,}Byte types
Diffstat (limited to 'src/ship.h')
-rw-r--r--src/ship.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ship.h b/src/ship.h
index 6f818efb2..807e69c5e 100644
--- a/src/ship.h
+++ b/src/ship.h
@@ -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.