Commit Graph
252 Commits
Author SHA1 Message Date
Michael Steenbeek c8445ebbeb Merge pull request #25641 from Gymnasiast/refactor/inspection
Refactor inspection interval and fix bugs
2025-12-31 12:54:19 +01:00
Gymnasiast cb7f720e87 Change inspection interval to use enum class 2025-12-25 12:24:20 +01:00
Gymnasiast 3c318a82cc Create function to trigger Steam download 2025-12-21 15:32:54 +01:00
Gymnasiast b7608126a7 Move RCT2 Steam path retrieval to its own function 2025-12-21 15:32:02 +01:00
Gymnasiast 6db4ac56f2 Refactor Steam path handling 2025-12-21 15:32:02 +01:00
Michael Steenbeek a8e9a6b385 Fix RCT1/2 install confusion when both are present 2025-11-07 20:08:10 +01:00
Michał Janiszewski c2ed2bd854 Update process execution flow for Linux (#25206)
Previously zenity/kdialog were launched in a way that would prevent
events from getting pumped to the new application in some scenarios.

This new approach, mimicked from
https://github.com/libsdl-org/SDL/blob/9859c051781771015356e31f941bab40a763bea9/src/video/wayland/SDL_waylandmessagebox.c#L40-L75
fixes this problem for compositors where it used to be a problem.

In particular, this fixes the system dialog not launching on the Steam
Deck.
2025-10-29 07:50:49 +00:00
Gymnasiast f0e2881e04 Rename members of CurrencyAffix 2025-10-07 20:25:06 +02:00
Gymnasiast 8457be26e9 Rename members of CurrencyType 2025-10-07 20:24:44 +02:00
Gymnasiast daa4fe8ac3 Rename field of all config categories 2025-10-07 20:21:32 +02:00
Aaron van Geffen cecac8ee0b Drop 'Network' from namespaced network constants 2025-09-05 12:53:42 +02:00
Aaron van Geffen 5a4cc7d00d Remove Network function name prefixes given namespace qualifiers 2025-08-31 16:02:43 +02:00
Aaron van Geffen 2e219ec1e7 Introduce option to show minimap previews in LoadSave browser 2025-07-18 15:53:29 +02:00
Aaron van Geffen 82ab76824f Config.cpp: fix serialisation for sorting by file size 2025-07-18 14:41:52 +02:00
Michał Janiszewski 763242b14d Add ability to scroll the map with gamepad stick 2025-07-03 22:48:59 +02:00
Michael Steenbeek f9b132e24d Remove sorting by difficulty in the scenario selector
This is barely used, complicates the scenario selector and Options window, and will get in the way when adding RCTC and custom campaign support. Time to remove it.
2025-06-24 10:53:26 +00:00
Michał Janiszewski 0e9982d6ca Drop "Pause game when Steam overlay is open" feature
As shown in https://github.com/OpenRCT2/OpenRCT2/pull/24618, the steam
overlay feature doesn't work well and can cause jarring user experience
in some scenarios. It is only supported in the software renderer and
with code moving steadily to OpenGL, the time has come to remove a
broken feature.
2025-06-16 21:57:56 +02:00
Aaron van Geffen 34a22113eb Default to using screenshots for scenario previews 2025-05-30 21:42:53 +02:00
Aaron van Geffen 0f59d6dd02 Optionally allow scenario previews to use screenshots 2025-05-21 18:07:19 +02:00
Michael Steenbeek 7fbbd0d2a5 Autodetect Steam installs of RCT Classic 2025-05-18 21:32:48 +02:00
Matt 42df41efdb Remove the use of shared_ptr for the Context (#24404)
* Replace shared_ptr with unique_ptr for Context systems, return refs

* Fix all the users

* clang-format fix

* Fix linux builds
2025-05-15 22:46:06 +03:00
Michael Steenbeek d74f262b1d Fix SOFTWARE_HWD config enum name 2025-05-03 11:07:06 +02:00
Matt 323c616982 Rename config SOFTWARE to SOFTWARE_HW so it works on older versions (#24325) 2025-05-02 15:25:53 +00:00
ζeh Matt e5744076fc Disable LightFX for OpenGL 2025-05-02 01:03:15 +03:00
ζeh Matt 78491aec26 Apply review comments 2025-05-01 15:10:39 +03:00
ζeh Matt 730ceb5c33 Adjust code, deprecate and fallback to HW if software was selected 2025-04-30 18:10:12 +03:00
Michael Steenbeek 47e0d80885 Fix #23443: New GOG version of RCT2 is not extracted correctly 2025-03-30 21:30:56 +02:00
Gymnasiast 5b7793f77b Rename SPECIAL_FOLDER and its members 2025-03-26 12:06:31 +01:00
Gymnasiast 622a8dc525 Rename DIRBASE and its members 2025-03-25 22:47:09 +01:00
Gymnasiast c5fff2bb77 Create enum class for FileMode 2025-03-25 22:47:08 +01:00
Gymnasiast be31812fa8 Create strong enum for ScenarioSelectMode 2025-03-25 15:09:23 +01:00
Aaron van Geffen af26d8c1d4 Implement embedded preview screenshots 2025-02-19 16:19:47 +01:00
73 a976a43708 Rename network.h to Network.h (#23882) 2025-02-24 10:43:06 +01:00
cfb28cd511 Turn Rotate View dropdown into two buttons
Co-authored-by: Gymnasiast <gymnasiast@users.noreply.github.com>
Co-authored-by: MasterTomNL <tomvanderlek@gmail.com>
2025-01-30 23:02:36 +01:00
Aaron van Geffen 0e95d034eb Allow file browser to optionally display file sizes 2025-01-04 18:17:38 +01:00
Aaron van Geffen ee561adc4c Rename Config::Sort to Config::FileBrowserSort 2025-01-04 16:24:00 +01:00
Aaron van Geffen aede038ba3 Remember preferred file browser dimensions 2025-01-04 16:18:27 +01:00
Aaron van Geffen fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Aaron van Geffen 6ee798337a Introduce EnumUtils header (#23407) 2024-12-15 17:39:52 +01:00
Aaron van Geffen 35e117aca2 Rename String methods to use lowerCamelCase 2024-12-11 22:49:37 +01:00
Gymnasiast 95178be1b9 Remove C strings in ContextOpenCommonFileDialog() 2024-10-30 12:47:38 +01:00
Harry Hopkinson e3dc02441a Close #22470: Set default paths for rct1/rct2 saves on Android 2024-09-29 11:06:05 +00:00
Gymnasiast 78e12b9684 Revert "Revert 9e1b24d"
This reverts commit 06302f7f06.
2024-09-22 19:56:02 +02:00
Aaron van Geffen e70ca5c889 Allow staff to use ‘real’ names as well (#22732) 2024-09-15 20:18:00 +00:00
Tulio Leao 06302f7f06 Revert 9e1b24d 2024-08-31 17:48:35 -03:00
Harry Hopkinson 9ff90adf87 Adjust more constants to new constexpr notation (#22463)
* Rename DUCK_MAX_STATES to kDuckMaxStates

* Rename DuckMoveOffset to kDuckMoveOffset

* Rename DuckAnimationFlyToWater to kDuckAnimationFlyToWater

* Rename DuckAnimationSwim to kDuckAnimationSwim

* Rename DuckAnimationDrink to kDuckAnimationDrink

* Rename DuckAnimationDoubleDrink to kDuckAnimationDoubleDrink

* Rename DuckAnimationFlyAway to kDuckAnimationFlyAway

* Rename DuckAnimations to kDuckAnimations

* Rename ReplayVersion to kReplayVersion

* Rename ReplayMagic to kReplayMagic

* Rename ReplayCompressionLevel to kReplayCompressionLevel

* Rename NormalRecordingChecksumTicks to kNormalRecordingChecksumTicks

* Rename SilentRecordingChecksumTicks to kSilentRecordingChecksumTicks

* Rename WindowButtonsOnTheLeftDefault to kWindowButtonsOnTheLeftDefault
2024-08-04 21:46:32 +02:00
Aaron van Geffen b02d461b02 Make SoftwareWithHardwareDisplay the default drawing engine (#22346) 2024-07-27 19:53:11 +02:00
Karsten Van FossanandAaron van Geffen 0c318a416e Automatically set window scaling based on display pixel density (#21907)
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-07-21 22:10:32 +02:00
Aaron van Geffen 896eb4f488 Consolidate FormatStringIDLegacy, FormatStringToUpper into Formatting 2024-07-13 14:09:58 +02:00
Aaron van Geffen 51873dc0f6 Include Diagnostic.h at unit level 2024-07-09 16:23:31 +02:00