Age | Commit message (Collapse) | Author |
|
|
|
|
|
a separate directory
|
|
and simplify some things for the future
|
|
into a seperate function
|
|
vehicles only apply to the GRF locally, if it defines engines of that type itself.
|
|
and cost factor and use it consistently for vehicle purchase, running cost, and refit cost.
|
|
vehicle list/autoreplace lists instead of overflowing.
|
|
Draw*Engine functions
|
|
'running cost factor'.
|
|
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.
|