SamuXarick and Niels Martin Hansen
4d4005d8b7
Fix #8039 : [AI/GS] SetOrderFlags and GetOrderDestination didn't work for oil rigs
2020-03-30 08:18:32 +02:00
SamuXarick and glx22
424770d662
Fix: [AI/GS] Consider neutral station setting when creating tile lists
2020-03-14 23:23:33 +01:00
SamuXarick and Charles Pigott
971201b3b7
Fix: [AI/GS] CanBuildConnectedRoadPartsHere neighbours tiles were at times incorrect
2020-03-13 13:54:11 +00:00
frosch and Charles Pigott
0ade8b20fe
Fix #7998 : Crash when scripts tried to access companies with invalid IDs.
2020-02-22 14:32:43 +00:00
Charles Pigott and Niels Martin Hansen
5c19668fdb
Doc: [Script] Add a note about how wagon connectivity works for scripts
2020-02-19 11:26:58 +01:00
glx and glx22
2f264f2c92
Change: Heading for 1.11 now
2020-02-08 23:38:49 +01:00
Patric Stout and GitHub
3b177af826
Add: [Doxygen] Add the current version of documentation in header ( #7940 )
...
While at it, renamed the project names to reflect how we currently
refer to them.
2020-01-15 23:07:37 +01:00
Pavel Stupnikov and Niels Martin Hansen
d7a928a08b
Feature: GS method to control engine availability for a specific company ( #7791 )
...
* 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-15 18:46:26 +01:00
SamuXarick and Charles Pigott
fa71375ec2
Fix e04ca90: squirrel export script got forgotten
2020-01-07 15:07:24 +00:00
stormcone and Charles Pigott
70f9c3c655
Feature: Industry directory cargo filtering
2020-01-05 20:52:17 +00:00
Niels Martin Hansen
f401622149
Feature: Script API to change town rating of companies
2020-01-04 19:07:13 +01:00
TELK and Niels Martin Hansen
e04ca904a9
Feature: Minimap screenshot
2020-01-04 18:21:38 +01:00
pnda and Charles Pigott
e558aa8ff4
Feature: Screenshot window
2020-01-01 10:19:12 +00:00
stormcone and Charles Pigott
798e9ee93e
Feature: Add a button to the vehicle advisory news window to open the group window.
2019-12-23 18:04:10 +00:00
glx and Niels Martin Hansen
ee7a8eebca
Codechange: Replace FOR_ALL_TOWNS with range-based for loops
2019-12-21 20:13:03 +01:00
glx and Niels Martin Hansen
0b489f9924
Codechange: Replace FOR_ALL_SUBSIDIES with range-based for loops
2019-12-21 20:13:03 +01:00
glx and Niels Martin Hansen
847e5f33d4
Codechange: Replace story related FOR_ALL with range-based for loops
2019-12-21 20:13:03 +01:00
glx and Niels Martin Hansen
869581eb23
Codechange: Replace FOR_ALL_SIGNS with range-based for loops
2019-12-21 20:13:03 +01:00
glx and Niels Martin Hansen
d8a1be48cd
Codechange: Replace vehicle related FOR_ALL with range-based for loops
2019-12-21 20:13:03 +01:00
glx and Niels Martin Hansen
41232f18c1
Codechange: Replace network related FOR_ALL with range-based for loops
2019-12-21 20:13:03 +01:00
glx and Niels Martin Hansen
00c2a98cf3
Codechange: Replace FOR_ALL_INDUSTRIES with range-based for loops
2019-12-21 20:13:03 +01:00
glx and Niels Martin Hansen
4ae829cb27
Codechange: Replace FOR_ALL_GROUPS with range-based for loops
2019-12-21 20:13:03 +01:00
glx and Niels Martin Hansen
1f6b3a37f9
Codechange: Replace FOR_ALL_ENGINES with range-based for loops
2019-12-21 20:13:03 +01:00
glx and Niels Martin Hansen
fa9769f81a
Codechange: Replace FOR_ALL_DEPOTS with range-based for loops
2019-12-21 20:13:03 +01:00
glx and Niels Martin Hansen
ddabfed1cd
Codechange: Replace station related FOR_ALL with range-based for loops
2019-12-21 20:13:03 +01:00
glx and Charles Pigott
e001d87569
Add #7801 : [Script] more error mappings
2019-12-17 21:35:07 +00:00
glx22 and Charles Pigott
0bdbd509be
Fix #7673 : [Script] Allow removal of custom town text ( #7834 )
2019-11-14 20:10:03 +00:00
S. D. Cloudt and Charles Pigott
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
James103 and Charles Pigott
f1204f0d9d
Fix: spelling/grammar in script_tile.hpp ( #7804 )
2019-10-27 19:46:08 +00:00
glx and Niels Martin Hansen
12e43c697d
Add: [Script] ScriptEventVehicleAutoReplaced.
2019-10-22 11:55:40 +02:00
Niels Martin Hansen and Charles Pigott
53f8d0b815
Codechange: Use std::vector for industry tile layouts
2019-10-19 17:16:25 +01:00
Charles Pigott
fe9731d32c
Fix: clang and MSVC warnings (glx)
2019-09-30 14:00:06 +01:00
JMcKiern and Charles Pigott
04f659e768
Fix: Some typos found using codespell
2019-09-29 21:27:32 +01:00
Max Maton and Niels Martin Hansen
e4414471dd
Add: Allow GameScript to demolish without a company
...
This allows GameScripts to shrink towns as well as grow them.
2019-09-08 10:09:19 +02:00
Niels Martin Hansen
0549a81c30
Fix b3fd7879: Ignore command flags when verifying script commands
...
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-07 19:38:13 +02:00
glx22 and Charles Pigott
b3fd787959
Fix #7188 : check the validity of command callback for scripts ( #7701 )
2019-09-07 17:37:01 +01:00
glx22 and GitHub
cf86c39be5
Fix b870596f15: forgotten squirrel_export run ( #7715 )
2019-09-01 18:54:01 +02:00
Gabda and Charles Pigott
b870596f15
Add #6887 : Option to show zone inside local authority boundary of towns
...
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-17 21:45:20 +01:00
nikolas and glx22
10fe568f08
Fix: typo in ScriptList::Valuate param error ( #7687 )
2019-08-07 21:15:53 +02:00
TELK and Charles Pigott
196d586849
Feature: Town name filtering ( #7621 )
2019-07-22 20:27:39 +01:00
Jonathan G Rennison and Charles Pigott
d71a7c21da
Fix #7593 : Crash in ScriptOrder::GetOrderDistance in VT_AIR mode
...
Null pointer dereference occurred when either origin_tile or dest_tile
were waypoint tiles.
2019-07-22 20:26:36 +01:00
dP and Charles Pigott
36e4bd4023
Fix: Make GSGoal.QuestionClient work correctly at least for clients with ID < 2**16
2019-07-14 13:32:08 +01:00
unknown and Charles Pigott
6f28a0c051
Fix #5685 : Check for free wagons in ScriptVehicleList
2019-07-07 16:02:11 +01:00
peter1138 and Niels Martin Hansen
f538179878
Feature: Multi-tile docks and docking points.
2019-06-30 16:46:32 +02:00
Niels Martin Hansen
e7f6f07599
Add: Show memory allocations by GS and AI in framerate window
2019-05-11 15:34:33 +02:00
Niels Martin Hansen
140a96b3a0
Change: Limit memory allocations for each Squirrel instance
...
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-11 15:34:33 +02:00
peter1138 and Michael Lutz
3293f08e0b
Add: New RoadType API functions.
2019-05-01 21:36:27 +02:00
peter1138 and Michael Lutz
c02ef3e456
Feature: Add NotRoadTypes (NRT)
2019-05-01 21:36:27 +02:00
Charles Pigott and PeterN
5b34c8019f
Codechange: Remove Company/OwnerByte types
2019-04-29 17:40:22 +01:00
Charles Pigott and PeterN
931d32f414
Codechange: Remove RailTypeByte type
2019-04-29 17:40:22 +01:00