Age | Commit message (Collapse) | Author |
|
|
|
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
|
|
WindowClass lookup
|
|
using correct types and less duplication.
|
|
saving 20 bytes with a 32 bit compiler and 32 bytes on 64 bit compiler per vehicle.
|
|
|
|
uniform naming of the thing instead of using both names for the same thing.
|
|
|
|
CmdSend<VehicleType>ToDepot commands.
|
|
|
|
Vehicle::NeedsServicing() and Vehicle::NeedsAutomaticServicing().
-Fix (r11052): Disable servicing by service-interval if a vehicle has depot orders.
|
|
road vehicles.
|
|
|
|
|
|
openttd.h) to engine_type.h.
|
|
openttd.h) to group_type.h.
|
|
|
|
vehicle needs autorenewing
This will remove duplicated code and ensure that the check is consistent
|
|
train had negative income
-Codechange: use GetDisplayProfitThisYear() to convert vehicle profit to readable form
|
|
day to calculate running cost
-Fix [FS#1739]: vehicle profit is now counted with 8bit fract, so it is now shown properly in the vehicle details window
|
|
a class member(MagicBuzz).
|
|
with an OnNewDay method in the Vehicle class
|
|
now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
|
|
|
some type safety.
|
|
with tilt capability (specific details are per NewGRF set) will be given a 20% speed limit bonus on curves.
|
|
reloading NewGRFs.
|
|
useless includes.
|