Age | Commit message (Collapse) | Author |
|
a Engine * is already present.
|
|
|
|
which were sometimes missing and sometimes just typos
|
|
|
|
building (in the future buying) vehicles.
|
|
GUIs use the scrollbar wrappers
|
|
|
|
numbers to percents
|
|
|
|
|
|
relatives
|
|
|
|
setting of the error message to a single place
|
|
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
|
|
vehicle type specific strings for a specific message
|
|
|
|
valid CargoSpecs
|
|
|
|
in a WWT_MATRIX data field.
|
|
CargoArray instead of a pointer to a static array.
|
|
|
|
prevent unnecessary inclusion newgrf.h anyway
|
|
|
|
|
|
make it static.
|
|
|
|
DrawString.
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
always something duplicated :p)
|
|
|
|
by cargo. Based on patch by sbr.
|
|
favor of the GUIList flag.
|
|
callback
|
|
line height constant
|
|
|
|
|
|
around left and right instead of only left and assuming infinite width.
|
|
API.
|
|
running cost (sbr)
|
|
use it everywhere, so CB 36 is also used everywhere.
|
|
expanding them much easier (Alberth)
|
|
|
|
carries only cargo.
|
|
use the same numbers as the GUI showed, e.g. articulated parts weren't taken into accound when ordering by capacity.
|
|
articulated part.
|
|
which cannot accept CT_INVALID.
-Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them.
-Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection.
-Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'.
Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects.
Note: It is intentional that you cannot control refittability by CB 36.
|
|
effort of a vehicle.
|
|
holds the owner of whatever is shown in the window
|
|
changing company.
|
|
Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them)
|