1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 20:43:04 +01:00
Commit Graph

20098 Commits

Author SHA1 Message Date
Claudio Tiecher
b60483f25d Part of #21421: Refactor VEHICLE_SEAT_NUM_MASK 2024-03-25 16:17:32 +01:00
Claudio Tiecher
2c4c2da319 Part of #21421: Refactor VEHICLE_SEAT_PAIR_FLAG 2024-03-25 16:17:32 +01:00
Claudio Tiecher
13e9ff84c2 Part of #21421: Replace define with constexpr (#21626)
* Part of #21421: Refactor RIDE_INITIAL_RELIABILITY in Ride.h

* Part of #21421: Refactor STATION_DEPART_FLAG and STATION_DEPART_MASK

* Part of #21421: Refactor MAX_STATION_PLATFORM_LENGTH

* Part of #21421: Refactor RIDE_RATING_UNDEFINED

* Part of #21421: Refactor TRACK_BLOCK_END

* Part of #21421: Refactor TRACK_PREVIEW_IMAGE_SIZE

* Part of #21421: Refactor based on feedback

* Part of #21421: Fix signed/unsigned mismatch on Win

* Improved consistency kTrackPreviewImageSize

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>

* Part of #21421: kMaxStationPlatformLength to int8

---------

Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2024-03-24 21:49:50 +00:00
Michał Janiszewski
0581b1edd3 Fix #18413: Trying to set tooltip using null vehicle (#21662) 2024-03-24 21:21:18 +01:00
Harry Hopkinson
249c8259c1 Fix #20338: Scenery Picker Hotkey not selected with re-paint tool 2024-03-24 12:29:40 +01:00
Max
bc926057eb Fix #21419: Cannot build walls under sloped terrain
Co-authored-by: Gymnasiast <Gymnasiast@users.noreply.github.com>
2024-03-23 12:39:00 +01:00
Michael Steenbeek
6eb96b1b07 Fix #21604: Scenario selector shows incorrect guest objectives 2024-03-22 21:39:04 +01:00
Andrew
a972d231d7 Add shortcut key for sorting tile elements (#21636) 2024-03-22 15:24:10 +01:00
Andrew
693c422cd4 Prevent TI hotkey from setting wall slope for non-slopeable objects (#21635) 2024-03-22 11:20:48 +01:00
Michael Steenbeek
1470507d8e Fix Object Load Error and Scenery Scatter windows looking weird
These two windows (and only these two) inherited from WindowBase, rather than Window, and as such regressed because of #21572.
2024-03-22 02:51:41 +01:00
Michael Steenbeek
74364e2afc Fix #21641: NPE when creating track iterator from invalid tile element 2024-03-22 02:51:11 +01:00
Jan Kelemen
cb3b2a77e7 Move gWidePathTileLoopPosition and gGrassSceneryTileLoopPosition to GameState_t 2024-03-21 22:50:18 +01:00
Michał Janiszewski
4484dc647c Merge pull request #21631 from janisozaur/android-enable-more-libraries
Android: enable more libraries
2024-03-21 14:22:36 +01:00
Duncan
5a70fd97fb Move vehicle sounds update into Ui library (#21577)
* Move vehicle sounds update into Ui library

* Add missing statics

* Apply review comments

* Sprinkle some const

* Clang format accumulate
2024-03-20 11:14:52 +00:00
Michał Janiszewski
c166d69f22 Android: Compile x86_64 as well, needed for emulator 2024-03-18 12:18:20 +01:00
Michał Janiszewski
221877fa33 Android: Replace curl dependency with HttpAndroid Java implementation 2024-03-18 12:18:20 +01:00
Michał Janiszewski
723b9ed5bc Android: Update Java dependencies 2024-03-17 23:43:59 +01:00
Michał Janiszewski
b07b1e29dc Android: Enable more features (networking, multiplayeri, vorbis) 2024-03-17 23:43:59 +01:00
CoryY
3f81a491b0 Close #21569: Remove 'Window' from Window Open function names (#21613)
* Close #21569: Remove 'Window' from Window Open function names

Windows are all under the OpenRCT2::Ui::Windows namespace. As such, "Window" is removed from the Open functions names.

* Update Contributors.md

* Fix formatting TrackMangeOpen

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

* Fix formatting TrackPlaceOpen

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>

---------

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-03-17 06:37:46 +00:00
Michael Steenbeek
8963234eac Use same parameter names in g2/sprites.json and object json 2024-03-16 15:45:04 +01:00
Matt
6633509af6 Refactor peep update (#21605) 2024-03-16 06:35:55 -03:00
Claudio Tiecher
59958a6b8f Part of #21421: replace define with constexpr in Ride.h (#21602) 2024-03-16 06:34:01 -03:00
Harry Hopkinson
25d3db0f1f Move gParkRatingCasualtyPenalty to GameState_t (#21610) 2024-03-16 06:24:50 -03:00
Michael Steenbeek
2181f1b09e Part of #21193: move entities to GameState_t 2024-03-15 00:22:18 +01:00
Michael Steenbeek
0f927d720b Merge pull request #21579 from Gymnasiast/refactor/segments
Name segment constants and create a proper enum
2024-03-14 23:16:21 +01:00
Michael Steenbeek
0968d87668 Use non-breaking spaces around currency units 2024-03-14 21:43:51 +00:00
Michael Steenbeek
d2e7d57104 Close #21536: Replace ATOMIC_VAR_INIT() macro with constructor 2024-03-14 22:34:54 +01:00
Harry Hopkinson
8a6de886be Move awards to GameState_t (#21601) 2024-03-14 18:16:33 -03:00
Jan Kelemen
9bb678688e Fix #21434: Number of guests overflows in objective text 2024-03-14 19:49:57 +01:00
Harry Hopkinson
b69db13de3 Move gPeepWarningThrottle to GameState_t 2024-03-14 18:39:11 +01:00
Michał Janiszewski
5c00047bd1 Sync android project with docker build image 2024-03-11 21:06:46 +01:00
Michał Janiszewski
9524174d13 Use v14 images in CI
Fixes #19409
2024-03-11 20:55:13 +01:00
Peter Froud
1e51925968 Change "ternary" to "tertiary" (#21582) 2024-03-11 08:42:54 -03:00
Gymnasiast
7ae98f7421 Use EnumsToFlags() and create a proper enum 2024-03-11 01:12:35 +01:00
Gymnasiast
632f29e6a9 Name segment constants 2024-03-11 00:22:35 +01:00
Matt
6950a74b37 Fix #21565: Giant screenshots not working correctly 2024-03-10 21:24:40 +01:00
Michael Steenbeek
1981ca6b0b Close #16582: Translate in-game console help text 2024-03-10 19:46:21 +01:00
Harry Hopkinson
e486606189 Move gPeepSpawns to GameState_t (#21570) 2024-03-10 15:16:28 -03:00
Duncan
1d3bd31ab8 Deduplicate FormatStringID symbols 2024-03-10 18:15:49 +00:00
Michael Steenbeek
b219ab1ed4 Use LanguageGetString() if there is nothing to format 2024-03-10 18:48:23 +01:00
Michael Steenbeek
24f5675cab Remove WindowBase::IsLegacy() function (#21572) 2024-03-10 18:48:06 +01:00
Ryan Gudonis
65fa51976b Classify some LL scenarios as expert
Adjust difficulty categories for Loopy Landscape scenarios:
- Southern Sands
- Tiny Towers
- Nevermore Park
- Pacifica
2024-03-10 15:06:43 +00:00
Harry Hopkinson
78d95fc0bd Pass DrawPixelInfo by reference (#21563) 2024-03-10 12:00:08 -03:00
Michael Steenbeek
9ebe65b55a Fix building sloped banked 3×3 turns when coaster also has 1×1 turns
This fixes a bug that would prevent the user from building 3×3 banked sloped turns, if the roller coaster also had 1×1 flat turns enabled.
The Spinning Roller Coaster that @RealSteel89 is working on is the first one to do so, revealing this bug.
2024-03-10 14:35:18 +00:00
Duncan
7a60e7f2e0 OpenRCT2::Ui::Windows namespace for OpenRCT2 Ui Windows (#21559)
* Move all the windows into OpenRCT2::Ui::Windows namespace

* Fix missing symbol

* Clang format

* Call the correct FormatStringID
2024-03-10 13:52:35 +00:00
Michał Janiszewski
7634dfb6a3 Android: Enable plugins (#21561) 2024-03-09 20:03:36 +01:00
Duncan
3146d463bd Move Ui header items to OpenRCT2::Ui (#21546)
* Move ui definitions to ui project

* Enforce coding style

* Apply clang format

* Add clang tidy ignore

* Increase compiler happiness
2024-03-09 14:15:45 +00:00
Harry Hopkinson
0c1fb5fec0 Fix #21543: Game Crashing with invalid TrackIterator (#21547)
* Check if el is nullptr

Check if el is nullptr

Format

* Add changelog
2024-03-09 14:15:28 +00:00
Harry Hopkinson
048276b67a Move gLastEntranceStyle to GameState_t 2024-03-09 11:27:05 +01:00
Duncan
cb100db56e Put a number of OpenRCT2::Ui items in the OpenRCT2::Ui namespace 2024-03-07 23:36:49 +01:00