Age | Commit message (Collapse) | Author |
|
including of newgrf_cargo.h
|
|
|
|
when they should.
-Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
|
|
certain commands, that change them temporarily.
|
|
|
|
it static.
|
|
|
|
a Engine * is already present.
|
|
|
|
set before first callback/sprite-resolving. For RV fronts it was missing at all, causing livery selection to fail.
|
|
0x36. Based on Terkhen's work.
|
|
|
|
|
|
|
|
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
|
|
|
|
for more consistency and distinguishability.
|
|
with GetDepotIndex(tile)
|
|
prelimiary destination (for the pathfinder heuristics) is unreachable.
|
|
for the rail pathfinder
-Fix [FS#3057]: road vehicles forgetting their servicing order when the path takes them away (in bird distance) from their destination first
|
|
|
|
sprite changes.
|
|
|
|
relatives
|
|
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
|
|
DrawRoadVehImage.
|
|
functions
|
|
Is/Set/HasArticulatedPart member of RoadVehicle.
|
|
|
|
|
|
prevent unnecessary inclusion newgrf.h anyway
|
|
|
|
|
|
|
|
|
|
to not confuse it with image_index from *VehInfo.
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
|
|
code style.
|
|
vehicles in more places. Esp. they were only invalidated for trains.
|
|
|
|
for all vehicle types
|
|
company-based settings, so in a multiplayer game everyone can change them.
|
|
constant and unduplicate a few lines.
|
|
vehicles/stations/industries are deleted.
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
|
|
|
|
|