Age | Commit message (Collapse) | Author |
|
AIIndustry::GetMaxIndustryID().
|
|
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.
|
|
AIEngine::GetMaxTractiveEffort.
|
|
BuildRoadStation and BuildDriveThroughRoadStation.
|
|
|
|
and MoveWagonChain (frosch).
|
|
front tile instead of a bool is_vertical (frosch).
|
|
AIBridge::IsValidBridge now only returns true for available bridges.
|
|
AIAirport::IsValidAirportType now only returns true for available AirportTypes.
|
|
|
|
AIIndustry::GetLastMonthProduction instead.
|
|
restore it.
|
|
|
|
duplication.
|
|
|
|
(different format for NULL pointers)
|
|
|
|
now available via the content service
|
|
INVALID_TOWN_RATING -> TOWN_RATING_INVALID
INVALID_TRANSPORT -> TRANSPORT_INVALID
INVALID_ORDER -> ORDER_INVALID
INVALID_GROUP -> GROUP_INVALID
GROUP_ALL/DEFAULT -> ALL/DEFAULT_GROUP
VEHICLE_RAIL/ROAD/.. -> VT_RAIL/ROAD/..
MY_COMPANY -> COMPANY_SELF
FIRST/LAST/INVALID_COMPANY -> COMPANY_FIRST/LAST/INVALID
|
|
with their directory name
|
|
requirement for every library.nut, to indicate in which category it belongs. Currently the directory indicates the category, but this doesn't allow planned future additions
|
|
function GetShortName(), which should return a 4 (four) character string, unique throughout the world. This id is simular to a GRFid.
|
|
|
|
|
|
|
|
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
|