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
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
Ted John
105009f3f8
Fix #16591 : Plugins: setInterval and setTimeout is not disposed...
2022-02-17 20:18:16 +00:00
ζeh Matt
d7f5003943
Introduce EntityId and refactor everything
2022-02-16 18:56:39 +02:00
Ted John
83c347218b
Allow plugins to call change map size game action
2022-02-14 23:15:59 +00:00
ζeh Matt
4554d6d883
Fix all uses of RideId
2022-02-12 18:11:18 +02:00
ζeh Matt
a2470c0573
Rename ride_id_t to RideId
2022-02-12 18:11:18 +02:00
Michael Steenbeek
a6042b8903
Merge pull request #16153 from IntelOrca/embed-duktape
...
Resolve #14259 : Embed our own duktape library
2022-01-23 13:45:42 +01:00
Ted John
b5d66e099e
Embed our own duktape library
...
Duktape is geared around compile time switches. We can't rely on shared libraries.
2022-01-18 18:29:27 +00:00
ζeh Matt
993b168bfd
Implement profiler ( #16194 )
...
* Implement profiling API
* Add console commands for the profiler
* Remove accidental line
* Correct csv output
* Add copyright notice
* Add missing override
* Add default virtual destructor
* Explicitly pass template argument
* Use static
* Add plugin API for profiler
* Add more profile calls
* Workaround for GCC hopefully
* Add missing static keyword
* Use uint64 for call count
* Reduce name length see if CI passes
* Improve handling of function names
* Work around (broken) static inline variables
* Fix missing include
* Disable profiler for clang 5 and older
* Update copyright date
* Profile UpdateAllMiscEntities
* Apply review suggestions
Co-authored-by: Ted John <ted@brambles.org >
2022-01-18 20:21:20 +02:00
ζeh Matt
94e20ba7fe
Rename some Update functions to Tick
2021-12-13 19:04:48 +02:00