Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
own function.
|
|
|
|
instead of CountBits() where possible
|
|
|
|
wrapper functions
|
|
if a header require a header make it include that header
|
|
depots didn't quite work
|
|
overtaking in a station is not allowed
|
|
tiles, just stay on it. This prevents the rare cases where a road vehicle would stop exactly on the border where it could not load
|
|
first part was accounted for, so for extremely short fronts and lots after it the spreading did not work as it should.
|
|
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.
|