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
9859c05178/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.
* Put all of TitleSequenceManager into the same namespace
* Move RideConstructionState into the OpenRCT2 namespace
* Adopt existing namespaces into OpenRCT2 namespace
This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
* Update Steam path detection for Linux
As Steam now uses Proton to install Windows version natively, update
paths so they get found automatically
* Use new Steam path detection on Linux only
This restores Steam path detection on macOS as it doesn't have Proton
* Remove old interop macro
* Remove legacy string macro things
* Unbreak the posix/linux/unix builds
* Add String::IEquals and use it for case insensitive compare
* Add missing include for posix
* Replace _strnicmp with String::StartsWith
* Add LoByte and HiByte into Util.h, swap macros
* Fix android build
* Hopefully last of the string things
* Replace STUB directly with the warning
* Refactor FileScanner to lift a MAX_PATH limit
* Replace Platform::EnsureDirectoryExists with Path::CreateDirectory
* Remove MAX_PATH from Platform.Posix.cpp
* Refactor and clean up date handling
* Remove gDate, remove direct access to days_in_month
* Adjust the MultiLaunch test
* Bump network version
---------
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
Drastically reduces startup speed because of the
optimization applied to ObjectAsset::GetSize - now the file
size is obtained without reading the entire file into memory.