Commit Graph

23042 Commits

Author SHA1 Message Date
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 91ceecc6fc
Change ternary to tertiary for plugins (#16833) 2022-03-21 21:42:10 +00:00
Michael Steenbeek 18be90f8b6
Split TRACK_SLOPE_STEEP into flags for up and down 2022-03-21 21:05:59 +01:00
Krutonium 4cdd9bd813
Update the README to look a little more pleasing 2022-03-20 19:40:01 +00:00
Ted John fc2ed95641
Merge pull request #16831 from IntelOrca/feature/ternary-scenery-colours
Implement tertiary colours for small and large scenery objects.
2022-03-20 19:24:47 +00:00
Ted John 793acf67ae Implement small scenery ternary colours 2022-03-20 18:53:11 +00:00
Michael Steenbeek e78c29ea5c
Fix most occurrences of ‘ternary’ (#16832) 2022-03-20 19:22:05 +01:00
Ted John e9e377ac09 Implement large scenery ternary colours 2022-03-20 18:12:39 +00:00
Ted John f909be7a43
Merge pull request #16797 from IntelOrca/feature/enhanced-transparency
Introduce more transparency toggles and allow each one to be set to either an invisible or ghost state which is a persisted user setting.

A new window is introduced to control these settings and is inspired by OpenTTD.
2022-03-20 17:56:08 +00:00
Michael Steenbeek 8683122435
Fix #16821: sprite exportalldat prints illegal backslashes 2022-03-20 17:58:18 +01:00
Noah Kellogg 25f76dc554
Fix #16365: Broken link referenced in manpages and help output
Link to file never existed, changed to a link that's clearly a placeholder so users can avoid broken links. Example park file could also be uploaded to https://openrct2.io/files/SnowyPark.sv6
2022-03-20 17:54:53 +01:00
Charles Machalow 37965560a9
Add ability for plugins to access ride's chain lift speed
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-03-20 15:20:28 +00:00
andrewpratt64 5ea89b9b47
Add function to get all entities on a tile to plugin api
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-03-20 15:20:08 +01:00
Adam ea435f9361
chore: update macOS dependencies, remove workaround (#16826) 2022-03-20 09:02:46 -03:00
Michał Janiszewski 37a0a0cb18
Use std::stol over C strtol on ClearScenery.cpp (#15549)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-03-20 09:01:09 -03:00
Charles Machalow e27d5f154b
Add parameters to accept for StaffFireAction (#16816)
* Add parameters to accept for StaffFireAction

* Bump plugin api version

* Update src/openrct2/actions/StaffFireAction.cpp

Co-authored-by: Ted John <ted@brambles.org>

Co-authored-by: Ted John <ted@brambles.org>
2022-03-20 08:59:57 -03:00
spacek531 a3700c832a
Parkobj loads rct_gx (#16806)
* allow loading of lgx rct_gx packed images within parkobjs

* add changelog entry

* allow loading of lgx without range
2022-03-19 18:02:02 +00:00
Michael Steenbeek c84da5512c
Merge pull request #16415 from Gymnasiast/android-fs
Enable std::filesystem for Android
2022-03-19 14:24:00 +01:00
OpenRCT2 git bot f9c0cb1cd2 Merge Localisation/master into OpenRCT2/develop 2022-03-19 04:01:55 +00:00
Ted John 884ef6b8ac Change transparent trees to all vegetation 2022-03-19 00:07:06 +00:00
Gymnasiast ffe8b4b45d
Undo fspath() workaround for Android 2022-03-18 23:21:23 +01:00
Gymnasiast 1a5bb7483d
Enable std::filesystem for Android
NDK r22 introduced support for std::filesystem, so re-enable it: https://android.googlesource.com/platform/ndk/+/master/docs/Roadmap.md#ndk-r22
2022-03-18 23:14:51 +01:00
Michael Steenbeek 9ded60a798
Merge pull request #16768 from Gymnasiast/android-backport-2
Update Android build environment
2022-03-18 22:55:19 +01:00
Gymnasiast 7ee515bd41
Revert to older SDK 2022-03-18 22:01:24 +01:00
Gymnasiast 93cce0bbc4
Re-add armeabi-v7a 2022-03-18 22:01:24 +01:00
Michał Janiszewski a80025f87d
Only assemble release for Android in CI 2022-03-18 22:01:24 +01:00
Michał Janiszewski dccc610f17
Upload new build artifact for Android 2022-03-18 22:01:24 +01:00
Michał Janiszewski b89ad36c94
Change Gradle target used in CI 2022-03-18 22:01:24 +01:00
Michał Janiszewski abc2f5bbf6
Update to Gradle 7.3.2 2022-03-18 22:01:24 +01:00
Michał Janiszewski 0e1e9c1dde
Use updated Android image in CI 2022-03-18 22:01:23 +01:00
Michał Janiszewski d7e3b6ab28
Update Android configuration 2022-03-18 22:00:37 +01:00
Joel Larson 662c74228a
Fix #13629: Refactor RCT1_PEEP_SPRITE_TYPE to use scoped enum (#13863)
Co-authored-by: Joel Larson <isochronlabs@protonmail.com>
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-03-18 07:51:39 -03:00
Duncan d266743083
Fix #16808: Incorrect serialisation of track design object (#16817) 2022-03-18 07:10:19 -03:00
Margen67 09b9bd90d4
Fix #2987, #7417: Use game actions for most set commands (#15032)
Fix #2987
Fix #7417
2022-03-18 07:06:27 -03:00
Tulio Leao 5408d053ff
Merge pull request #16015 from duncanspumpkin/clang-tidy4 2022-03-18 01:01:45 -03:00
Tulio Leao 397bc51e68 Rename _sdlfsFlags to _sdlFullscreenFlags 2022-03-18 00:38:26 -03:00
duncanspumpkin f835a5b521 Apply clang-tidy to static variables 2022-03-18 00:38:26 -03:00
Tulio Leao 93d13552a9
Merge pull request #16770 from Margen67/scripts_part1 2022-03-17 23:42:53 -03:00
Ted John 81a123220b Update images for transparency window 2022-03-17 22:52:25 +00:00
Michael Steenbeek 2cd075f6e7
Merge pull request #16805 from CookiePLMonster/cmdline-sprite-fix
Refactor path_end_with_separator and filename_valid_characters
2022-03-17 22:06:36 +01:00
Margen67 7d1b6b3d9a Shorten substring expansion 2022-03-16 18:21:11 -07:00
Margen67 2e8c16e028 Change shebang to env
Move parameters from shebang back into set.
Add set -e to setenv and vstool for consistency.
2022-03-16 18:21:11 -07:00
Margen67 67a70b4235 Use -n/-z in if conditions where possible 2022-03-16 18:21:11 -07:00
Margen67 c5052c05a1 Make check-code-formatting POSIX compatible
[[ ]] double bracket conditions and $OSTYPE are both features of Bash.
2022-03-16 18:21:11 -07:00
Margen67 e67327dbb1 ci: windows-mingw improvements
Use cmake -B instead of mkdir for windows-mingw.
Add Windows to artifact name for consistency with other Windows jobs.
2022-03-16 18:21:11 -07:00
Margen67 5221255802 ci: Indenting consistency 2022-03-16 18:21:11 -07:00
Margen67 abb2009af4 build-appimage-docker.sh: Replace wget with curl
This removes an unneeded dependency.
2022-03-16 18:21:11 -07:00
Margen67 82ee210c29 ci: Ignore files irrelevant to building 2022-03-16 18:21:11 -07:00