Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
savegames. Based on SVXConverter's source code and documentation by Roman Vetter
|
|
|
|
|
|
remove the order count from the savegame as we can easily count that (PhilSophus)
|
|
through a method GetNumOrders() (PhilSophus)
|
|
with the same UnitID
|
|
out of the vehicle struct (saving up to 16 bytes per vehicle) as it is only used to tell a calling function entered a depot (for autoreplace).
|
|
Vehicle::dest_tile.
|
|
keep waiting times (PhilSophus)
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
|
|
deleted/modified while the timetable window is open
-Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
|
|
to a single location.
|
|
|
|
autoreplace kernel.
|
|
waiting on a path reservation. (michi_cc)
|