summaryrefslogtreecommitdiff
path: root/src/ai/api
AgeCommit message (Collapse)Author
2009-01-24(svn r15252) -Fix (r15027): AIMarine::AreWaterTilesConnected() reported ↵frosch
aqueducts being connected with all surrounding tiles. Also add some type safety.
2009-01-23(svn r15244) -Fix (r15027): The station tile of an oilrig-like industry is ↵frosch
not neccessarily the first industry tile.
2009-01-23(svn r15241) -Fix (r15027): NoAI API was not aware of certain newindustries ↵frosch
'features'.
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
2009-01-21(svn r15187) -Fix: assert when an AI called AIRoad::GetNeighbourRoadCount on ↵Yexo
a tile at the north edge (bug found by SmatZ).
2009-01-19(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, ↵peter1138
therefore it does not belong in _gui.
2009-01-18(svn r15139) -Fix [NoAI]: a wrong tile got returned for hangar tiles when ↵rubidium
the station sign isn't over st->airport_tile.
2009-01-17(svn r15123) -Fix [NoAI]: 'const char *' implies that the return value ↵truebrain
should not be free'd, which is should .. so make them 'char *'
2009-01-16(svn r15109) -Add [NoAI]: add AITile::LevelTiles (Yexo)truebrain
2009-01-16(svn r15102) -Fix (r15101): somehow makedepend fucked up (patch by Yexo)truebrain
2009-01-16(svn r15101) -Change [API CHANGE]: more consistant naming for consts:truebrain
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
2009-01-15(svn r15100) -Add [NoAI]: introduce TILE_INVALID as consttruebrain
2009-01-15(svn r15099) -Fix (r15078): GetTileIndex(0, -1) is perfectly finetruebrain
2009-01-15(svn r15093) -Fix [NoAI]: check if a tile is valid before using IsTileType ↵truebrain
(bug found by Zuu, patch by Yexo)
2009-01-14(svn r15084) -Fix [NoAI] (r15027): by removing the threads for NoAIs, it is ↵truebrain
no longer possible to use DoCommand (even indirect) in AIAbstractList::Valuator().
2009-01-13(svn r15078) -Fix [NoAI]: AIMap didn't filter its input (Yexo)truebrain
2009-01-13(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEARsmatz
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
2009-01-13(svn r15073) -Fix (r15067) [FS#2532]: Default copy constructors don't ↵peter1138
necessarily do what you want. Instead of creating one, we now pass a pointer around as that avoids additional allocations.
2009-01-13(svn r15067) -Fix [FS#2531]: Possible compiler bug, alleviated by using ↵peter1138
SmallVector instead of using std::set. SmallVector does everything needed anyway.
2009-01-13(svn r15062) -Fix: further forgotten svn properties and headerssmatz
2009-01-13(svn r15061) -Fix (r15027): three files were missing the Id headersmatz
2009-01-12(svn r15036) -Fix: use the same value for 'random' through-out the code for ↵truebrain
PlantTree
2009-01-12(svn r15033) -Fix (r15027): silent a warning when compiling without networktruebrain
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
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