diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2019-04-22 08:11:28 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-04-29 17:40:22 +0100 |
commit | 96097b34a57feb7547c789b352e9b650fb2a9fea (patch) | |
tree | ba2a5b1917994b3956dfd626874fb6f61c5bceb0 /src/ship.h | |
parent | 9f3928658bb3f8aaf21b17e0144cb09722474fff (diff) | |
download | openttd-96097b34a57feb7547c789b352e9b650fb2a9fea.tar.xz |
Codechange: Remove Direction*Byte types
Diffstat (limited to 'src/ship.h')
-rw-r--r-- | src/ship.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ship.h b/src/ship.h index 807e69c5e..fff0aee5c 100644 --- a/src/ship.h +++ b/src/ship.h @@ -26,11 +26,11 @@ typedef std::deque<Trackdir> ShipPathCache; * All ships have this type. */ struct Ship FINAL : public SpecializedVehicle<Ship, VEH_SHIP> { - 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. - int16 rotation_y_pos; ///< NOSAVE: Y Position before rotation. + TrackBits state; ///< The "track" the ship is following. + ShipPathCache path; ///< Cached path. + Direction rotation; ///< Visible direction. + int16 rotation_x_pos; ///< NOSAVE: X Position before rotation. + int16 rotation_y_pos; ///< NOSAVE: Y Position before rotation. /** We don't want GCC to zero our struct! It already is zeroed and has an index! */ Ship() : SpecializedVehicleBase() {} |