Age | Commit message (Collapse) | Author |
|
use it everywhere, so CB 36 is also used everywhere.
|
|
the term 'compatible newgrf' again some sense and to not crash because of trivial changes.
|
|
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.
|
|
Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them)
|
|
duplication.
|
|
duplication. Also stops AIs decrementing vehicle counter of first company
|
|
client so it is immediatelly clear which one you are working with.
|
|
PlayerByte value in r12143, and still isn't a PlayerByte value.
|
|
named typedefs and replace a few magic numbers.
|
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|