Age | Commit message (Collapse) | Author |
|
|
|
|
|
when they should.
-Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
|
|
certain commands, that change them temporarily.
|
|
a Engine * is already present.
|
|
EngineInfo::refit_mask during initialisation.
|
|
|
|
0x36. Based on Terkhen's work.
|
|
|
|
|
|
|
|
for more consistency and distinguishability.
|
|
|
|
sprite changes.
|
|
|
|
relatives
|
|
|
|
prevent unnecessary inclusion newgrf.h anyway
|
|
|
|
|
|
|
|
to not confuse it with image_index from *VehInfo.
|
|
|
|
vehicles in more places. Esp. they were only invalidated for trains.
|
|
|
|
company-based settings, so in a multiplayer game everyone can change them.
|
|
constant and unduplicate a few lines.
|
|
vehicles/stations/industries are deleted.
|
|
|
|
|
|
was deleted
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
PoolItem::IsValidID(index)
|
|
|
|
creating vehicles, instead of arbitrary sprites not related to the vehicle. (though that also applies to the question mark)
|
|
some code.
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
sources too
|
|
|
|
VehiclePositionChanged and EndVehicleMove.
|
|
dock, that dock was seen as a buoy and thus skipped once within 3 tiles.
|
|
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.
|
|
estimate for YAPF too (NPF already does so). This makes it behave 'better' with wide stations.
|
|
|
|
color and colour.
|
|
|
|
|
|
road-vehicles, ships and aircraft, as well vehicle-length of road-vehicles.
|
|
duplication.
|
|
|