Age | Commit message (Collapse) | Author |
|
value so AIs can't work around it.
|
|
as a return parameter of GetCustomStationSpecByGrf(), as the index is already known. Saves on an extra loop and an extern...
|
|
except where it's used for backward compatability.
|
|
they're not allowed to sleep.
|
|
single opcode method of doing lots of the same thing. This should resolve most of the hiccups caused by AIs.
|
|
|
|
|
|
AIEventDisasterZeppelinerCrashed and AIEventDisasterZeppelinerCleared as aliens accepted NoAIs as competing life-form.
|
|
|
|
non-NULL again.
|
|
in which town the noise level will increase.
|
|
AIVehicleList_SharedOrders.
|
|
layout per town.
|
|
std::map
|
|
|
|
instead of mph. (Documentation by Rubidium)
|
|
Engine::GetDisplayMaxSpeed(), GetPower() and GetDisplayWeight(). (and using them)
|
|
|
|
st->town
|
|
false.
|
|
|
|
duplication.
|
|
duplication. Also stops AIs decrementing vehicle counter of first company
|
|
of the first part of articulated road vehicles.
|
|
aqueducts being connected with all surrounding tiles. Also add some type safety.
|
|
not neccessarily the first industry tile.
|
|
'features'.
|
|
|
|
a tile at the north edge (bug found by SmatZ).
|
|
therefore it does not belong in _gui.
|
|
the station sign isn't over st->airport_tile.
|
|
should not be free'd, which is should .. so make them 'char *'
|
|
|
|
|
|
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
|
|
|
|
|
|
(bug found by Zuu, patch by Yexo)
|
|
no longer possible to use DoCommand (even indirect) in AIAbstractList::Valuator().
|
|
|
|
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
|
|
necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
|
|
SmallVector instead of using std::set. SmallVector does everything needed anyway.
|
|
|
|
|
|
PlantTree
|
|
|
|
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
|