Age | Commit message (Collapse) | Author |
|
|
|
found" status to a separate function
|
|
vehicle flags
|
|
|
|
debugging because some cache was invalidated but never reset
|
|
value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo)
|
|
Vehicle::ShowVisualEffect (Hirundo)
|
|
class (Hirundo)
|
|
from the visual effect code (Hirundo)
|
|
VehicleCache (Hirundo)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
breakdown handling as well (Hirundo)
|
|
|
|
for the forseeable future
|
|
|
|
loaded less than possible, unless it's a full load order. This should improve behaviour with gradual loading and cargo continuously trickling in.
|
|
|
|
192-256-magic of vehicle movement.
|
|
SpecializedVehicle in order to improve performance
|
|
during autorenew/-replace.
|
|
if a header require a header make it include that header
|
|
wait counter; sometimes they might get into eachother's way
|
|
|
|
|
|
|
|
timetable. Based on work by PhilSophus.
|
|
stations.
|
|
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
|
|
|
|
sprite changes.
|
|
|
|
|
|
|
|
whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others:
* cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder)
* cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore
* industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go
Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money.
|
|
in order to improve performance (~5% with many vehicles)
|
|
casts when converting Vehicle to specialised vehicle types. Includes safety check
|
|
constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble.
|
|
vehicles in more places. Esp. they were only invalidated for trains.
|
|
instead of constructor of each vehicle type
|
|
|
|
|
|
for all vehicle types
|
|
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|