Age | Commit message (Collapse) | Author |
|
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)
|
|
|
|
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()
|