Andrew
e17bca3b53
Made setting the game speed a game action ( #20825 )
...
* Bare minimum for a game action
* Changelog entry
* Fixed formatting
* Consistent capitalization
* Committed wrong file
* Removing redundant toolbar invalidations
* Bump network version; remove redundant qualifier
* Fixed crash on starting server
2023-10-04 16:13:40 +01:00
Basssiiie
f2c6dcbbec
Fix incorrect target api when executing custom actions ( #20778 )
2023-09-11 08:05:35 +01:00
ζeh Matt
cdb16bf8bb
Fix crashes when custom plugin actions fail due to immutable state
2023-06-26 15:56:20 +03:00
Matthias Moninger
3edb044685
Merge pull request #20100 from IntelOrca/plugin/object-manager
...
Add plugin APIs for the object manager
2023-06-26 02:26:13 +03:00
Luke Hobbs
4fcf4ac7e5
Fix formatting
2023-06-03 09:38:40 -04:00
Luke Hobbs
a17ac8a92b
Use ErrorTitle + ErrorMessage instead of newline
2023-06-03 09:36:05 -04:00
Luke Hobbs
27eec48c16
Fix formatting
2023-06-02 22:55:45 -04:00
Luke Hobbs
c1f75a0906
Add plugin name to CustomAction and ScriptEngine
2023-06-02 22:04:05 -04:00
Ted John
069a2b3192
Implement object manager for plugins
2023-05-02 20:28:14 +01:00
Ted John
f95472c70a
Add API for installed objects
2023-05-02 20:28:14 +01:00
Ted John
bf3c6964be
Remove scenery from object type names
2023-05-02 20:27:56 +01:00
Ted John
1a73a0be68
Implement other scenery objects
2023-05-02 20:27:56 +01:00
Ted John
2729956cef
Add scenery group object interface
2023-05-02 20:27:56 +01:00
Ted John
f35e595d0e
Add research plugin API
2023-04-18 21:38:09 +01:00
Stephan Spengler
2fd3eb47e7
SetCheatAction has wrong ID in plugin API
2023-04-18 13:23:44 +02:00
Michael Steenbeek
dd624f9bff
Replace remaining usages of money16, money32 ( #19469 )
...
* Use money64 for ride prices and shop items
* Use money64 for park entrance fee
* Use money64 for gGuestInitialCash
* Use money64 for upkeep costs
* Use money64 for ride value
* Use money64 for marketing campaign cost
* Use money64 for object prices
* Use money64 for land prices
* Use money64 for guest expenditure
* Replace remaining occurrences of money32 with money64
* Update replays
* Bump network version
---------
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-03-02 21:55:42 +00:00
Hielke Morsink
2c224cfd53
Rename snake_case functions in OpenRCT2/network folder ( #19203 )
2023-01-18 06:05:53 +00:00
Basssiiie
b15a6e843a
[Plugin] Wrap callback arguments for custom game actions in event arguments object, fix issue with unloading multiplayer plugins ( #19091 )
...
* Wrap custom game action arguments in event args object
* Update Typescript declaration, documentation and changelog
* Pass custom game action by value and remove log messages
2023-01-15 20:52:23 +00:00
Stephan Spengler
9c6032bb36
Fix: GameActionResult does not comply to API specification
2023-01-12 22:14:52 +01:00
Stephan Spengler
142c2a2446
Fix mistake in #19018 : change mapChangeSize to mapchangesize
2023-01-07 13:36:31 +00:00
Stephan Spengler
bfcf66a8f7
Rename ParkSetEntranceFee to fit naming pattern
2023-01-06 22:57:18 +01:00
Stephan Spengler
32dd535044
Rename MapChangeSizeAction to fit naming pattern
2023-01-06 22:57:11 +01:00
Stephan Spengler
2e9d06fabe
Rename FootpathPlaceFromTrack to FootpathLayoutPlace ( #19028 )
2023-01-05 06:39:15 -03:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Matthew
d00c71399b
Add guest thoughts to plugin API ( #18732 )
...
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2022-12-29 12:56:11 -03:00
Stephan Spengler
bd6e572dbc
add all game actions and their documentation to plugin API ( #18826 )
2022-12-16 21:38:45 +00:00
Silent
79660f2fe9
Fix FileWatcher ( #18216 )
2022-10-23 21:35:00 -03:00
Hielke Morsink
f9d1f024c2
Rename public plug-in config data members
2022-10-16 21:46:07 +02:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Gymnasiast
c1149895fa
Close #17955 : Make ratings setting networked and freeze them
2022-09-21 19:15:10 +02:00
Hielke Morsink
e2da19f0f7
Add missing includes
2022-07-29 18:45:10 +02:00
Ted John
71a6e2bf74
Add angle and banking to track segment
2022-05-17 19:27:39 +01:00
Ted John
4eef86dc50
Implement track iterator
2022-05-17 19:27:39 +01:00
Ted John
76601ef6fc
Add API for getting track segments
2022-05-17 19:27:39 +01:00
Hielke Morsink
a67e805e60
Log messages with new LogPluginInfo function
2022-05-09 21:17:55 +02:00
germanaizek
0045aed7f9
Add const ref, remove excess .c_str(), push_* -> emplace_* and rewrite constructors
2022-05-07 16:05:38 +02:00
Hielke Morsink
5c4675a150
Fix: call to std::set_difference with unordered lists
2022-04-02 23:03:07 +02:00
Ted John
8f30ed910f
Start working on custom image APIs
2022-03-24 22:37:21 +00:00
Ted John
9f96b0df33
Separate map.change and map.changed events
...
Also fix network plugin logic.
2022-03-21 23:09:40 +00:00
Ted John
e4a10b8eb4
Fix and improve plugin startup / shutdown
2022-03-21 21:43:02 +00:00
Ted John
3864795a08
Improve safety on event handlers from windows
2022-03-21 21:42:30 +00:00
Ted John
1128f76a97
Improve and fix intransient plugin branch
2022-03-21 21:42:30 +00:00
Ted John
dbf83f018c
Implement lifetime logic of transient plugins
2022-03-21 21:42:30 +00:00
Ted John
6fea0b5025
Start work on intransient plugins
2022-03-21 21:42:30 +00:00
Ted John
dff1d730da
Implement #13620 : [Plugin] Add support for patrol areas to Staff
2022-03-13 19:30:50 +00:00
Hielke Morsink
6ba0a3bd49
Use u8 strings when dealing with file paths
2022-03-01 22:12:39 +01:00
Ted John
1182ff5f19
Add Plugin API for storing data in .park files
2022-02-24 23:55:23 +00:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00
Michael Steenbeek
4c046024a3
Merge pull request #16640 from ZehMatt/refactor/entityid-16469
...
#16469 : Introduce EntityId and refactor everything
2022-02-18 21:29:23 +01:00
Ted John
007a33404e
Close plugin's windows gracefully when stopped
...
When a plugin is stopped, close all windows created by that plugin.
Ensure the close event on the window can not open a new window if the plugin is being stopped.
2022-02-17 20:18:30 +00:00