summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_tile.hpp
AgeCommit message (Collapse)Author
2010-01-29(svn r18955) -Feature: [NoAI] introduce GetBuildCost functions in several ↵yexo
classes to get easier cost estimations before you start building
2010-01-04(svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text ↵rubidium
when building a station could be incorrect (missing a cargo) -Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers. -Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
2010-01-03(svn r18696) -Fix [FS#3404]: AITile::IsCoastTile returned false for coast ↵yexo
tiles with trees on them.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-18(svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. ↵yexo
Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api. -Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-02(svn r17049) -Fix [NoAI]: documentation of AITile::LevelTiles was wrongyexo
2009-07-08(svn r16767) -Fix [NoAI] (r16524): AITile::GetCargoProduction/Acceptance ↵yexo
didn't accept a radius of 0 anymore
2009-06-06(svn r16524) -Fix [FS#2963]: missing guards in the NoAI API making it ↵rubidium
possible to hit an assert in OpenTTD.
2009-05-10(svn r16266) -Documentation: [NoAI] Add details to AITile::(Raise|Lower)Tile ↵frosch
wrt. modifiing multiple corners at once.
2009-05-10(svn r16264) -Change/Fix (r16262): [NoAI] Change SLOPE_INVALID to 0xFFFF so ↵frosch
that SLOPE_INVALID != (SLOPE_ELEVATED | SLOPE_STEEP | SLOPE_HALFTILE_MASK).
2009-04-26(svn r16172) -Fix (r16171): typo (thanks SmatZ)yexo
2009-04-26(svn r16171) -Add [NoAI]: two new error codes to AITile: ↵yexo
ERR_AREA_ALREADY_FLAT and ERR_ESCAVATION_WOULD_DAMAGE.
2009-04-26(svn r16166) -Add [NoAI]: AITile::Get(Min|Max|Corner)Heightfrosch
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-01-21(svn r15190) -Feature: Allow terraforming of the tiles at the edges of the map.Yexo
2009-01-16(svn r15109) -Add [NoAI]: add AITile::LevelTiles (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-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