truebrain
afdb67a353
(svn r23354) -Codechange: move all src/ai/api/ai_*.[hc]pp files to src/script/api/script_* (Rubidium)
2011-11-29 23:07:38 +00:00
truebrain
b7a655bf4c
(svn r23209) -Codechange: track the current active script instance directly, instead of assuming the current company points you to the right one.
2011-11-13 20:43:48 +00:00
truebrain
70b6b3cc2c
(svn r23207) -Codechange: make functions private/protected/public depending on their current usage (and reorder functions a bit)
2011-11-13 20:41:17 +00:00
yexo
924a5e06b3
(svn r23201) -Doc: [NoAI] Hide all contents of AIObject from the API documentation as AIs were never able to use it anyway
2011-11-12 18:48:21 +00:00
truebrain
9528befe52
(svn r22989) -Fix: AIController uses protected members of AIObject, so make them friends (instead of doing it implicit via AIInstance). This fixes all compile errors with clang-2.9
2011-10-04 15:21:07 +00:00
rubidium
70c7ec30b1
(svn r22396) -Document: some AI doxygen stuff
2011-05-01 09:24:19 +00:00
rubidium
9e8db65223
(svn r21888) -Codechange: remove some unneeded (for the AI header) headers from some AI headers, reducing the include tree
2011-01-22 10:33:16 +00:00
rubidium
2b97f38cd1
(svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
...
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2010-01-11 18:46:09 +00:00
rubidium
f51aac3523
(svn r18777) -Codechange: remove some unused parameters from a function
2010-01-10 23:20:11 +00:00
yexo
8ef7b80719
(svn r17500) -Fix (r16502): The wrong value was restored to SetAllowDoCommand possible resulting in an AI that wasn't allowed to do any actions
2009-09-11 17:18:06 +00:00
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
caf98238e3
(svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things.
2009-06-03 18:47:08 +00:00
yexo
cabfe35e54
(svn r15558) -Cleanup: Remove some unnecessary friend declarations.
2009-02-23 19:35:19 +00:00
truebrain
a3dd7506d3
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to 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
2009-01-12 17:11:45 +00:00