Age | Commit message (Collapse) | Author |
|
|
|
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)
|
|
(assertions on savegame loads).
-Fix [FS#2102]: but now in a hopefully beter way.
|
|
get stopped on load.
|
|
|
|
from openttd.h to their own headers.
|
|
include the cargo packets in the vehicle as well
|
|
and data for a vehicle (or chain of vehicles)
Autoreplace uses this with the following benefits:
-Mass autoreplace (the button in the depot window) will now estimate costs correctly
-Autoreplace now either replaces correctly or manages to keep the original vehicle (no more broken trains)
Thanks to Ammler for testing this
|