summaryrefslogtreecommitdiff
path: root/src/script/api
AgeCommit message (Collapse)Author
2012-01-03(svn r23738) -Fix (r23731): forgot to sync the new window with the script APItruebrain
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
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-21(svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen ↵yexo
documentation
2011-12-21(svn r23648) -Revert (r23646): partial revert; nobody has to know about my ↵truebrain
local changes and attempts
2011-12-21(svn r23646) -Fix [FS#4901]: rescan the Game Scripts when done downloading one.truebrain
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-19(svn r23636) -Add: introduce ScriptText in parameters where it can be usedtruebrain
2011-12-19(svn r23635) -Add: introduce GSText, to allow translating GameScript text, ↵truebrain
even over network
2011-12-19(svn r23633) -Add: allow most build commands from GameScript given a ↵truebrain
CompanyMode is active in that scope
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 r23630) -Add: a Goal GUI to show your current goalstruebrain
2011-12-19(svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge ↵truebrain
(for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript
2011-12-19(svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only)truebrain
2011-12-19(svn r23627) -Add: ScriptNews::Create, to create custom news messages ↵truebrain
(GameScript only)
2011-12-19(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUItruebrain
2011-12-19(svn r23625) -Add: ScriptViewport::ScrollTo, for SinglePlayer only ↵truebrain
(GameScript only)
2011-12-19(svn r23624) -Add: ScriptVehicle/ScriptStation/ScriptSign::GetOwner, to get ↵truebrain
the owner of those objects (GameScript only)
2011-12-19(svn r23623) -Add: allow bi-directional communication with the AdminPort and ↵truebrain
GameScript
2011-12-19(svn r23622) -Add: a set of events to trigger in a GameScripttruebrain
2011-12-19(svn r23621) -Add: allow manipulation of signs via GameScriptstruebrain
2011-12-19(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate ↵truebrain
(GameScript only)
2011-12-19(svn r23619) -Add: ScriptDate::GetSystemTime, to get the seconds since 1 Jan ↵truebrain
1970 of the real system (GameScript only)
2011-12-19(svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ↵truebrain
ScriptGame::GetLandscape (GameScript only)
2011-12-19(svn r23617) -Add: ScriptTown::ExpandTown, to grow a town (GameScript only)truebrain
2011-12-19(svn r23616) -Add: ScriptGameSettings::SetValue, to set gamesettings ↵truebrain
(GameScript only)
2011-12-19(svn r23615) -Add: more API functions exposed to NoGo (part 2)truebrain
2011-12-19(svn r23614) -Add: more API functions exposed to NoGo (part 1)truebrain
2011-12-19(svn r23613) -Add: allow IsDeveloperOnly in info.nut, to indicate if you can ↵truebrain
select this GS via the GUI (optional, defaults to false)
2011-12-19(svn r23612) -Add: allow importing libraries in the same way as AI does, ↵truebrain
only with GS prefix (and in game/library)
2011-12-19(svn r23611) -Add: run the begin of the script already while generating, and ↵truebrain
don't sleep on DoCommand while doing so
2011-12-19(svn r23610) -Add: Doxygen files for NoGo API (Yexo)truebrain
2011-12-19(svn r23604) -Add: initial support for GameScriptstruebrain
2011-12-19(svn r23597) -Codechange: fix up squirrel export script a bittruebrain
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
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-15(svn r23520) -Fix-ish: wrong @param name causing missing documentationrubidium
2011-12-15(svn r23519) -Change: do not export enum values in the AI documentationrubidium
2011-12-14(svn r23516) -Fix [FS#4886]: ScriptSign::BuildSign() returned wrong result ↵frosch
if the sign name was too long.
2011-12-14(svn r23515) -Cleanup: Remove unused ScriptObject::GetNewTunnelEndtile() and ↵frosch
relatives.
2011-12-14(svn r23514) -Fix: squirrel_export.sh failed for svn working copies.frosch
2011-12-13(svn r23506) -Add: [NoAI] Support for dealing with aircraft range.michi_cc
2011-12-10(svn r23486) -Fix (r22764): 3 for the price of 1: fix up ↵truebrain
ScriptTile::GetTownAuthority() (tnx to Torrasque for reporting)
2011-12-09(svn r23461) -Fix: handle a missing airport newgrf as graceful as possible ↵yexo
by not crashing when loading such savegame or when an airport is removed
2011-12-08(svn r23453) -Add: [NoAI] AIStation.GetStationCoverageRadius(StationID)yexo
2011-12-08(svn r23452) -Codechange: document instead of writing to stderr that ↵yexo
ScriptStation::GetCoverageRadius doesn't work for STATION_AIRPORT
2011-12-06(svn r23441) -Fix [FS#4764]: some airport functions didn't take the layout ↵rubidium
into account resulting in wrong noise levels or nearests towns (patch by Zuu)