ζ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
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
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
Gymnasiast
95717573f5
Upgrade platform_get_locale_measurement_format()
2022-01-16 13:17:53 +01:00
Gymnasiast
6bcf848b2f
Use C++ filesystem for more file/path functions
2022-01-08 19:07:48 +01:00
Gymnasiast
919c73d030
C++-ify most path handling
2022-01-08 16:58:57 +01:00
Gymnasiast
3f22b60f94
Upgrade platform_get_locale_currency()
2022-01-08 12:56:14 +01:00
Gymnasiast
12034b2d36
Upgrade platform_get_locale_language()
2022-01-08 12:56:14 +01:00
Gymnasiast
a21e545917
Upgrade platform_get_username()
2022-01-05 15:26:52 +01:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
Silent
95388cfbb1
Add File::GetSize to get object size in a simpler way
...
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.
2021-05-21 19:55:42 +02:00
Tulio Leao
e23eaa164b
Extract RequireNewWindow to Platform
2021-03-26 23:17:01 -03:00
Tulio Leao
62fc4c8034
Extract ResolveCasing to Platform
2021-03-26 23:17:01 -03:00
Tulio Leao
c7ae064a4c
Extract ShouldIgnoreCase to Platform
2021-03-26 23:17:01 -03:00
Tulio Leao
9a071aef76
Extract GetAbsolutePath to Platform
2021-03-26 23:17:01 -03:00
Tulio Leao
f15bbd220a
Extract IsPathSeparator to Platform
2021-03-25 23:45:01 -03:00
Tulio Leao
f372117939
Extract GetLastModified to Platform
2021-03-14 09:36:44 -03:00
Michał Janiszewski
6249635fb8
Guard potentially unused const with proper defines
2021-02-28 23:10:25 +01:00
skdltmxn
c093a50f3f
Refactor to use string_view more properly
2021-01-07 01:52:10 +09:00
Gymnasiast
09c6339bd4
Stub Execute() for Win32
2021-01-03 17:53:15 +01:00
Gymnasiast
72cc8df395
Stub FindApp on Windows
2021-01-03 17:53:14 +01:00
Gymnasiast
5f0aed0929
Add .sea support to New Scenario list and extension handling
2020-09-28 21:17:28 +02:00
Tulio Leao
720c17eea6
Cleanup c-style casts from Platform.Win32.cpp
2020-09-10 21:36:21 +02:00
Michał Janiszewski
c6b10bb051
Make GetCurrentExecutableDirectory public ( #12791 )
2020-08-27 21:03:41 +02:00
Michał Janiszewski
3d12dfec3e
Part of #11437 : Refactor Win32 RemoveFileAssociations to Platform2 ( #12773 )
...
Additionally fixes missing changes from previous refactor in #12036 that
borked WinNT 5.1 support
2020-08-25 23:20:24 +02:00
Matt
30376085cf
Include missing headers
2020-08-05 16:29:29 +02:00