Commit Graph

13 Commits (948b3747f693f4fb9fe619b8b69ec11e68c5c213)

Author SHA1 Message Date
darkvater 99e99ad60c (svn r960) -Fix: forgotten conversion of orders for the AI (Tron) 20 years ago
tron b8e83ca03f (svn r955) Replace uint16 for orders with struct Order
This adds no functionality, but is a stepping stone for future improvement (like 16bit order indices) and is easier to read.
This changes preserves binary compatibility wrt savegames.
20 years ago
truelight d6a1f3e412 (svn r942) -Merged branch/network back into the trunk 20 years ago
tron 5fc510bbfc (svn r920) Replace vehicle info macros with inline functions and add asserts to check limits 20 years ago
tron acbd1801c7 (svn r815) Include strings.h only in the files which need it.
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
20 years ago
celestar b8327e0457 (svn r562) newgrf: Merge most of the road vehicle info to a single
road_vehicle_info table, like it already is for trains and ships. Needed
for GRF custom override support. (pasky)
20 years ago
darkvater aa02125158 (svn r166) -Codechange: change 74 for constant DAY_TICKS 20 years ago
truelight 6f3c862a24 (svn r147) -Fix [NewAI]: small fix for road-building when RoadQueueing is disabled 20 years ago
truelight 5eba928cb8 (svn r146) -Fix [AI]: Tunnel/bridge bug
-Fix [AI]: Minor problems
-Add [AI]: Profit check (if not making enough money, vehicles are sold)
20 years ago
truelight 309ebe5f3f (svn r111) -Fix: converted all linebreaks to UNIX-linebreak (\n) 20 years ago
truelight b783051b70 (svn r96) -Fix: [AI] An industry can have no town, which caused crashes 20 years ago
truelight b43e1e4e43 (svn r94) -Fix: AI crash bug (blathijs) 20 years ago
truelight 788ace088d (svn r85) -Add: initial commit of new AI (enable in Patch menu)
-Add: generalised A* Algorithm
-Add: generalised queues (Fifo, Stack, InsSort, BinaryHeap)
20 years ago