Change: Make ships stop and change direction slowly instead of instantly turning.
This commit is contained in:
committed by
Charles Pigott
parent
479f13fc41
commit
225790892d
@@ -26,8 +26,9 @@ typedef std::deque<TrackdirByte> ShipPathCache;
|
||||
* All ships have this type.
|
||||
*/
|
||||
struct Ship FINAL : public SpecializedVehicle<Ship, VEH_SHIP> {
|
||||
TrackBitsByte state; ///< The "track" the ship is following.
|
||||
ShipPathCache path; ///< Cached path.
|
||||
TrackBitsByte state; ///< The "track" the ship is following.
|
||||
ShipPathCache path; ///< Cached path.
|
||||
DirectionByte rotation; ///< Visible direction.
|
||||
|
||||
/** We don't want GCC to zero our struct! It already is zeroed and has an index! */
|
||||
Ship() : SpecializedVehicleBase() {}
|
||||
|
||||
Reference in New Issue
Block a user