summaryrefslogtreecommitdiff
path: root/src/script/api/template
AgeCommit message (Collapse)Author
2020-07-16Change: rewrote squirrel_export in CMakeglx
2020-06-01Add: [Script] Native priority queue; useful e.g. for pathfinders.Michael Lutz
2020-05-22Feature: Push-buttons on storybook pages (#7896)Niels Martin Hansen
Allow more direct player-initiated interaction for Game Scripts, by letting the GS put push-buttons on storybook pages. These buttons can either trigger an immediate event, or require the player to first select a tile on the map, or a vehicle. Additionally this reworks how the storybook pages are layouted and rendered, to allow for slightly more complex layouts, and maybe speeding drawing up a bit.
2020-01-01Feature: Screenshot windowpnda
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-22Add: [Script] ScriptEventVehicleAutoReplaced.glx
2019-05-01Add: New RoadType API functions.peter1138
2019-04-11Codechange: Replace NULL with nullptr in squirrel interface.peter1138
2019-03-03Add: AI functions to get/set company colours.Peter Nelson
2018-07-23Fix 2a868b9f3b8e3b5f8b9e5f728f628ec88fd5e3ad: Expose widgets and windows to ↵J0an Josep
scripts and fix documentation.
2018-04-22Feature #6459: API for querying network clients from GS (#6736)Pavel Stupnikov
2015-02-22(svn r27164) -Add: [NoGo] Game scripts can point to a location, station, ↵alberth
industry, or town when publishing news.
2014-09-21(svn r26893) -Feature: ScriptStationList_Cargo for sorting cargo by from and viafonsinchen
2014-05-24(svn r26610) -Feature: Select an editable preset name for saving.alberth
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
2014-02-06(svn r26305) -Add: [nogo] ScriptStoryPageElementList() - a list of all story ↵zuu
page elements for a given page
2014-02-06(svn r26304) -Fix (26303): Forgot to add new fileszuu
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-21(svn r25788) -Feature: [Script] Game Scripts can now charge fees and give ↵zuu
money to companies
2013-09-19(svn r25785) -Feature: [Script] Allow AIs and GS to found towns. Allow GS to ↵zuu
rename towns
2013-06-09(svn r25344) -Feature: GUI for viewing story pageszuu
2013-06-09(svn r25342) -Add: StoryPage data structures and GS APIzuu
2013-06-08(svn r25331) -Fix (r25263): Update ScriptWindow with link graph widgetszuu
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
2012-12-23(svn r24842) -Remove: News settings window.frosch
2012-12-05(svn r24791) -Remove: Difficulty settings window.frosch
2012-11-05(svn r24664) -Codechange: Add script to generate enums in script_window.hppfrosch
2012-07-15(svn r24406) -Feature: Allow game scripts to monitor cargo pickups and ↵alberth
deliveries done by companies.
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-02-12(svn r23932) -Codechange: split the NewGRF text window into its own source filesrubidium
2012-01-21(svn r23827) -Feature [FS#4992]: [NoGo] Allow to chose the goal question ↵rubidium
window's title from a (small) set of options
2012-01-03(svn r23738) -Fix (r23731): forgot to sync the new window with the script APItruebrain
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-19(svn r23635) -Add: introduce GSText, to allow translating GameScript text, ↵truebrain
even over network
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 r23627) -Add: ScriptNews::Create, to create custom news messages ↵truebrain
(GameScript only)
2011-12-19(svn r23625) -Add: ScriptViewport::ScrollTo, for SinglePlayer only ↵truebrain
(GameScript only)
2011-12-19(svn r23623) -Add: allow bi-directional communication with the AdminPort and ↵truebrain
GameScript
2011-12-19(svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ↵truebrain
ScriptGame::GetLandscape (GameScript only)
2011-12-19(svn r23597) -Codechange: fix up squirrel export script a bittruebrain
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-03(svn r23416) -Add: [NoAI] API for querying infrastructure costs.michi_cc
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