summaryrefslogtreecommitdiff
path: root/ai_pathfinder.c
AgeCommit message (Collapse)Author
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-10(svn r1475) Fix some more signed/unsigned comparison warningstron
2005-01-09(svn r1451) Fix some of the signed/unsigned comparison warningstron
2005-01-07(svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn ↵tron
the latter into inline functions names Tile[XY]
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-12-15(svn r1117) Move map arrays and some related macros into their own files ↵tron
map.c and map.h
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
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)