summaryrefslogtreecommitdiff
path: root/src/script/api/ai
AgeCommit message (Collapse)Author
2018-11-01Add: AI/GS GetMonthlyMaintenanceCost (#6897)Samu
API addition which allows AI/GS scripts to retrieve the monthly maintenance cost of an airport type.
2018-10-31Remove: Unused string "STR_ERROR_TOO_CLOSE_TO_ANOTHER_STATION"Oskari Leppäaho
2018-04-22Feature #6459: API for querying network clients from GS (#6736)Pavel Stupnikov
2014-09-21(svn r26894) -Feature: Swap method for script listsfonsinchen
2014-09-21(svn r26893) -Feature: ScriptStationList_Cargo for sorting cargo by from and viafonsinchen
2014-09-21(svn r26892) -Feature: Script API for retrieving planned flowfonsinchen
2014-05-04(svn r26557) -Fix: clean up, test (somewhat), and complete the API for ↵fonsinchen
waiting cargo
2014-03-10(svn r26396) -Add: [script] AI/GS APIs to get cargo waiting from/via other ↵zuu
station
2014-02-06(svn r26307) -Add: [nogo] Allow GS to hide story page datezuu
2013-11-12(svn r25969) -Add: [Script] ScriptTown::GetFundBuildingsDuration.frosch
2013-11-12(svn r25968) -Add: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town ↵frosch
growth via ScriptTown::SetGrowthRate and GetGrowthRate.
2013-11-12(svn r25967) -Add: [NoGo] GSTown::TOWN_GROWTH_NORMAL to reset a town growth ↵frosch
rate set previously via GSTown::SetGrowthRate.
2013-09-19(svn r25785) -Feature: [Script] Allow AIs and GS to found towns. Allow GS to ↵zuu
rename towns
2013-07-15(svn r25614) -Fix [FS#5651]: [Script] Give a slightly less generic error ↵rubidium
when removing inexisting rail -Fix [FS#5650]: [Script] Be more specific that a non-NewGRF station can be built when asking for a NewGRF station
2013-04-30(svn r25213) -Fix [FS#5537]: clarify on which tiles IsDesertTile and ↵rubidium
IsSnowTile work, i.e. the ones without infrastructure or buildings -Feature: introduce GetTerrainType which allows one to get that information for tiles with buildings and infrastructure as well
2013-04-06(svn r25150) -Fix [FS#5514]: [Script] The was no way to differentiate ↵rubidium
between a cargo-station combination with or without rating, so introduce [AI|GS]Station::HasRating and let GetRating return -1 when there is no rating
2013-02-08(svn r24982) -Fix [FS#5465]: [Script] Crash when passing too many parametersrubidium
2012-09-21(svn r24542) -Feature: Allow AI/GS script developers to break the execution ↵zuu
of their scripts using ScriptController::Break
2012-09-08(svn r24513) -Add: [Script] ScriptIndustryType::IsProcessingIndustry.frosch
2012-05-26(svn r24291) -Add: [Script] ScriptEventRoadReconstruction.frosch
2012-05-26(svn r24290) -Add: [Script] ScriptEventExclusiveTransportRights.frosch
2012-05-26(svn r24289) -Add: [Script] Base class for script events involving a company ↵frosch
and a town.
2012-04-17(svn r24127) -Feature [FS#1497]: Allow closing airports for incoming ↵michi_cc
aircraft. (Based on patch by cirdan)
2012-03-04(svn r24006) -Fix [FS#5088]: AI used in names in API for GSOrderrubidium
2012-01-03(svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) ↵truebrain
company(ies). It can contain random text, and at most 3 buttons from a collection of 17
2011-12-21(svn r23652) -Fix: don't include/document ScriptText for AIs. It is not usabletruebrain
2011-12-21(svn r23651) -Feature: [NoGo] GSText now accepts string arguments as ↵yexo
parameters to the constructor
2011-12-19(svn r23636) -Add: introduce ScriptText in parameters where it can be usedtruebrain
2011-12-19(svn r23632) -Add: GSCompanyMode, to change company in GameScriptstruebrain
2011-12-19(svn r23631) -Add: ScriptWindow, to manipulate windows on the client ↵truebrain
(GameScript only)
2011-12-19(svn r23623) -Add: allow bi-directional communication with the AdminPort and ↵truebrain
GameScript
2011-12-15(svn r23521) -Codechange: use the actual enum values from the 'core' in the ↵rubidium
API when they refer to the in-game values in the cases where that is possible and sensible
2011-12-13(svn r23506) -Add: [NoAI] Support for dealing with aircraft range.michi_cc
2011-12-08(svn r23453) -Add: [NoAI] AIStation.GetStationCoverageRadius(StationID)yexo
2011-12-03(svn r23416) -Add: [NoAI] API for querying infrastructure costs.michi_cc
2011-12-02(svn r23397) -Change: remove the AI_ prefix from all AIEvent enumstruebrain
2011-11-29(svn r23373) -Add: move the AI API to script/api/ai, and move the Squirrel ↵truebrain
C++ glue templates to script/api/template