summaryrefslogtreecommitdiff
path: root/ai.h
AgeCommit message (Collapse)Author
2005-06-25(svn r2487) Replace TILE_XY by TileXY/TileDiffXYtron
2005-06-24(svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile"tron
2005-03-12(svn r1998) Give penalty 100 to the AI for using foundations ↵pasky
(buildonslopes). This prevents it from building long road lines on foundations unless really necessary.
2005-01-17(svn r1548) Move AI_PATHFINDER_IS_ROAD from ai.h to ai_pathfinder.c to avoid ↵tron
global namespace pollution, turn it into a function called IsRoad and improve the commments a bit
2005-01-16(svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn ↵tron
them into inline functions and add some asserts
2005-01-05(svn r1392) Use TileOffsByDir() instead of home brewed tabletron
2005-01-03(svn r1337) Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of ↵tron
TILE_MAX_[XY] While here replace one erroneous TILE_MAX_X with MapMaxY()
2004-12-29(svn r1297) Language fixes in the source.. (ln-)miham
2004-09-06(svn r166) -Codechange: change 74 for constant DAY_TICKSdarkvater
2004-08-31(svn r146) -Fix [AI]: Tunnel/bridge bugtruelight
-Fix [AI]: Minor problems -Add [AI]: Profit check (if not making enough money, vehicles are sold)
2004-08-22(svn r111) -Fix: converted all linebreaks to UNIX-linebreak (\n)truelight
2004-08-20(svn r85) -Add: initial commit of new AI (enable in Patch menu)truelight
-Add: generalised A* Algorithm -Add: generalised queues (Fifo, Stack, InsSort, BinaryHeap)