Commit graph

388 commits

Author SHA1 Message Date
d612b0afe6
SaveTool: various fixes for HiDPI screens. 2023-09-02 14:28:28 +02:00
f7a8962194
main,SaveTool,Configuration: further Wine support. 2023-08-31 12:34:34 +02:00
a1a155d0ac
Update CMake Find* modules. 2023-08-31 11:52:52 +02:00
ecdf7d736f
SaveTool: add a TODO for later. 2023-08-28 15:47:39 +02:00
3fc9243c81
Logger: also output to a file in debug mode.
CLion can't grab stdout on Wine/Proton, so this is the only way to get any
kind of output there.
2023-08-28 15:46:13 +02:00
81430de345
main: support running the app in Wine/Proton.
Turns out the flag I used for SHGetKnownFolderPath() is not only deprecated
starting with Win10 1703, but it also isn't implemented in Wine. It also was
completely useless because the Save Tool isn't a "packaged process", as the
docs call it. Ah, the joys of using WinAPI...
2023-08-28 15:03:11 +02:00
39d71a7a09
SaveTool: remove licences for third-party deps.
This should thin the exe up a bit.
2023-08-28 13:32:06 +02:00
4b3912f6ef
src/CMakeLists: change how deps are linked to.
This might break submodule builds on MSYS2. Not like I care anyway, as they
were already broken on my Arch rig.
2023-08-28 13:17:54 +02:00
4e98a89b9d
CMakeLists: add a better way to force static zlib.
This requires a minimum CMake version bump, but most systems should have
access to 3.24 by now, as it was released last year.
2023-08-28 13:14:00 +02:00
9f8c8191ca
CMakeLists: fix a condition.
Submodules should _not_ be used when using system libs, after all. Derp.
2023-08-28 13:10:41 +02:00
e9ce919fd0
CMakeLists: allow using system libs.
This should be useful for some setups, like my current one (see #31's opening
message).
2023-08-27 22:31:54 +02:00
1af948fe03
CMakeLists: add potential support for MSVC.
I won't provide actual support for it because MSVC sucks, but if someone wants
to use it or Clang-cl, now they can.
2023-08-27 21:58:14 +02:00
abac0570a4
CMakeLists: WHY IS THIS COMMAND SCREAMING ? 2023-08-27 21:56:06 +02:00
245b741590
CMakeLists: remove a duplicated variable.
Additionally, I started signing my commits with my SSH key, starting with the
previous one (eef4c72d3d). That was long overdue.
2023-08-27 21:51:16 +02:00
eef4c72d3d
Update SDL2 to latest version.
The .gitmodules file was also updated so that future submodule updates will
track the SDL2 branch from the repo. This will prevent updates from
accidentally checking out SDL3.
2023-08-27 21:40:45 +02:00
c3453ebfc7 Update most dependencies.
I'll update SDL2 separately.
2023-08-27 15:54:06 +02:00
c4f061aa65 CMakeLists: reorganise the sub-libs. 2023-01-13 10:03:28 +01:00
dc8fd24cb7 CMakeLists: we're working on 1.5 now. 2023-01-13 10:03:24 +01:00
5f43e143dc CMakeLists: change how defines are handled. 2023-01-13 10:02:29 +01:00
03472e56dc Profile,SaveTool: change how materials are handled. 2023-01-13 10:02:29 +01:00
8e0f0e5beb SaveTool: update a TextUnformatted() call. 2023-01-13 10:02:29 +01:00
9c074c24bd Update coding style.
Magnum's type names are fine, but I'd rather limit what depends on
Magnum as much as possible. Vector types are still allowed, though. No
way I'll write my own.
2023-01-13 10:02:29 +01:00
3c2cb001ff Match the new coding style I use. 2023-01-13 10:02:29 +01:00
c1701c19f4 Configuration: add missing licence text. 2023-01-13 10:02:29 +01:00
e336b37d81 SaveTool: move the configuration to its own class. 2023-01-13 10:02:29 +01:00
5ce73712cc SaveTool: add a wrapper over ImGui::Checkbox().
This way, I can make it work like radio buttons or selectables.
2023-01-13 10:02:29 +01:00
7b64d78b5b CMakeLists: bump version number. 2022-12-13 22:53:47 +01:00
59aa006611 Profile: actually fix the fix. 2022-12-13 22:53:36 +01:00
81b35476a0 CMakeLists: bump version number. 2022-12-13 21:08:30 +01:00
b909f0ac13 Profile: fix bug in material saving when array doesn't exist. 2022-12-13 21:03:43 +01:00
aff84ccc96 SaveTool: minor formatting changes. 2022-12-01 23:39:53 +01:00
8177d61755 SaveTool: fix some string-related issues. 2022-12-01 23:38:54 +01:00
c0943bd084 Bump version number. 2022-11-30 10:03:57 +01:00
6fa21128ab SaveTool: improve FPS capping mechanism. 2022-11-30 10:03:45 +01:00
a8ab212931 Bump version number. 2022-11-27 08:58:54 +01:00
9a7aaaeaca Update .gitignore. 2022-11-26 11:45:36 +01:00
b3bf75918e Update README. 2022-11-26 11:44:57 +01:00
9de6766750 SaveTool: add the libcurl version to the about screen. 2022-11-26 11:31:14 +01:00
90ff680aff Main: fix Clang builds.
For some reason, only GCC has setlocale() wrapped in the std namespace.
2022-11-26 11:30:48 +01:00
07fca7b0d0 SaveTool: make the update checker split on CRLF, not just LF.
Just in case...
2022-11-25 17:34:42 +01:00
4ea694ea6e SaveTool: add advanced mode.
This'll help hide undocumented values.
2022-11-25 17:10:56 +01:00
722cc511d6 Main: don't forget to initialise Logger.
Especially on release builds...
2022-11-25 17:10:26 +01:00
924838ecb4 Logger: cleanup. 2022-11-25 17:10:01 +01:00
dfd0d56ab0 Profile,SaveTool: add support for T6 materials. 2022-11-25 16:25:56 +01:00
89a10ff98d Maps/LastMissionId: update for version 0.9. 2022-11-25 15:19:37 +01:00
71fde374a9 Maps/StoryProgress: update for 0.9. 2022-11-25 15:19:21 +01:00
c7cc3ba76c Maps/WeaponParts: added the new ranged base parts. 2022-11-25 11:47:12 +01:00
0aa933e766 SaveTool: change the SDL version check. 2022-11-25 11:46:47 +01:00
5ea6f1e3a7 SaveToo: add HiDPI support to ImGui.
I... kinda forgot to do that.
2022-11-25 11:46:14 +01:00
32046d9bf8 Update dependencies and adapt to changes. 2022-11-25 10:33:55 +01:00