summaryrefslogtreecommitdiff
path: root/src/ship_cmd.cpp
AgeCommit message (Collapse)Author
2021-05-15Change: Use gender-neutral pronounsrubidium42
2021-02-14Fix: Stopped ships shouldn't block depots (#8578)Tyler Trahan
2021-01-17Fix eeb88e8: Trains reversed while paused do not correctly update sprite ↵Matt Kimber
bounds (#8540)
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2021-01-05Codechange: create MutableSpriteCache to remove the need to cast Vehicle to ↵Matt Kimber
a mutable type in render methods
2020-03-30Fix #8020: Add missing docking tiles around industry neutral stationsSamuXarick
2020-01-06Cleanup: Remove unused parameterSamu
2019-12-21Codechange: Replace FOR_ALL_DEPOTS with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-06-30Codechange: Restrict docking points of docks.peter1138
2019-06-30Feature: Multi-tile docks and docking points.peter1138
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-04-05Cleanup 3f32711: Don't apply forbid 90 deg turn settings for ships.Samu
2019-03-31Fix #7062, Revert 7af53d7588: Don't test ship max order distance when ↵peter1138
pathfinding.
2019-03-16Remove: OPFCharles Pigott
2019-03-08Fix #7334: Ship lost after crossing bridge due to path cache not being ↵peter1138
consumed while on final bridge end.
2019-03-03Change: Don't apply forbid 90 deg turn settings to ships.Peter Nelson
2019-02-19Fix #7244, 6ca637b8c1: OPF doesn't take 90 deg turns into account.J0an Josep
2019-02-18Fix #7226: Don't call ship pathfinders if there is no available track due to ↵J0an Josep
"forbid 90 deg turns".
2019-02-04Change: Make ships stop in locks to move up/down instead of following the slope.Peter Nelson
2019-02-04Fix #7119: When rotating a ship, apply an additional offset to avoid ↵Peter Nelson
movement glitch.
2019-01-31Cleanup: [NPF] Remove unused parameter.J0an Josep
2019-01-31Cleanup: [NPF] Remove unused parameters.J0an Josep
2019-01-26Codechange: Use track functions.J0an Josep
2019-01-24Change: Make ships stop and change direction slowly instead of instantly ↵Peter Nelson
turning.
2019-01-20Change 81330b8d6e: Cached path only needs to be cleared if it was found to ↵Peter Nelson
be invalid.
2019-01-19Change: Add path cache for ships.Peter Nelson
2019-01-14Change: Obey forbid_90_deg_turns when choosing available track with no ↵Peter Nelson
destination.
2019-01-14Change: When ship is lost, pick first available track instead of a random track.Peter Nelson
2019-01-14Codechange: Replace trackbit lookup table with existing functions.Peter Nelson
2019-01-14Codechange: Use const instead of magic number for ship order distance. Allow ↵Peter Nelson
slightly further distance when following orders.
2019-01-14Change: Allow only one ship to leave depot at a time.Peter Nelson
2019-01-14Change: Don't pathfind with no destination or if destination is known to be ↵Peter Nelson
too far.
2019-01-14Change: Don't leave ship depot with no orders.Peter Nelson
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-07-19Feature: Framerate display window (#6822)Niels Martin Hansen
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.
2018-06-14Fix: Prevent ships moving into docks after finishing (un)loading. (#6791)PeterN
2018-05-22Change: Remove direction parameter from Vehicle::UpdateDeltaXY. (#6792)PeterN
The value is either unused or always the same as this->direction.
2017-04-23(svn r27858) -Change [FS#6560]: Add missing game script event for ships ↵peter1138
arriving at a station. (juanjo)
2017-03-19(svn r27807) -Codechange: Remove _ship_leave_depot_offspeter1138
There is already TileOffsByDiagDir for that. (cirdan)
2017-03-19(svn r27806) -Codechange: Remove function ShipGetNewDirectionpeter1138
ShipGetNewDirection has no side effects and its return value is ignored by its only caller, so do away with it. Also remove now unused _new_vehicle_direction_table. (cirdan)
2017-03-19(svn r27805) -Codechange: Remove function ShipGetNewDirectionFromTilespeter1138
The only user of ShipGetNewDirectionFromTiles can be better served by DiagdirBetweenTiles, so remove the former. (cirdan)
2016-10-16(svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw.frosch
2016-10-16(svn r27666) -Codechange: Pass vehicle sprites around using a struct ↵frosch
VehicleSpriteSeq.
2015-02-01(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ↵frosch
ScaleGUITrad().
2014-09-20(svn r26863) -Codechange: move a number of Vehicle* functions into the ↵rubidium
Vehicle class
2014-05-01(svn r26546) -Codechange: Make order wait_time, travel_time and max_speed ↵fonsinchen
private
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-11-26(svn r26130) -Codechange: add some guards against using invalid image indicesrubidium