summaryrefslogtreecommitdiff
path: root/src/script
AgeCommit message (Collapse)Author
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.
2019-09-07Fix b3fd7879: Ignore command flags when verifying script commandsNiels Martin Hansen
Multiplayer games has the server add some flags to the cmd value during the handling. These flags should not be included in the verification, mask them out. Without this masking out, scripts tend to die when executing their first command in multiplayer.
2019-09-07Fix #7188: check the validity of command callback for scripts (#7701)glx22
2019-09-01Fix b870596f153c17d9aa915ca67b8f6414d73cb31f: forgotten squirrel_export run ↵glx22
(#7715)
2019-08-17Add #6887: Option to show zone inside local authority boundary of townsGabda
Can be found at town information > local authority window Layout for button is same as Graph Keys Turn on/off for every town individually
2019-08-07Fix: typo in ScriptList::Valuate param error (#7687)nikolas
2019-07-22Feature: Town name filtering (#7621)TELK
2019-07-22Fix #7593: Crash in ScriptOrder::GetOrderDistance in VT_AIR modeJonathan G Rennison
Null pointer dereference occurred when either origin_tile or dest_tile were waypoint tiles.
2019-07-14Fix: Make GSGoal.QuestionClient work correctly at least for clients with ID ↵dP
< 2**16
2019-07-07Fix #5685: Check for free wagons in ScriptVehicleListunknown
2019-06-30Feature: Multi-tile docks and docking points.peter1138
2019-05-15Codechange: catch script exceptions by referenceglx
2019-05-15Fix #7590: handle script exceptions during scanningglx
2019-05-15Fix #7590: decrement allocated_size in ScriptAllocator::Free()glx
2019-05-11Add: Show memory allocations by GS and AI in framerate windowNiels Martin Hansen
2019-05-11Change: Limit memory allocations for each Squirrel instanceNiels Martin Hansen
This can avoid out-of-memory situations due to single scripts using up the entire address space. Instead, scripts that go above the maximum are killed. The maximum is default 1 GB per script, but can be configured by a setting.
2019-05-01Add: New RoadType API functions.peter1138
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Codechange: Remove Company/OwnerByte typesCharles Pigott
2019-04-29Codechange: Remove RailTypeByte typeCharles Pigott
2019-04-25Feature: Add station coverage area display for towns.peter1138
2019-04-25Feature: Add coverage area display for existing stations.peter1138
2019-04-24Fix: Automatic line breaking of the warningNiels Martin Hansen
2019-04-24Add: Warn players that company passwords are not truly secureNiels Martin Hansen
2019-04-13Fix: Industry coverage area is no longer rectangular. (#7464)PeterN
AIs test station catchment in reverse to how players see station catchment. This did not take account of non-rectangular station catchment areas, so AIs could end up placing stations in locations that did not accept/deliver cargo.
2019-04-13Codechange: Replace duplicated code with TileArea::Expand() (#7467)PeterN
2019-04-11Codechange: Replace NULL with nullptr in squirrel interface.peter1138