Commit graph

505 commits

Author SHA1 Message Date
90fd22225f
ProfileManager: adapt to Corrade changes. 2023-11-29 13:00:05 +01:00
5af4ad0e66
Update submodules.
libzip also changed its branch name from master to main, so adapt to
that too.
2023-11-29 12:58:52 +01:00
819e144410
Reorganise code.
This is a big one. Namespacing, general formatting updates, and
renaming, among others.
2023-11-29 12:33:26 +01:00
9e7547a1cd SaveTool: fix an issue with the file watcher.
Closes #32.
2023-10-29 16:46:08 +01:00
066ce6ac70 CMakeLists: only set the WIN32 property in release mode.
I can't find the setting that allows CLion to capture stdout when
running normally anymore, so this is the next best thing.
2023-10-29 15:45:22 +01:00
57b4af4637 SaveTool: fix the checker mutex not unlocking properly. 2023-10-29 15:42:15 +01:00
e4ef5d4423 SaveTool: remove a debug message. 2023-10-29 15:41:46 +01:00
a7b0c894d0 UpdateChecker: fix segfault when checking for updates.
Couldn't have known the lambda would have caused issues.
2023-10-29 15:26:26 +01:00
088f357a6b CMakeLists: fix issues finding libzip and efsw. 2023-10-29 15:25:34 +01:00
938bf7b8b5 Logger: go back to outputting to the console.
Considering I went back to Windows, this is gonna be better than
outputting to a file.
2023-10-29 15:24:27 +01:00
389dabfc77
SaveTool: separate update checking mechanism.
THIS IS BROKEN, ONLY BUILD THIS COMMIT FOR DEBUGGING PURPOSES!
2023-10-29 11:32:17 +01:00
07cbaefeac
General code maintenance. 2023-10-29 11:31:21 +01:00
f9aa4bc817
SaveTool: Update the M.A.S.S. viewer weapon screen. 2023-10-29 10:48:31 +01:00
e634ef037d
Change how the project version is defined. 2023-10-29 10:40:02 +01:00
bb85c3d6b0
src/CMakeLists: make project less Windows-only. 2023-10-29 10:36:46 +01:00
b19c3e0025
Logger: indent some preprocessor stuff.
Should have been indented from the get-go, but I forgot about it.
2023-09-30 11:06:19 +02:00
1851867b7e
Update copyright year.
This was long overdue...
2023-09-02 18:30:29 +02:00
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