summaryrefslogtreecommitdiff
path: root/src/ai/ai_instance.cpp
AgeCommit message (Collapse)Author
2011-11-29(svn r23361) -Codechange: move multiplayer DoCommand callback code so other ↵truebrain
script users can call their own
2011-11-29(svn r23360) -Codechange: move AIInstance to ScriptInstance, making it ↵truebrain
reusable by other script API instances
2011-11-29(svn r23359) -Codechange: move AI_VMSuspend to Script_Suspend (and to its ↵truebrain
own file)
2011-11-29(svn r23358) -Codechange: move AI_FatalError to Script_FatalError (and to ↵truebrain
its own file)
2011-11-29(svn r23357) -Codechange: move AIStorage to ScriptStoragetruebrain
2011-11-29(svn r23355) -Codechange: rename all AI* to Script* (Rubidium)truebrain
2011-11-29(svn r23352) -Add: support dynamically adding an API prefix when returning a ↵truebrain
C++ class to Squirrel
2011-11-23(svn r23302) -Add: [NoAI] AITown::GetCargoGoal and AITown::GetGrowthRate to ↵truebrain
query statistics about a town regarding its growing
2011-11-23(svn r23295) -Codechange: put ImportLibrary in AIController (and document ↵truebrain
the parameters for NoAI docs)
2011-11-19(svn r23262) -Fix: one annoying typo in a squirrel_export marker linetruebrain
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 r23195) -Codechange: if we really need to cast away constness, use ↵rubidium
const_cast
2011-11-08(svn r23134) -Add [FS#3799]: [NoAI] AICargoList_StationAcceptingyexo
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
2010-12-29(svn r21664) -Add: [NoAI] AIEventTownFoundedyexo
2010-11-24(svn r21311) -Fix [FS#4260]: AIs in an infinite loop in e.g. autosave, but ↵rubidium
also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-19(svn r20563) -Change: [NoAI] rename AIAbstractList to AIListyexo
2010-08-19(svn r20562) -Change: [NoAI] Move all functions from AIList to AIAbstractListyexo
2010-08-01(svn r20285) -Codechange: use ///< for single-line doxygen comments in the ↵yexo
AI code
2010-07-31(svn r20271) -Doc: add doxygen comments to several items under src/ai/yexo
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-05-09(svn r19775) -Fix: improper use of 'then' in few comments (ln)smatz
2010-04-02(svn r19544) -Feature [FS#3496]: add an input box to the AI Debug window ↵yexo
where you can input a break string (patch by Zuu)
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-01-18(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconvrubidium
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-07(svn r18747) -Codechange: add some constness to the AI coderubidium
2010-01-04(svn r18725) -Add: [NoAI] AIWaypoint::WaypointType and ↵frosch
AIWaypoint::HasWaypointType(). -Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys. -Remove: [NoAI] AIBuoyList.
2009-12-19(svn r18557) -Fix: (most of) gcc errors when using lto caused by some ↵smatz
structs having different definition in different object files
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-15(svn r17545) -Fix [FS#3202]: [NoAI] AIs had 'infinite' time when running ↵rubidium
code from the global scope
2009-09-15(svn r17544) -Fix [FS#3202]: [NoAI] Crash when doing commands in the ↵rubidium
'global' scope
2009-09-09(svn r17486) -Add [NoAI]: a vehicle list for all vehicle that are ordered to ↵rubidium
a specific depot
2009-09-01(svn r17345) -Fix [FS#2769]: one wasn't offered to take over bankrupt ↵rubidium
companies anymore; caused by the introduction NoAI, although NewAI had the same problem too.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-20(svn r17233) -Fix (r17232): typoyexo
2009-08-20(svn r17232) -Fix (r17223): Kill an AI when it tries to Sleep / execute a ↵yexo
DoCommand during Save() instead of failing to save
2009-08-20(svn r17231) -Fix [FS#3134]: AIs that crashed during Save() weren't killed ↵yexo
as they should
2009-08-20(svn r17230) -Fix (r15027): don't assert when an AI uses AI*Mode objects ↵yexo
incorrectly but crash the AI instead
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-08-18(svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. ↵yexo
Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api. -Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
2009-08-08(svn r17125) -Cleanup: remove an unused variableyexo
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-02(svn r17043) -Change [NoAI]: Load the API before compiling an AI script so ↵yexo
AIs can subclass API classes and use API constants as part of their own constants
2009-07-31(svn r17011) -Change [NoAI]: Add AIBaseStation as a parentclass for ↵yexo
AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation Remove (nearly) all references to WaypointID and replace them with StationID
2009-07-15(svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs ↵yexo
can't crash OpenTTD
2009-06-17(svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoysyexo