Age | Commit message (Collapse) | Author |
|
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)
|
|
|
|
duplication.
|
|
duplication. Also stops AIs decrementing vehicle counter of first company
|
|
train_acceleration_model, and change from boolean to value. Don't forget to update your settings.
|
|
|
|
|
|
depots, industries, towns and waypoints
|
|
(optional) parameter.
|
|
refitted to at least two cargo type or when it has subcargos.
NOTE: it is still possible that a vehicle is marked refittable when there is nothing to refit to, e.g. when only one subcargo is available but that cannot be determined without a vehicle chain.
|
|
|
|
client so it is immediatelly clear which one you are working with.
|
|
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
|
|
ShowQueryString()
|
|
running-cost and halfed capacity of double-headed engines.
|
|
instead of relying on consecutive string IDs.
|
|
indicating what it actually is.
|
|
constants.
|
|
build_vehicle, cheat, depot and dock guis.
The fact that it goes alphabetically is pure coincidence.
|
|
of window.
|