summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_object.cpp
AgeCommit message (Collapse)Author
2011-11-13(svn r23209) -Codechange: track the current active script instance directly, ↵truebrain
instead of assuming the current company points you to the right one.
2011-11-13(svn r23208) -Codechange: mark function with /* static */ in the source ↵truebrain
file, which are defined static in the header file
2011-05-01(svn r22396) -Document: some AI doxygen stuffrubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-19(svn r20560) -Fix: AIs (still/again?) crashing for certain commandsrubidium
2010-03-20(svn r19494) -Codechange: Remove _error_message.alberth
2010-03-14(svn r19419) -Codechange: Use failed CommandCost object to retrieve message ↵alberth
instead of _error_message.
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2010-01-11(svn r18786) -Fix [FS#3507]: NoAI's custom implementation of DoCommandP has ↵rubidium
several flaws (not masking of bits, not resetting town authority updates on checks/estimates, ...). Let it use DoCommandPInternal, DoCommandP without showing error messages and such, instead.
2010-01-11(svn r18784) -Codechange: make NetworkSend_Command accept a company instead ↵rubidium
of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
2010-01-10(svn r18777) -Codechange: remove some unused parameters from a functionrubidium
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-11(svn r17500) -Fix (r16502): The wrong value was restored to ↵yexo
SetAllowDoCommand possible resulting in an AI that wasn't allowed to do any actions
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-19(svn r17223) -Change [NoAI] [FS#2980]: Crash an AI when it uses a DoCommand ↵yexo
/ Sleep instead of just printing an error message in the AI Debug Window
2009-06-01(svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function ↵yexo
called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall. IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
2009-04-25(svn r16151) -Codechange: move some includes around to prevent including ↵yexo
half the AI api in non-noai related code.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-14(svn r15084) -Fix [NoAI] (r15027): by removing the threads for NoAIs, it is ↵truebrain
no longer possible to use DoCommand (even indirect) in AIAbstractList::Valuator().
2009-01-12(svn r15033) -Fix (r15027): silent a warning when compiling without networktruebrain
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
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