summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_controller.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-12(svn r23198) -Codechange: introduce a free that takes const pointers so we ↵rubidium
don't need to cast to void/non-const before being able to free
2011-11-04(svn r23118) -Feature: [NoAI] Allow AIs to query the amount of remaining ↵rubidium
operations for the current tick
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-22(svn r21888) -Codechange: remove some unneeded (for the AI header) headers ↵rubidium
from some AI headers, reducing the include tree
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
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-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-07(svn r16253) -Add [NoAI]: AIController::GetVersion, this returns the ↵yexo
newgrf-version of OpenTTD
2009-02-13(svn r15462) -Change [NoAI]: Make AIController::GetTick() and ↵yexo
AIController::GetSetting() static functions. -Fix (r15460): ai_controller.hpp.sq was forgotten.
2009-02-08(svn r15408) -Fix (r15027): AIs could call AIController::Sleep() at times ↵Yexo
they're not allowed to sleep.
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
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