Age | Commit message (Collapse) | Author |
|
Draw*Engine functions
|
|
|
|
|
|
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.
|
|
be client-side only; GUI parts of save/load of custom engine names also removed as it was never implemented.
|
|
savegames. Based on SVXConverter's source code and documentation by Roman Vetter
|
|
|
|
'introduction year plus half model life', to allow engines later than 2050 to appear.
|
|
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.
|
|
(and its headers) to engine_gui.cpp
|
|
engine.cpp, make it run only 1 loop
|
|
wrapper for CBlobT
|
|
something more than whitespace as description of files that don't have a description.
|
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
|
by Alberth.
|
|
unneeded inclusions of engine.h and/or replace them with engine_type.h.
|