Age | Commit message (Collapse) | Author |
|
|
|
sprite changes.
|
|
|
|
relatives
|
|
|
|
document why they (assert(0)) have to stay for the remaining cases.
|
|
|
|
|
|
|
|
prevent unnecessary inclusion newgrf.h anyway
|
|
|
|
|
|
|
|
to not confuse it with image_index from *VehInfo.
|
|
|
|
code style.
|
|
vehicles in more places. Esp. they were only invalidated for trains.
|
|
variables.
|
|
|
|
for all vehicle types
|
|
company-based settings, so in a multiplayer game everyone can change them.
|
|
constant and unduplicate a few lines.
|
|
vehicles/stations/industries are deleted.
|
|
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
|
|
|
|
|
time, binary size and run time (with asserts disabled) should be improved
|
|
was deleted
|
|
PoolItem::IsValidID() and PoolItem::Get()
|
|
PoolItem::IsValidID(index)
|
|
|
|
CompanySettings struct
|
|
creating vehicles, instead of arbitrary sprites not related to the vehicle. (though that also applies to the question mark)
|
|
|
|
|
|
this ID' from 'some' strings and replace the string name with something more sensible.
|
|
sources too
|
|
VehiclePositionChanged and EndVehicleMove.
|
|
account of the reduced number of calls (from 6 down to 2) to the aircraft event handler, resulting in crashed aircraft taking three times longer than they should to clear. Compensate by increasing the counter by 3 on every call instead of 1.
|
|
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.
|
|
|
|
color and colour.
|
|
except where it's used for backward compatability.
|
|
|
|
|
|
|
|
road-vehicles, ships and aircraft, as well vehicle-length of road-vehicles.
|
|
duplication.
|
|
|
|
|