Commit Graph

13 Commits

Author SHA1 Message Date
darkvater c8d83ce557 (svn r960) -Fix: forgotten conversion of orders for the AI (Tron) 2004-12-05 21:30:58 +00:00
tron 7c2448ecea (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.
2004-12-05 12:43:04 +00:00
truelight b8f6d41418 (svn r942) -Merged branch/network back into the trunk 2004-12-04 17:54:56 +00:00
tron 56dd31f33b (svn r920) Replace vehicle info macros with inline functions and add asserts to check limits 2004-12-03 21:57:05 +00:00
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.
2004-11-25 10:47:30 +00:00
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)
2004-11-13 15:15:41 +00:00
darkvater aa02125158 (svn r166) -Codechange: change 74 for constant DAY_TICKS 2004-09-06 18:22:25 +00:00
truelight 6f3c862a24 (svn r147) -Fix [NewAI]: small fix for road-building when RoadQueueing is disabled 2004-09-01 17:24:50 +00:00
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)
2004-08-31 16:12:52 +00:00
truelight 309ebe5f3f (svn r111) -Fix: converted all linebreaks to UNIX-linebreak (\n) 2004-08-22 15:56:56 +00:00
truelight b783051b70 (svn r96) -Fix: [AI] An industry can have no town, which caused crashes 2004-08-20 17:04:10 +00:00
truelight b43e1e4e43 (svn r94) -Fix: AI crash bug (blathijs) 2004-08-20 16:17:13 +00:00
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)
2004-08-20 09:32:32 +00:00