Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
from VehicleRail to Train
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
variable instead of var->index
|
|
was deleted
|
|
|
|
PoolItem::IsValidID(index)
|
|
PoolItem::GetPoolSize()
|
|
|
|
|
|
(thanks smatz)
|
|
some code.
|
|
coord.(left,right,top,bottom), i.e. use Rect.
|
|
(though spec stated they are). Caching these variables can yield a 10+% speed increase when those vehicle variables are queried often.
|
|
|
|
color and colour.
|
|
it impossible to (share-)clone the vehicle.
|
|
|