Stephan Spengler
73043106ed
[Plugin] Add banner index to banner creation result
2024-05-29 22:35:35 +02:00
spacek531
94750f4e34
Add plugin API to VehicleCrashedParticle
2024-05-29 12:32:41 +02:00
Aaron van Geffen
a63d86c488
Introduce Config namespace and struct
2024-05-10 12:10:21 +02:00
Harry Hopkinson
7797db10c8
Replace Macros and Notation in Cheats.h, common.h and Context.h. ( #21437 )
2024-02-23 19:30:35 -03:00
Alex Parisi
efb6d48c4c
Add plugin API to get registered plugin metadata ( #20709 )
...
* Added API for getAllPlugins
Added functionality to the Scripting API to allow Contexts to return a list of all registered plugins.
* Fixed naming conventions, returning list of authors
Changed function names to follow get/set convention. Removed unnecessary copies of shared pointers, now using auto instead. Changed the functionality to return an array of authors instead of a string.
* Added changelog entry
Also added myself to list of contributors
* Moved all functionality to ScPlugin
Created a ScPlugin class and moved the current getPlugins functionality there.
* Changed from method to property
Function names now match the get/set convention for properties. Also did some code cleanup.
* Update copyright
* Bump plugin version
---------
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2024-02-16 05:53:48 -03:00
ζeh Matt
cc64a17642
Skip intervals that are deleted within callbacks
2024-01-25 17:13:25 +02:00
ζeh Matt
84213efde2
Fix using iterators that are deleted by the plugin
2024-01-25 17:01:00 +02:00
Gymnasiast
95c1adc813
Rename TrackBank to TrackRoll
2024-01-17 23:34:36 +01:00
Gymnasiast
44d547a4bc
Make TrackPitch into an enum class
2024-01-17 23:33:19 +01:00
Gymnasiast
b832eb5f72
Make TrackBank into an enum class
2024-01-17 23:33:19 +01:00
ζeh Matt
6eea65fac7
Make the compiler happy
2024-01-11 19:45:07 +02:00
ζeh Matt
88a0e4b8d4
Apply review suggestions, remove redundant comment
2024-01-11 17:34:32 +02:00
ζeh Matt
8bcd409fb0
Fix #21145 , #21158 : Keep handles for intervals stable and resolve crash
2024-01-06 10:42:17 +02:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
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