Age | Commit message (Collapse) | Author |
|
build menu
|
|
not set, use a default value of 4C.
|
|
for road vehicles.
|
|
and 11. (Eddi)
|
|
if a header require a header make it include that header
|
|
|
|
vehicles only apply to the GRF locally, if it defines engines of that type itself.
|
|
and cost factor and use it consistently for vehicle purchase, running cost, and refit cost.
|
|
remove some unused variables
|
|
'running cost factor'.
|
|
|
|
consistent. Now always the cargo class decides.
|
|
when they should.
-Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
|
|
-Fix (r7326): Powernaut Helicopter got wrong 'load amount'.
-Fix (r2639): Call the Evil by its name.
|
|
a Engine * is already present.
|
|
EngineInfo::refit_mask during initialisation.
|
|
|
|
0x36. Based on Terkhen's work.
|
|
|
|
|
|
for more consistency and distinguishability.
|
|
|
|
el rail engines are available
|
|
|
|
to EngineInfo.
|
|
relatives
|
|
|
|
introduction-date before 1922. Instead disable the randomisation for the first two years after game-start, so you do not have to wait for the first engine.
|
|
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
|
|
|
|
|
|
prevent unnecessary inclusion newgrf.h anyway
|
|
easily be calculated, it isn't used often and now changing extend_vehicle_life in game has some effect.
|
|
|
|
to not confuse it with image_index from *VehInfo.
|
|
code style.
|
|
vehicles/stations/industries are deleted.
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
|
|
PoolItem::GetPoolSize()
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
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.
|
|
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.
|
|
|
|
be client-side only; GUI parts of save/load of custom engine names also removed as it was never implemented.
|