Hielke Morsink
9dd20ec619
Improve array formatting
...
For most of these cases, adding a trailing comma to the array block makes clang-format put each item on a new line, and clang-format exception blocks could be reduced where clang-format does not handle them properly.
2021-10-17 18:21:45 +02:00
Hielke Morsink
c2d3ca5f85
Automatically deduce std::array types
...
This also improves formatting of some arrays with weird or no indention.
2021-10-14 23:27:28 +02:00
Silent
5fcbc3a53d
Fix #15299 : Breakpad crash dumps are created in game directory
2021-10-05 18:23:06 +02:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
Gymnasiast
bdab3219cb
Modify object loading for JSON-only objects
2021-09-15 11:28:39 +02:00
ζeh Matt
59a6c34db4
Make use of std::optional strict
2021-09-13 20:02:32 +03:00
Hielke Morsink
15d3a4a9da
Update more include guards ( #15254 )
2021-08-21 12:55:28 +02:00
Hielke Morsink
dd2467d805
Update include guards
...
- Update from C-style to pragma once
- Add missing include guard to ui.h
2021-08-21 09:43:26 +02:00
ZehMatt
47287e7fb1
Save crash dumps into a separate directory
2021-07-27 18:39:13 +03:00
ZehMatt
dab33b3347
Add version to the crash dump info
2021-07-26 00:39:39 +03:00
duncanspumpkin
e8e7bdb776
Update Backtrace.io token for v0.3.4.1
2021-07-25 20:04:58 +01:00
Gymnasiast
5584c96d33
Update Backtrace.io token for v0.3.4
2021-07-19 12:50:08 +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
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