1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 21:43:06 +01:00
Commit Graph

326 Commits

Author SHA1 Message Date
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
Ted John
7793f4c548 Update backtrace token for 0.3.4 2021-03-13 14:11:58 +01:00
Michael Steenbeek
e40c0af9fd Merge pull request #13682 from adam-bloom/macos_cmake_dylib
macOS CMake with vcpkg dependencies
2021-03-01 14:53:37 +01:00
adam-bloom
7bea24708e Fix GetBundlePath, add install paths to match cmake install 2021-02-28 15:48:29 -07:00
Michał Janiszewski
6249635fb8 Guard potentially unused const with proper defines 2021-02-28 23:10:25 +01:00
Michał Janiszewski
24f0407740 Add missing include in Windows. cpp 2021-02-25 10:56:27 +01:00
Michael Steenbeek
7274c6a7e7 Remove some unused symbols 2021-02-18 21:15:50 +01:00
skdltmxn
7ef4d7762f Refactor to avoid unnecessary copies (#13736)
* Refactor to avoid unnecessary copies

* Fix dangling references
2021-01-11 18:14:15 -03:00
Mathias Gibbens
b1e5a11bf3 Several more spelling fixes (#13752)
Signed-off-by: Mathias Gibbens <mathias@calenhad.com>

Co-authored-by: Mathias Gibbens <mathias@calenhad.com>
2021-01-10 18:23:35 +00:00
Michael Steenbeek
1da6ae6b51 Merge pull request #13710 from skdltmxn/refactor/string_view
Refactor/string view
2021-01-10 13:37:01 +01:00
skdltmxn
b0a8ebc808 Refactor to use push_back more efficient (#13726) 2021-01-08 20:59:55 +00: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
Aaron van Geffen
89cc45908f Replace Backtrace token for v0.3.2 2020-11-01 10:18:49 +01:00
Bryan DiLaura
894be65b6d Closes #12415: Refactor CURRENCY_TYPE to strong enum (#13276)
* closes #12415 CURRENCY_TYPE enum refactor

* reverses unintended change in Linux.cpp

* closes #12415 CurrencyType strong enum
2020-10-25 01:33:06 -03:00
Keith Stellyes
171132fb6d Add Execute and FindApp to Platform class 2020-10-22 21:17:28 +02:00
ζeh Matt
0c099be01c Export loaded objects alongside inside the save for Backtrace reports (#13213) 2020-10-21 23:15:29 -03:00
Tulio Leao
f56039abfd Close #5520: Use std::filesystem over fts.h for recursive deletion 2020-10-11 17:15:05 +02:00
Aaron van Geffen
8726b37951 Remove remaining old style casts from macos.mm (#13153) 2020-10-10 23:45:50 +02:00
Mike Jones
4c26fb09b3 Close #12435: Refactor FILEDIALOG_TYPE to use strong enum (#13072)
* Close #12435: Refactor FILEDIALOG_TYPE to use strong enum
2020-10-02 22:43:06 -03:00
Gymnasiast
5f0aed0929 Add .sea support to New Scenario list and extension handling 2020-09-28 21:17:28 +02:00
Tulio Leao
afff2c10f2 Add new backtrace token for v0.3.1 2020-09-27 17:35:46 -03:00
Tulio Leao
720c17eea6 Cleanup c-style casts from Platform.Win32.cpp 2020-09-10 21:36:21 +02:00
Tulio Leao
e032ba091d Cleanup c-style casts from Shared.cpp 2020-09-10 21:36:21 +02:00
Tulio Leao
2a85374c6a Cleanup c-style casts from Windows.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
Michał Janiszewski
c8fbffa0e2 Update backtrace token for upcoming release 2020-08-13 23:28:31 +02:00
Matt Thomson
a8f8f06e2d Fix #12402: Refactor MEASUREMENT_FORMAT to use strong enum (#12642)
* Fix #12402: Refactor MEASUREMENT_FORMAT to use strong enum

* Remove redundant default branches

Co-authored-by: Matt Thomson <matt-thomson@users.noreply.github.com>
2020-08-13 21:51:28 +01:00
Michael Lu
7cd6e72edd Refactor TEMPERATURE_FORMAT to use strong enum (#12610)
* Refactor TEMPERATURE_FORMAT to use strong enum

* Rename TEMPERATURE_FORMAT to TemperatureFormat

* Rename TemperatureFormat to TempueratureUnit
2020-08-09 07:26:46 +01:00
Matt
30376085cf Include missing headers 2020-08-05 16:29:29 +02:00
TELK
bf08943929 Fix #12352: Wrong date format for file names (#12543)
Issue likely caused by 5ae592ec79

Also see: https://en.cppreference.com/w/cpp/chrono/c/tm
2020-08-01 18:43:19 +02:00
Aaron van Geffen
7b5087f057 Update copyright year to 2020 2020-07-21 15:04:34 +02:00
Duncan
b1f80efbe3 Use u8path on file path (#12205) 2020-07-12 21:56:02 +01:00
frutiemax
508344a088 Close #12174: Remove Formatter additions with uintptr_t 2020-07-11 18:56:12 +02:00
frutiemax
26ae2dbf04 Part of #11437: Move PlatformFileExists to Platform2.h (#12077) 2020-07-02 12:03:31 -03:00
frutiemax
5ae592ec79 Part of #11437: Move GetDateLocal and GetTimeLocal in Platform2.h 2020-06-28 21:46:14 +02:00
frutiemax
d2542194fa Part of #11437: move window_setup_file_association(s) in Platform2.hpp 2020-06-23 22:58:40 +02:00
Michael Steenbeek
e83b86df4d Replace occurrences of OpenRCT with OpenRCT2 (#11898) 2020-06-08 15:11:07 +02:00
Ted John
46bb30f8a1 Refactor rct_palette to GamePalette 2020-05-27 20:52:51 +01:00
Michael Steenbeek
d7637cd70f Replace many C-style casts (#11720) 2020-05-11 14:32:56 +02:00
Michael Steenbeek
0ecc64f781 Fix #11407: Setting an RCT1 path needs better error messages (#11418) 2020-04-25 15:36:44 +02:00
Michał Janiszewski
295a98028e Disable warnings around incompatible function pointer cast (#9543)
This addresses a compilation issue with newer (8+) mingw.

Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2020-04-24 16:03:03 +02:00
ifimfree
aaaae16d15 Close #11209: Show a warning when the user is running OpenRCT2 in Wine (#11395) 2020-04-23 19:12:54 +02:00