summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
2019-12-21Codechange: Replace vehicle related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_ENGINES with range-based for loopsglx
2019-12-21Codechange: Replace station related FOR_ALL with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Codechange: Remove Company/OwnerByte typesCharles Pigott
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-26Cleanup: Remove unused size template parameters from SmallMap and ↵Henry Wilson
Auto[Free|Delete]SmallVector
2019-03-26Codechange: Replaced SmallVector::[Begin|End]() with std alternativesHenry Wilson
2019-03-26Codechange: Replaced SmallVector::Include() with include()Henry Wilson
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-26Codechange: Replaced SmallVector::Reset() with std::vector::clear() + ↵Henry Wilson
shrink_to_fit()
2019-03-26Codechange: Replace SmallVector::Clear() with std::vector::clear()Henry Wilson
2019-03-25Change: Do not display a newspaper about old vehicles for which replacement ↵stormcone
is activated.
2019-02-10Fix 148e5b41d6: Uninitialized variable usage. (#7216)PeterN
2019-02-10Change: Skip reliability decay if servicing is disabledEddi-z
2019-02-10Fix #7197: Invalidate depot buttons when necessary. (#7212)PeterN
2019-02-08Fix: trains cancelling their pending reversal when ordered to go to a depot ↵Henry Wilson
behind them Previously, if a train had been ordered to reverse, and while it was slowing down, was ordered to travel to a depot that is behind it, the train would continue forwards. Also when a train had been ordered to reverse, and while it was slowing down, was ordered to travel to a depot that is in front of it, the train would not cancel the reversal. In both cases the train would travel away from the target depot. Trains in this situation now behave correctly and will travel towards the depot.
2019-02-06Add #5006: Flag to hide rail type from construction.Peter Nelson
2019-02-02Fix: DMU/EMU livery should apply to passenger carriages with DMU/EMU engines.Peter Nelson
2019-01-31Feature: Group liveries, and livery window usability enhancements. (#7108)PeterN
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries.
2019-01-19Change: Add path cache for ships.Peter Nelson
2019-01-17Fix: Some code and comment typosnikolas
Found with codespell
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-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2018-03-11(svn r27986) -Codechange: Name magic constants in the vehicle position hash ↵frosch
functions.
2017-08-31(svn r27904) -Fix [FS#6593]: When last vehicle is removed from shared orders ↵adf88
group, hide the "Stop sharing" button in vehile orders window
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2017-03-24(svn r27822) -Feature: Vehicle Group Info: Add profits and occupancy display ↵peter1138
to group vehicle list (mtm, JGR)
2016-10-16(svn r27668) -Feature: [NewGRF] Allow composing vehicles from multiple sprites.frosch
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.
2016-05-29(svn r27584) -Codechange: Add some assertions about Vehicle::cargo_payment.frosch
2015-10-30(svn r27426) -Change: Round loading percentage in loading indicators and ↵frosch
conditional orders towards 50%, so that 0% and 100% mean completely empty or full.
2015-04-09(svn r27222) -Fix [FS#6278]: Use the current maximum speed as limited by ↵planetmaker
bridges, orders etc. for all vehicle types alike when considering increased smoke emissions of vehicles.
2015-02-14(svn r27148) -Fix: Rounding and unit-conversion inconsistencies in calls to ↵frosch
MarkAllViewportsDirty.
2014-09-21(svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the ↵rubidium
data is now always accessible
2014-09-20(svn r26863) -Codechange: move a number of Vehicle* functions into the ↵rubidium
Vehicle class
2014-08-23(svn r26756) -Fix (r26747): Ground vehicle breakdown smoke was not supposed ↵frosch
to be available yet, since it is a looping animation.
2014-08-23(svn r26755) -Fix (r26747) [FS#6093]: Silence MSVC warning.frosch
2014-08-17(svn r26747) -Feature: [NewGRF] Advanced visual effects with multiple effect ↵frosch
sprites independent of spawning model.
2014-08-17(svn r26746) -Codechange: Separate enums for visual effect type and spawning ↵frosch
model.
2014-08-17(svn r26745) -Codechange: Deduplicate calls to CreateEffectVehicleRel for ↵frosch
vehicle visual effects.
2014-07-27(svn r26706) -Fix [FS#6015] (r20644): wrong breakdown sound was played for shipsrubidium
2014-07-21(svn r26699) -Fix-ish: do not crash when trying to show an error about ↵rubidium
vehicle in a NewGRF and the NewGRF was not loaded at all
2014-05-17(svn r26594) -Fix [FS#6006]: Don't call UpdateVehicleTimetable with dummy ordersfonsinchen
2014-05-01(svn r26547) -Codechange: Collect order travel and wait times independent of ↵fonsinchen
timetables
2014-05-01(svn r26546) -Codechange: Make order wait_time, travel_time and max_speed ↵fonsinchen
private