summaryrefslogtreecommitdiff
path: root/src/script
AgeCommit message (Collapse)Author
2020-07-10Update: Disuse of STR_ERROR_INCOMPATIBLE_ROADTrevorShelton
2020-06-27Codechange: Make sure script enums are the same size as their normal ↵Charles Pigott
counterparts
2020-06-27Fix: Warning about using the wrong enum typeCharles Pigott
2020-06-27Codechange: Add WARN_FORMAT to vseprintf and fix the cascade of warnings ↵Charles Pigott
that followed
2020-06-05Add: introduce CMake for project managementPatric Stout
CMake works on all our supported platforms, like MSVC, Mingw, GCC, Clang, and many more. It allows for a single way of doing things, so no longer we need shell scripts and vbs scripts to work on all our supported platforms. Additionally, CMake allows to generate project files for like MSVC, KDevelop, etc. This heavily reduces the lines of code we need to support multiple platforms from a project perspective. Addtiionally, this heavily improves our detection of libraries, etc.
2020-06-01Add: [Script] Native priority queue; useful e.g. for pathfinders.Michael Lutz
2020-05-28Cleanup: Correct typographic errors in code comments.TechGeekNZ
2020-05-27Fix: Compilation warnings in story_gui and script_story_pageJonathan G Rennison
See: #7896
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-05-06Codechange: Use a dynamic copyright yearglx
2020-04-26Codechange: [Script] Improve copying a list into another empty list.Michael Lutz
2020-04-16Fix: [Script] ScriptMarine::AreWaterTilesConnected failed for aqueducts (#8074)SamuXarick
2020-03-31Doc: [Script] Make it clear random_deviation and CONFIG_RANDOM range upper ↵SamuXarick
bounds are inclusive
2020-03-31Fix: [Script] Random deviation upper bound range should be inclusiveSamuXarick
2020-03-30Fix #8039: [AI/GS] SetOrderFlags and GetOrderDestination didn't work for oil ↵SamuXarick
rigs
2020-03-14Fix: [AI/GS] Consider neutral station setting when creating tile listsSamuXarick
2020-03-13Fix: [AI/GS] CanBuildConnectedRoadPartsHere neighbours tiles were at times ↵SamuXarick
incorrect
2020-02-22Fix #7998: Crash when scripts tried to access companies with invalid IDs.frosch
2020-02-19Doc: [Script] Add a note about how wagon connectivity works for scriptsCharles Pigott
2020-02-08Change: Heading for 1.11 nowglx
2020-01-15Add: [Doxygen] Add the current version of documentation in header (#7940)Patric Stout
While at it, renamed the project names to reflect how we currently refer to them.
2020-01-15Feature: GS method to control engine availability for a specific company (#7791)Pavel Stupnikov
* Feature: GS method to allow company to use an engine before its introduction date * Feature: GS method to retire an engine early for a specific company
2020-01-07Fix e04ca90: squirrel export script got forgottenSamuXarick
2020-01-05Feature: Industry directory cargo filteringstormcone
2020-01-04Feature: Script API to change town rating of companiesNiels Martin Hansen
2020-01-04Feature: Minimap screenshotTELK
2020-01-01Feature: Screenshot windowpnda
2019-12-23Feature: Add a button to the vehicle advisory news window to open the group ↵stormcone
window.
2019-12-21Codechange: Replace FOR_ALL_TOWNS with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_SUBSIDIES with range-based for loopsglx
2019-12-21Codechange: Replace story related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_SIGNS with range-based for loopsglx
2019-12-21Codechange: Replace vehicle related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace network related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_INDUSTRIES with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_GROUPS with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_ENGINES with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_DEPOTS with range-based for loopsglx
2019-12-21Codechange: Replace station related FOR_ALL with range-based for loopsglx
2019-12-17Add #7801: [Script] more error mappingsglx
2019-11-15Fix #7606: Game crash when trying to clean up a crashed scriptCharles Pigott
Also fix another possible memory leak
2019-11-15Codechange: new instead of mallocCharles Pigott
2019-11-14Fix #7673: [Script] Allow removal of custom town text (#7834)glx22
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-10-27Fix: spelling/grammar in script_tile.hpp (#7804)James103
2019-10-22Add: [Script] ScriptEventVehicleAutoReplaced.glx
2019-10-19Codechange: Use std::vector for industry tile layoutsNiels Martin Hansen
2019-09-30Fix: clang and MSVC warnings (glx)Charles Pigott
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-09-08Add: Allow GameScript to demolish without a companyMax Maton
This allows GameScripts to shrink towns as well as grow them.