Age | Commit message (Collapse) | Author |
|
|
|
conversions were missed
|
|
|
|
|
|
isn't resizable
|
|
same twice.
|
|
custom drawing/handling input
|
|
and sticky boxes and for window captions
|
|
|
|
Window::UpdateWidgetSize().
|
|
|
|
WindowDesc; it's determined from the (nested) widgets
|
|
Draw*Engine functions
|
|
|
|
|
|
consistent. Now always the cargo class decides.
|
|
'exclusive test'/'early offer'/'engine preview' window
|
|
|
|
a Engine * is already present.
|
|
|
|
which were sometimes missing and sometimes just typos
|
|
|
|
|
|
than having it printed.
|
|
|
|
|
|
|
|
relatives
|
|
|
|
CargoArray instead of a pointer to a static array.
|
|
preview/news
|
|
vehicles/stations/industries are deleted.
|
|
|
|
same as for DrawString (except the addition of the bottom parameter)
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
|
|
of duplicate strings and unifies the GUIs quite a bit
|
|
|
|
-Fix (r15800): off-by-one w.r.t. offsets
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
color and colour.
|
|
changing company.
|
|
Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them)
|