Aaron van Geffen
40aaf97c07
Update copyright years to 2026 ( #25741 )
2026-01-05 13:42:59 +00:00
Gymnasiast
6db4ac56f2
Refactor Steam path handling
2025-12-21 15:32:02 +01:00
Aaron van Geffen
49ef6768c5
Fix Windows build; use WIN32_LEAN_AND_MEAN in more places
2025-11-07 21:14:58 +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
1d75a2d746
Rename SINGLE_INSTANCE_MUTEX_NAME to kSingleInstanceMutexName
2025-07-04 19:08:27 +02:00
Michael Steenbeek
7fbbd0d2a5
Autodetect Steam installs of RCT Classic
2025-05-18 21:32:48 +02:00
Michael Steenbeek
a69f4f5d0f
Close #24319 : Autodetect Steam RCT Classic on Windows
2025-05-04 14:34:55 +02:00
Gymnasiast
5b7793f77b
Rename SPECIAL_FOLDER and its members
2025-03-26 12:06:31 +01:00
Silent
dd4f6a3036
Platform.Win32: Remove the last MAX_PATH
2025-02-15 11:54:13 +01:00
Aaron van Geffen
2302f0d2e3
Rework Localisation includes ( #23789 )
...
* Clean up internal localisation header includes
* Remove some external localisation includes
* Remove dependency on FormatCodes.h from InteractiveConsole.h
* Reduce Formatter.h, Localisation.Date.h includes
2025-02-07 22:36:42 +01:00
Aaron van Geffen
fa06a49302
Update copyright year to 2025 ( #23514 )
2024-12-31 20:30:04 +01:00
Aaron van Geffen
35e117aca2
Rename String methods to use lowerCamelCase
2024-12-11 22:49:37 +01:00
Aaron van Geffen
3685d1a24b
clang-format: change IndentPPDirectives to BeforeHash ( #23287 )
2024-11-29 12:04:56 +09:00
Michael Steenbeek
5397c816e2
Add Galician
2024-11-11 21:23:06 +01:00
Harry Hopkinson
e3dc02441a
Close #22470 : Set default paths for rct1/rct2 saves on Android
2024-09-29 11:06:05 +00:00
Aaron van Geffen
05e56517ab
Adopt existing namespaces into OpenRCT2 namespace ( #22368 )
...
* 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.
2024-07-26 09:59:58 +02:00
Aaron van Geffen
3fd91038c3
Rename Date.h to Localisation.Date.h to match unit file
2024-07-12 22:18:43 +02:00
Aaron van Geffen
b5ef2693b0
Remove common.h include from all units
2024-07-09 16:45:19 +02:00
Aaron van Geffen
8cef18cd2f
Include cassert as needed at unit level
2024-07-09 16:43:03 +02:00
Aaron van Geffen
51873dc0f6
Include Diagnostic.h at unit level
2024-07-09 16:23:31 +02:00
Aaron van Geffen
617003dff6
Use WIN32_LEAN_AND_MEAN in UiContext and Platform
2024-05-10 12:57:05 +02:00
AuraSpecs and Gymnasiast
d11a82aa4f
Add Ukrainian Language
...
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com >
2024-02-23 20:37:48 +01:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
ζeh Matt
99aea9dba8
Remove dead code
2023-06-30 17:13:35 +03:00
ζeh Matt
a83337b2da
Use chrono for GetTicks and move into Platform.Common.cpp
2023-06-27 22:21:42 +03:00
ζeh Matt
e19738b5d3
Remove Sleep functions and use Common version
2023-06-27 22:11:52 +03:00
Silent
c4b70358c8
More MAX_PATH removals ( #20113 )
...
* Refactor FileScanner to lift a MAX_PATH limit
* Replace Platform::EnsureDirectoryExists with Path::CreateDirectory
* Remove MAX_PATH from Platform.Posix.cpp
2023-05-09 20:08:46 +01:00
Michael Steenbeek and ζeh Matt
fd80b4c822
Refactor and clean up date handling ( #19666 )
...
* 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 >
2023-04-02 09:25:41 +01:00
Michael Steenbeek
bb55c6ce66
Remove loadsasnakes ( #19192 )
...
* Rename snake_case methods in scenario folder
* Rename snake_case methods in title folder
* Rename snake_case methods in object folder
* Rename snake_case methods in platform folder
* Rename snake_case methods in windows folder
* Rename tile_inspector.h to TileInspectorGlobals.h
* Rename snake_case methods in ui/windows folder
2023-01-17 19:46:55 +00:00
Hielke Morsink and duncanspumpkin
6b7dc8fcdb
Rename snake_case functions in openrct2/src folder
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk >
2023-01-17 13:24:51 +01:00
Gymnasiast
f4f6bfd5c5
Add Canadian French
2023-01-04 20:03:27 +01:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Hielke Morsink
31dd4bf604
Use lower-case u integral suffix
2022-10-29 16:33:05 +02:00
Silent
0f978fe907
Remove the last non-Unicode Windows functions
2022-10-07 15:05:43 +02:00
Silent
e825ffade7
Platform.Win32: Migrate to modern locale functions and names
2022-10-07 15:05:43 +02:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Silent
dc7e31f7af
Remove any traces of WinNT5.1 as per #16911
2022-06-20 21:26:40 +02:00
Silent
5e725913f8
Close #16566 : Favour WinNT preprocessor version checks over MinGW ( #16677 )
2022-03-11 07:59:09 -03:00
Hielke Morsink
6ba0a3bd49
Use u8 strings when dealing with file paths
2022-03-01 22:12:39 +01:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00
Silent
2ac24e7c3f
Win32: Fix a Y2038 bug in TimeToSystemTime ( #16681 )
2022-02-18 10:22:29 +00:00
Michael Steenbeek
63ed6c99a5
Make StrDecompToPrecomp() take C++ strings
2022-02-07 18:56:04 +01:00
Gymnasiast
f7adac3de2
Replace Platform::GetAbsolutePath() with fs:: equivalent
2022-01-26 15:19:15 +01:00
Michael Steenbeek
4192fc5cc8
Fix leftover references to SC6
2022-01-24 20:03:20 +01:00
Gymnasiast
c69ef062ab
Use return {} instead of return ""
2022-01-16 13:18:41 +01:00
Gymnasiast
f917fffe34
Upgrade platform_get_font_path()
2022-01-16 13:17:54 +01:00
Gymnasiast
310ad1e400
Upgrade platform_get_steam_dir()
2022-01-16 13:17:54 +01:00
Gymnasiast
feeadb3c98
Upgrade platform_process_is_elevated()
2022-01-16 13:17:54 +01:00
Gymnasiast
973c5999b0
Upgrade platform_get_locale_temperature_format()
2022-01-16 13:17:53 +01:00
Gymnasiast
90a74df3bc
Upgrade platform_get_locale_date_format()
2022-01-16 13:17:53 +01:00