Gymnasiast
0d8af50f45
Rename members of GameCommand
2026-08-07 06:57:38 +02:00
Gymnasiast
e1f2c365c1
Rename members of PluginType
2026-08-02 20:08:35 +02:00
Tulio Leao
d093945c41
Merge pull request #26558 from alex-parisi/null-socket-fix
...
Fixing crash when removing null socket
2026-05-16 22:28:49 -03:00
mrmbernardi and Michał Janiszewski
e4ba212574
Set qjs stack limit to 7MB ( #26489 )
...
* Set qjs stack limit to 7MB
* Update distribution/changelog.txt
Co-authored-by: Michał Janiszewski <janisozaur@users.noreply.github.com >
---------
Co-authored-by: Michał Janiszewski <janisozaur@users.noreply.github.com >
2026-05-16 17:26:29 +02:00
Alex Parisi
7c0b555629
Move sockets before disposing of them
2026-05-14 14:31:31 -04:00
Alex Parisi
96cb09da9e
Fixing crash when removing null socket
2026-05-14 12:27:47 -04:00
Michał Janiszewski
8d9aec1090
Fix #26304 : Use common prototypes for JS entities ( #26321 )
...
Previously JS entities would create prototypes on each allocation in
`Sc*::New`. This change creates a single global protype for each entity
class which then gets copied upon entity allocation in JS realm.
Running test with "Live Ride Measurements" plugin on a park shared for
performance testing I get following results:
| | OpenRCT2::Scripting::HookEngine::Call | OpenRCT2::Scripting::ScMap::getAllEntities |
|-----------------|---------------------------------------|--------------------------------------------|
| duktape | 68ms | 10ms |
| quickjs current | 318ms | 126ms |
| quickjs + fix | 22ms | 942µs |
Previously each call to `getAllEntities` would result in 1382 calls to
`JS_SetPropertyFunctionList`, each costing 90.5µs.
Park used: https://files.catbox.moe/z6j2g4.park
2026-04-05 09:22:47 +02:00
Basssiiie
cee8fcbee6
Remove some unused includes and simplify some others ( #26317 )
2026-04-03 23:04:34 +02:00
Michael Bernardi
7aa5a067d1
Review fixes
2026-04-01 02:19:02 +11:00
Michael Bernardi
e924c00a0d
Fix PluginScope for promises
2026-04-01 02:19:01 +11:00
Michael Bernardi
79e10f98d5
Fix ScSocket
2026-04-01 02:19:01 +11:00
Michael Bernardi
421530c3ea
Use class prototypes for all script types.
2026-04-01 02:19:01 +11:00
16cd1c07ff
Swap Duktape for quickjs-ng
...
Co-authored-by: Basssiiie <Basssiiie@users.noreply.github.com >
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2026-04-01 02:18:36 +11:00
Aaron van Geffen
be84cdb1bb
Rename Climate to Weather where appropriate ( #26163 )
...
* Introduce OpenRCT2::Weather namespace
* Rename Climate.h/cpp to Weather.h/cpp
* Rename ScClimate.hpp to ScWeather.hpp
* Rename drawing/Weather.h to drawing/WeatherDrawer.h
2026-03-08 11:00:07 +01:00
Gymnasiast
8b104d04b3
Rename TrackMetaData to TrackMetadata
2026-03-01 12:40:51 +01:00
Gymnasiast
56082daa5f
Split off TrackElementDescriptor and a few other things into their own headers
2026-03-01 12:40:47 +01:00
Aaron van Geffen
1cc7006127
Reorganise game actions into folders ( #25987 )
2026-02-10 08:57:40 +01:00
Aaron van Geffen
773ba479cd
Create separate unit for GameActionRunner
2026-02-09 16:06:56 +01:00
matheusvb3
416a005b88
Replace uses of .size() or .length() with .empty() when appropriate ( #25950 )
2026-02-05 13:14:12 +01:00
matheusvb3
ff72e07385
Remove redundant typename keyword usage ( #25901 )
2026-01-31 23:59:59 +01:00
matheusvb3
bba937a03d
Remove more redundant namespace qualifiers ( #25828 )
2026-01-16 08:38:20 +01:00
Aaron van Geffen
40aaf97c07
Update copyright years to 2026 ( #25741 )
2026-01-05 13:42:59 +00:00
Gymnasiast
366441d245
Rename members of TrackPitch
2025-12-23 19:53:25 +01:00
Gymnasiast
3a70b2459a
Rename members of TrackRoll
2025-12-23 19:52:23 +01:00
Gymnasiast
c744b76632
Rename members of GameActions::Result
2025-12-12 12:11:49 +01:00
Gymnasiast
5ffee91c8a
Rename members of GameActions::Status
2025-12-12 11:41:49 +01:00
Gymnasiast
daa4fe8ac3
Rename field of all config categories
2025-10-07 20:21:32 +02:00
Aaron van Geffen
5a4cc7d00d
Remove Network function name prefixes given namespace qualifiers
2025-08-31 16:02:43 +02:00
Aaron van Geffen
abe58f6439
Move ClearAction, GameAction, ScenarioSetSettingAction into GameActions ( #25045 )
2025-08-29 06:32:05 -03:00
Aaron van Geffen
620c1f40ef
Move Staff game actions into GameActions namespace
2025-08-26 18:34:31 +02:00
Aaron van Geffen
238b397968
Move scenery game actions into GameActions namespace
2025-08-26 15:55:26 +02:00
Aaron van Geffen
bcb803df96
Move Footpath game actions into GameActions namespace
2025-08-26 14:48:16 +02:00
Aaron van Geffen
134f4ac43e
Start moving game actions into GameActions namespace
2025-08-25 22:16:55 +02:00
Gymnasiast
61df9eaf9a
Update ExpenditureType enum to new code style
2025-08-21 22:12:41 +02:00
Jan Strauss
0522ae848b
Add award plugin APIs ( #24468 )
...
* Add award plugin apis
* Address review feedback (use erase_if, extract AwardAdd method)
* Address review feedback (remove redundant comments, make AwardAdd static)
* Address review feedback (bump plugin api version, add changelog entry)
2025-07-13 07:04:26 -03:00
Max
923a38c990
Close #24146 : Expand plugin functionality for balloons and money effects
2025-04-19 23:23:02 +02:00
Aaron van Geffen
d9ba40b266
Purge leftover references to SetClimate game command ( #24104 )
...
* Purge leftover references to SetClimate game command
* Bump network version
2025-04-08 08:51:13 +02:00
Gymnasiast
eaaba9fbfb
Rename HOOK_TYPE and its members
2025-03-26 12:16:47 +01:00
Gymnasiast
74758c77b6
Rename PATHID and its members
2025-03-25 23:57:36 +01:00
Gymnasiast
14b881e22b
Rename DIRID and its members
2025-03-25 23:39:27 +01:00
Gymnasiast
622a8dc525
Rename DIRBASE and its members
2025-03-25 22:47:09 +01:00
Aaron van Geffen
6933af25ae
Rename 'Climate' properties to Weather ( #23786 )
...
* Rename ClimateState to WeatherState
* Rename ClimateCurrent to WeatherCurrent
* Rename ClimateNext to WeatherNext
* Rename ClimateUpdateTimer to WeatherUpdateTimer
* Use named initialisers for weather state import in S4/S6 importers
* Rename S4::ClimateTimer to WeatherUpdateTimer as well
* Rename WeatherState struct properties to lowerCamelCase
2025-02-13 07:38:45 -03:00
Michael Steenbeek
be9f27e4f9
Mass rename constants ( #23656 )
2025-01-19 15:59:45 +00:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
3685d1a24b
clang-format: change IndentPPDirectives to BeforeHash ( #23287 )
2024-11-29 12:04:56 +09:00
Duncan and Tulio Leao
e157a843f0
Large scenery object tiles for scripting ( #22842 )
...
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2024-10-01 21:02:46 -03:00
Arnold Zhou
a749698566
[Plugin API] Feat: Expose staff statistics ( #22184 )
2024-07-24 20:10:34 -03:00
Aaron van Geffen
6de514c387
Address minor code style violation in unsigned suffix ( #22306 )
2024-07-15 21:16:30 +02:00
Aaron van Geffen
8cef18cd2f
Include cassert as needed at unit level
2024-07-09 16:43:03 +02:00
Aaron van Geffen and Bas
4bfd3f3369
Initialise script engine off main thread ( #22230 )
...
* Initialise script engine off main thread
* Do not run ScriptEngine.Tick() during initialisation/preloading
* Add 'Loading plugin engine…' string
* Add changelog entry
---------
Co-authored-by: Bas <Basssiiie@users.noreply.github.com >
2024-07-09 20:19:01 +02:00