Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
|
|
see.
NoAI is an API (a framework) to build your own AIs in. See:
http://wiki.openttd.org/wiki/index.php/AI:Main_Page
With many thanks to:
- glx and Rubidium for their syncing, feedback and hard work
- Yexo for his feedback, patches, and AIs which tested the system very deep
- Morloth for his feedback and patches
- TJIP for hosting a challenge which kept NoAI on track
- All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
|
|
|
|
instead of trying to make it and check for NULL.
|