Age | Commit message (Collapse) | Author |
|
tile won't make a dent, 3 tiles might be a bit too much
-Feature-ish: make maximum pathfinder penalties for finding depots customisable, also increase it slightly to 20 tiles worth of penalties.
|
|
first in the hash linked list is basically the last of the vehicles to leave the depot then due to the 'jam prevention' code all vehicles would fairly quickly increase the blocked counter and drive off all simultaniously
|
|
through station tile didn't have a compatible road type
|
|
-Feature: make penalty for road stop occupancy user configurable
-Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty
-Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it
-Change: improve the throughput of the drive through road stops by letting them stop closer together
|
|
|
|
of RoadStop
|
|
|
|
|
|
|
|
|
|
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
|
|
|