1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00
Commit Graph

20450 Commits

Author SHA1 Message Date
Aaron van Geffen
10c97c6599 CustomWindow: change spinner button order to match internal windows 2024-05-22 19:59:16 +02:00
Aaron van Geffen
57bdae9d49 Refactor WindowOtherWheelInput to be safer and script window compatible 2024-05-18 15:59:12 +02:00
Aaron van Geffen
fd12a507a0 Pause the game while LoadSave window is open (#22084) 2024-05-24 23:32:57 +02:00
Aaron van Geffen
e8a009bb3c Fix width calculation in asset packs window (#22097) 2024-05-24 23:27:09 +02:00
Ryan Gudonis
f5834d67db Change difficulty order for Time Twister scenarios (#22057)
Based off a playtest session by HtotheTML (https://github.com/OpenRCT2/OpenRCT2/discussions/22055)

Co-authored-by: HtotheTML <108596959+HtotheTML@users.noreply.github.com>
2024-05-24 13:57:56 +00:00
Aaron van Geffen
adc8c5e6a2 Close the gap in advanced options tab (#22088) 2024-05-23 21:17:44 +02:00
Michael Steenbeek
308cc3c9a0 Fix #14630: Number separators not processed correctly 2024-05-23 21:08:28 +02:00
Aaron van Geffen
04fa09e8df Allow mechanics to be assigned the drowning animation (#22071) 2024-05-20 22:36:33 +02:00
Aaron van Geffen
6cb49d2e3b Fix #22066: FPS counter copied over viewport when using centred toolbar (#22068) 2024-05-20 15:04:27 +02:00
Michael Steenbeek
06e2363b1e Merge pull request #20263 from IntelOrca/shift-map
Add functionality to shift the entire map
2024-05-19 21:33:52 +02:00
Gymnasiast
7d3ac7ea9d Add moveTo() to Widget 2024-05-19 20:20:29 +02:00
Gymnasiast
b5743eccbc Use new progress bar widgets in Guest window 2024-05-19 20:20:29 +02:00
Gymnasiast
250a26fb14 Use new progress bar widgets in Ride window 2024-05-19 20:20:29 +02:00
Gymnasiast
ae88b7b0fc Create progress bar widget 2024-05-19 20:20:29 +02:00
Michael Steenbeek
eaba5f356c Replace assertions in DecodeChunkRLEWithSize() (#22061) 2024-05-19 16:15:18 +02:00
Michael Steenbeek
15d5f75a2b Merge pull request #21853 from Gymnasiast/feature/touch-mode
Add enlarged UI
2024-05-18 22:22:10 +02:00
Gymnasiast
a3a09577be Fix outdated patrol areas showing up after map shift 2024-05-18 21:10:53 +02:00
Gymnasiast
3bb1f8e18a Guard more moves with null check 2024-05-18 21:10:53 +02:00
Gymnasiast
dde7a8270a Only shift ride locations if they are not null 2024-05-18 21:10:53 +02:00
Gymnasiast
308912b8ce Fix rebase error 2024-05-18 21:10:53 +02:00
Gymnasiast
86f80faca8 Also shift jumping fountains and map animations 2024-05-18 21:10:53 +02:00
Gymnasiast
4f41734dc5 Update for changes on develop 2024-05-18 21:10:53 +02:00
Ted John
1c2bc82456 Fix ShiftMap when x or y is 0 but not both 2024-05-18 21:10:53 +02:00
Ted John
e887662d15 Fix shifting of banner positions 2024-05-18 21:10:53 +02:00
Ted John
58292caf22 Fix code formatting for Map.cpp 2024-05-18 21:10:53 +02:00
Ted John
641d8f70aa Get the entity tweener outside the loop 2024-05-18 21:10:53 +02:00
Ted John
13c4ee5213 Do not tween entities when shifting them 2024-05-18 21:10:53 +02:00
Ted John
776fa71a4f Use edge as template for new tiles 2024-05-18 21:10:52 +02:00
Ted John
abc67f09e6 Add ability to shift map 2024-05-18 21:10:52 +02:00
Gymnasiast
99b99ef0c5 Automatically use multiple dropdown columns 2024-05-18 20:57:02 +02:00
Gymnasiast
270c6320b9 Keep all dropdowns open when using Enlarged UI 2024-05-18 20:56:37 +02:00
Gymnasiast
c0d425357e Use more space for dropdowns when using Enlarged UI 2024-05-18 20:56:34 +02:00
Gymnasiast
5522b5cb03 Add Enlarged UI setting 2024-05-18 20:55:20 +02:00
Michael Steenbeek
311628dadf Condense diagonal straight flat drawing even more 2024-05-18 20:32:31 +02:00
Aaron van Geffen
4e2f546d14 Fix sound effects not working 2024-05-18 13:12:08 +02:00
rohan4412
24a24e3f53 Part of #21421: Replace constants that use #define with ones that use constexpr (#21883)
* rename MAX_SCROLLING_TEXT_MODES to kMaxScrollingTextModes

* Rename FRAME_RENDERING_START to kFrameRenderingStart

* Rename FRAME_EFFECTS_START to kFrameEffectStart

* Rename CONTROLS_GROUP_START to kControlsGroupStart

* Rename THEMES_GROUP_START to kThemesGroupStart

* Rename TOOLBAR_GROUP_START to kToolbarGroupStart

* Rename TITLE_SEQUENCE_START to kTitleSequenceStart
2024-05-18 10:37:42 +00:00
Aaron van Geffen
69847a02ed Open NetworkStatus window quietly (#22059) 2024-05-18 10:54:08 +02:00
Aaron van Geffen
b3b62c86be Rename two shortcut string ids that did not follow conventions 2024-05-11 12:51:53 +02:00
Aaron van Geffen
828aeadf5b Deal with -Wdeprecated-anon-enum-enum-conversion warnings 2024-05-11 11:24:01 +02:00
Aaron van Geffen
ef4cad5ee3 Move UI exclusive string ids to UiStringIds.h 2024-05-10 23:24:46 +02:00
Harry Hopkinson
ef8618209e Move gMarketingCampaigns to GameState_t 2024-05-17 21:20:27 +02:00
Aaron van Geffen
2ff3295587 Report FileIndex index progress to Context
Progress is passed on to PreloaderScene and NetworkInfo window from there.
2024-05-06 14:26:00 +00:00
Aaron van Geffen
3e000d550b Prevent NetworkStatusWindow border from flashing on update 2024-05-06 15:44:07 +02:00
Aaron van Geffen
db73b1fede Move TitleSequenceManager::Scan into preloader as well
Add strings for checking and loading title sequence
2024-05-06 14:08:49 +02:00
Aaron van Geffen
809fe4a51b Initialise scenes only when they are first accessed 2024-05-06 14:08:35 +02:00
Aaron van Geffen
3cda6e367b Don't use preloader scene when in headless mode to fix replay tests
This splits off the initialisation calls to a new InitialiseRepositories function.

The SetCompletionScene invocation is moved to the Launch method. When the game is running
in headless mode, the preloader is not used. Instead, InitialiseRepositories is called in-thread,
and the transition to the 'completion scene' happens immediately after.
2024-04-25 23:55:52 +02:00
Aaron van Geffen
fe7152fc72 Skip viewport render during preloader
Reset screen to a nice background colour
2024-04-24 23:15:21 +02:00
Aaron van Geffen
9f45d40bae Add localisable progress status messages 2024-04-24 19:40:46 +02:00
Aaron van Geffen
7c4be9ce92 Introduce PreloaderScene for game initialisation
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2024-04-24 18:31:00 +02:00
Stephan Spengler
f4156e9043 Create or delete banners when tile elements are changed by plugins (#21627) 2024-05-17 07:54:51 -03:00