487 Commits

Author SHA1 Message Date
Marino Rottier 6e45d802ec Automatically publish plugin types to NPM (#26283)
* add workflow and package.json for publishing plugin TypeScript types

* move scripting-related files to scripting folder

* add support for trusted publishers

* fix path to scripting readme

* rename scripting README.md back to scripting.md

* support tagged/dev releases

* add workflow for development versions

* Update package.json website

* change dependencies in publish-plugin-types

* add timestamp to dev plugin versions

* note ScriptEngine.h grep dependency from CI

* use gh-describe to track release version for dev plugin types
2026-04-28 21:25:57 +02:00
Michael Bernardi 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
Michał Janiszewski 37545dfd5e Use assets.json as single source of truth for OpenRCT2 assets (#25968)
* Use assets.json as single source of truth for OpenRCT2 assets

This ensures there's single source of truth for all downloadable assets.
I figured the "version" information is actually redundant because we can
embed the whole URL as the "zipversion", therefore this is dropped now.

The newly-introdcued MSBuild task uses Roslyn-based code and I updated
`DownloadDependency` task to RoslynCodeTaskFactory as well.

* Rename OpenMSX to OpenMusic
2026-02-12 21:44:42 +01:00
mix 1077a6490f Add silent to arguments when building sprite dats with sprite build cmd 2026-02-03 15:05:53 +00:00
Michael Steenbeek 9ec3dfd821 Update objects release to v1.7.6 (#25897) 2026-01-31 19:53:43 +01:00
Aaron van Geffen e6fa0e48d0 Rework palette information into palettes.dat (#25681)
* Rework all palette information into new palette.dat

* Harmonise order between sprites.json, SpriteIds.h, kPaletteToG1Offset

* Rename G1 counterparts for completeness/documentation

* Bump libsawyer to v1.4.0
2026-01-25 10:39:18 +01:00
Duncan 8d25776c95 Fix implementation mistake from #1644. Guest happiness calcs (#25850)
* Fix implementation mistake from #1644. Guest happiness calcs

There was meant to be happiness growth rate penalties when very hungry, thirsty, low energy, high toilet

* Fix regression

* Fix nausea growth generation

* No really fix it

* Add changelog entry

* Change issue number

* Bump network version

* Update replays
2026-01-20 19:47:24 +00:00
Peppersawce 8e2b3de749 Preliminary Haiku OS support (#25659) 2026-01-05 14:03:44 +00:00
duncanspumpkin c1a4339fcf Update replays 2025-12-25 12:25:09 +01:00
Jonas (Elessar2) 5c8867098d Fix #25028: Stalls can only use 1 colour preset
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2025-11-16 13:56:15 +00:00
Gymnasiast 4b8c562f06 Update objects to v1.7.4 2025-11-09 13:17:06 +01:00
Hielke Morsink 6e798af987 Update title sequence release dependency (#25274) 2025-09-28 09:52:35 +02:00
duncanspumpkin 893fbdc2b4 Use correct hash 2025-09-15 23:11:55 +02:00
duncanspumpkin a13cfab51c Update replays 2025-09-15 23:11:55 +02:00
LRFLEW d800a193c3 Update AppImage metadata to rDNS 2025-09-08 19:35:55 +00:00
Michał Janiszewski a64cb177ac Use libraries v41 (#25087)
This make quickjs-ng available
2025-09-06 22:22:33 +02:00
Michał Janiszewski 66665c8a81 Use macos-15-built libraries v40 (#24939)
* Use macos-15-built libraries v40

Windows version is the same as v38, no need to update

* Use macos-15 in CI

* Build libopenrct2 statically

* Skip creating universal libopenrct2.dylib as it no longer exists

* Force static linking on macOS
2025-08-26 07:04:30 +02:00
Tulio Leao c66cfefc83 Update to objects v1.7.3 (#24944) 2025-08-10 07:56:59 -03:00
Michał Janiszewski 47d202f08a Update macos libraries to v38, use SHA256 checksums (#24889) 2025-08-04 18:09:32 +02:00
AuraSpecs 3c52205810 Update OpenMSX and OpenSFX 2025-07-25 11:43:48 +03:00
Aaron van Geffen 420cea17ae Update objects to v1.7.2 2025-07-24 12:24:10 +02:00
Aaron van Geffen ec0f4126b0 Let security guards alternate between slow and fast walking (#24730)
* Let security guards alternate between slow and fast walking

* Alternate based on amount of nearby guests instead

* Optimise loop to exit early once threshold has been reached

* Only count walking guests for security crowdedness

* Update replay bundle to v0.0.89

* Update NetworkBase.cpp
2025-07-15 10:02:37 +00:00
Jan Strauss fdc4d4d892 Set -Wmissing-prototypes for clang builds (#24757)
* Set -Wmissing-prototypes for clang builds.

GCC defines -Wmissing-declarations as specialization of -Wmissing-prototypes for C++ (See https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-declarations and https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmissing-prototypes) while Clang uses -Wmissing-prototypes for both languages and -Wmissing-declarations is a different diagnostic (See https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-prototypes and
https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-declarations).
Use MATCHES against CMAKE_CXX_COMPILER_ID (See https://stackoverflow.com/a/10055571, https://cmake.org/cmake/help/latest/variable/CMAKE_LANG_COMPILER_ID.html) as conditional to handle both AppleClang and Clang.
Clang enables -Wmissing-declarations by default so no point in setting it only if !Clang.

See also:
https://github.com/llvm/llvm-project/issues/16660
https://reviews.llvm.org/D119361

* Make HasMatchingLanguage in Platform.macOS.mm static.

Uncovered by setting -Wmissing-prototypes flag for Clang builds in 306c277c.

* Ignore -Wmissing-prototypes for extern GetVersion.

Result of setting -Wmissing-prototypes flag for Clang builds in 306c277c.

See also: https://github.com/llvm/llvm-project/issues/94138
2025-07-11 14:06:41 -03:00
Gymnasiast 8fc7f59182 Update to objects version v1.7.1 2025-07-05 12:53:21 +02:00
Michael Steenbeek 9fcbac56bb Revert "Close #1787: Replace blood-curdling scream with regular roller coaster screams" (#24716)
This reverts commit f176b27076.
2025-07-03 21:36:55 +02:00
Michael Steenbeek f176b27076 Close #1787: Replace blood-curdling scream with regular roller coaster screams 2025-07-03 17:30:59 +02:00
Aaron van Geffen 6dcc5954f5 Update objects to v1.7.0 2025-06-02 22:45:17 +02:00
Gymnasiast c2b4158573 Split tracks.dat from g2.dat 2025-05-29 21:25:33 +02:00
Gymnasiast 572ced8b85 Avoid build failures when removing or renaming a resource 2025-05-19 22:41:58 +02:00
Michael Steenbeek 7ddb806063 Close #24324: Split font.dat from g2.dat 2025-05-09 14:01:28 +02:00
Aaron van Geffen 92690c916e Update replays to v0.0.87 2025-04-18 21:05:31 +01:00
Duncan add17b14ae Use aliases in cmake to prevent mistakes. Fix g2 dependency mistake (#24213)
Move libopenrct2 cmake to libopenrct2

Revert using aliases for install
2025-04-14 09:45:37 +01:00
Duncan d5de6c2b49 Start Simplifying CMake code (#24177)
* Use generator expressions

* Update cmake minimum

* Move options and remove project name

* Use further generator expressions

* Try upgrading to CMake 3.25 on Ubuntu 22.04 CI

Install software-properties-common

* Standardise with DISABLE_TTF for disable defines

* Set X64 var differently due to unknown reasons

---------

Co-authored-by: Michael Steenbeek <1478678+Gymnasiast@users.noreply.github.com>
2025-04-11 16:09:52 +01:00
Romain fd0c20f31a Allow disabling the version checker 2025-04-07 23:43:27 +02:00
Michael Steenbeek 9fb0ba0f3d Bump objects to v1.6.1 2025-04-03 23:48:06 +02:00
Aaron van Geffen 08dff3e095 Update objects version to v1.6.0 2025-03-01 21:05:29 +01:00
X123M3-256 864d9b2d73 Add large diagonal flat to steep and dive loop track pieces 2025-01-15 13:25:29 +01:00
Aaron van Geffen 7eb8556c60 Update replays to v0.0.86 2025-01-10 13:43:14 +01:00
Aaron van Geffen 0e8b9e94f3 Update objects bundle to v1.5.0 2025-01-09 21:58:16 +01:00
Aaron van Geffen 36491e309d Update replay tests to v0.0.85 2024-12-25 17:52:47 +01:00
Aaron van Geffen d350f935ee Update objects to v1.4.12 (#23535) 2025-01-03 22:34:20 +01:00
Michał Janiszewski f788b60331 Merge pull request #23236 from OpenRCT2/signpath
Sign Windows binaries with SignPath certificate
2024-11-26 23:32:43 +01:00
Gymnasiast b32a31f517 Update objects+changelog and bump network+park version 2024-11-23 22:46:02 +01:00
Duncan 759d850e56 Fix #23238: Guest ride favourite mistake
Mistake made during implementation.
2024-11-23 10:39:17 +00:00
Michał Janiszewski 41b13197d1 Distribute Privacy policy in all the artifacts 2024-11-23 00:29:45 +01:00
Michał Janiszewski dc052eaa03 Default headers check option to off, enable for CI 2024-11-08 23:10:58 +01:00
Michał Janiszewski 05d125efbf Add option to skip headers check
In some configuration, such as our docker build, there's no need to
perform headers check, as it is handled by a different job already.
2024-11-08 23:08:54 +01:00
Aaron van Geffen 155f5ae2f5 Increase cmake_minimum_required to 3.10 (#23165) 2024-11-08 22:59:22 +01:00
Michael Steenbeek 1be5d78a52 Update objects release to v0.4.10 (#23109) 2024-11-03 10:05:10 +01:00
Aaron van Geffen d803647bd3 Update objects bundle to v1.4.9 2024-10-30 20:45:18 +01:00