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
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
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
abc2f5bbf6
Update to Gradle 7.3.2
2022-03-18 22:01:24 +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
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
Margen67
67a70b4235
Use -n/-z in if conditions where possible
2022-03-16 18:21:11 -07:00
Silent
771637f24c
Refactor filename_valid_characters into Platform::IsFilenameValid
2022-03-16 21:56:54 +01:00
Silent
28b0a39a73
Refactor CmdlineSprite.cpp and remove path_end_with_separator
2022-03-16 21:56:54 +01:00
Charles Machalow
bb5d53d9f2
Fix crash where peeps enter through extra ride entrances ( #16727 )
...
Fix #16170 , #16177
2022-03-15 06:39:13 +00:00
Ted John
46873dfc7f
Fix build failures
2022-03-14 23:43:50 +00:00
Ted John
3b9edbd09b
Keep old flag values to avoid breaking plugins
2022-03-14 22:03:37 +00:00
Ted John
fea101289c
Save invisible flags to config
2022-03-14 21:57:05 +00:00
Ted John
52e5d48501
Update shortcuts and toolbar menu
2022-03-14 21:57:05 +00:00
Ted John
61f1e13c0b
Refactor viewport flags
2022-03-14 21:57:05 +00:00
Ted John
c68359662d
Refactor visibility control
2022-03-14 21:57:05 +00:00
Ted John
9794be6a09
Hide trees using colourify function
2022-03-14 21:55:15 +00:00
Ted John
8aafab2a70
Split paint item into element and entity
2022-03-14 21:55:15 +00:00
Ted John
79989a5e84
Fix transparency issues
2022-03-14 21:55:15 +00:00
Ted John
ba2fea88fd
Fix build failure
2022-03-14 21:55:07 +00:00
Kane
b83e21a953
Improve code readability (added parentheses)
2022-03-14 21:43:12 +00:00
Kane
20cd8465f5
Code cleanup, remove ignore_invisible_flag.
...
Known issues:
- Some flat-rides have transparency issues
2022-03-14 21:43:12 +00:00
Kane
ffb5affee2
Fix code formatting
2022-03-14 21:43:12 +00:00
Kane
5d7f7485aa
Update for rebase, add window theme, fix bugs
...
- Along with rebasing the code it became nessecary to update various
calls to `scenery_small_entry_has_flag` and `EntityBase`.
- Added a new window theme with default colours.
- Fixed bug with see-through supports not working.
- Removed incomplete "ride exclusions" tab
- Removed unused text string (Ride Exclusions)
2022-03-14 21:43:09 +00:00
Kane
26d558c4d0
Resolve merge conflict. Fix tree hiding.
2022-03-14 21:41:51 +00:00
Kane
3d3271a5ec
Misc. clean ups
...
Define see-through paint colours in Paint.h for global use
Color staff sprite button
Change ride->is_visible bool to ignore_invisible_flag bool
Add shortcut to open transparency options (CTRL+T)
2022-03-14 21:41:49 +00:00
Kane
9bf003c018
Add new sprites
2022-03-14 21:40:30 +00:00
Kane
564dee2671
Remove unused variables
2022-03-14 21:40:30 +00:00
Kane
2e93e42a71
More finishing touches
...
- Changes all references of `VIEWPORT_FLAG_INVISIBLE_PEEPS` to `VIEWPORT_FLAG_INVISIBLE_GUESTS` and `VIEWPORT_FLAG_INVISIBLE_STAFF`
- Updates Invisible People menu item and shortcut.
- Added new viewport flags into the `viewport_set_visibility` function
- Invisible options only work if see-through is activated as well
- Added see-through supports
- Regression: Exclude ride from invisible no longer works (ride is still see-through)
2022-03-14 21:40:27 +00:00
Kane
503a351422
Start to implement ride selection list
2022-03-14 21:39:45 +00:00
Kane
1c306e0a1a
Fix supports changing when trees were invisible
2022-03-14 21:38:49 +00:00
Kane
e134be9538
Implement more options
...
- Invisible guests
- Invisible staff
- See-through trees
- Invisible trees
- Strings/Ids
2022-03-14 21:38:46 +00:00
Kane
204f8ceac1
Add new Transparency options window.
...
Remove added options from Top Toolbar.
Move invisible ride code into ride paint functions.
Move invisible vehicle code into sprite paint function.
2022-03-14 21:37:41 +00:00
Kane
4856c3adaf
Implement invisible rides, paths & scenery
2022-03-14 21:37:18 +00:00
Kane
9f78c6f0ce
Add option to see-through vehicles
2022-03-14 21:36:47 +00:00
Charles Machalow
99db07cfe0
Fix #16759 : No music when unmuting the game in title screen
2022-03-14 21:16:16 +01:00
Ted John
dff1d730da
Implement #13620 : [Plugin] Add support for patrol areas to Staff
2022-03-13 19:30:50 +00:00