Commit Graph

423 Commits

Author SHA1 Message Date
Guillaume Jacquemin 0b46403ede
Application: add menu entries for the new folders. 2024-03-09 18:36:53 +01:00
Guillaume Jacquemin efc3fe0dc7
Application: move folder management to Configuration.
Also, add new folders for the upcoming weapon/armour/style
export/import mechanism.
2024-03-09 18:09:27 +01:00
Guillaume Jacquemin 43420d2277
main: improve an error message. 2024-03-09 17:38:52 +01:00
Guillaume Jacquemin ba3769404d
Configuration: update formatting. 2024-03-08 21:53:12 +01:00
Guillaume Jacquemin f68dee939e
Gvas: improve a loop to avoid a useless move. 2024-03-08 21:20:11 +01:00
Guillaume Jacquemin 3c79f39046
Gvas: separate Binary{Reader,Writer}.
The functionality has been moved to BinaryIo::{Reader,Writer} to
prepare for exporting build parts.
2024-03-08 21:18:17 +01:00
Guillaume Jacquemin 3bc750436f
Logger,Gvas: reintegrate into main project.
Separate libraries made things a bit messy, to be honest.
2024-03-08 20:55:05 +01:00
Guillaume Jacquemin e156196b98
Update copyright year.
Now's a good time as any, I guess.
2024-03-08 20:25:32 +01:00
Guillaume Jacquemin 3a3b5bfdff
GameData: change the style name map's, well, name. 2024-03-08 19:27:44 +01:00
Guillaume Jacquemin ca050b0e48
Update Corrade, Magnum, ImGui. 2024-03-08 19:27:22 +01:00
Guillaume Jacquemin 22f5fc947c
Application: use iterators for TextUnformatted calls.
Corrade's string views aren't guaranteed to be null-terminated,
though most of them come from strings, which _are_
null-terminated. Still, safety first.
2024-02-08 11:08:14 +01:00
Guillaume Jacquemin 7ce726f933
Application: redo the whole armour tab. 2023-12-04 15:25:02 +01:00
Guillaume Jacquemin 570134ced0
Application: fix link to MBST's Git repo. 2023-12-04 15:24:05 +01:00
Guillaume Jacquemin ca7b71fb36
Application: tweak decal editor layout. 2023-12-04 13:44:57 +01:00
Guillaume Jacquemin 132c46da89
Application: remove a separator in the weapons tab. 2023-12-04 12:03:33 +01:00
Guillaume Jacquemin d9755a31fe
Application: update layout in the frame editor.
That table for the joint sliders was ugly as fuck. I'm glad to be
rid of it.
2023-11-29 13:51:36 +01:00
Guillaume Jacquemin bf7f6d24f3
Application: adapt to ImGui changes. 2023-11-29 13:12:18 +01:00
Guillaume Jacquemin df9e6bcd17
CMakeLists: change how libcurl is found. 2023-11-29 13:00:31 +01:00
Guillaume Jacquemin 90fd22225f
ProfileManager: adapt to Corrade changes. 2023-11-29 13:00:05 +01:00
Guillaume Jacquemin 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
Guillaume Jacquemin 819e144410
Reorganise code.
This is a big one. Namespacing, general formatting updates, and
renaming, among others.
2023-11-29 12:33:26 +01:00
Guillaume Jacquemin 9e7547a1cd SaveTool: fix an issue with the file watcher.
Closes #32.
2023-10-29 16:46:08 +01:00
Guillaume Jacquemin 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
Guillaume Jacquemin 57b4af4637 SaveTool: fix the checker mutex not unlocking properly. 2023-10-29 15:42:15 +01:00
Guillaume Jacquemin e4ef5d4423 SaveTool: remove a debug message. 2023-10-29 15:41:46 +01:00
Guillaume Jacquemin 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
Guillaume Jacquemin 088f357a6b CMakeLists: fix issues finding libzip and efsw. 2023-10-29 15:25:34 +01:00
Guillaume Jacquemin 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
Guillaume Jacquemin 389dabfc77
SaveTool: separate update checking mechanism.
THIS IS BROKEN, ONLY BUILD THIS COMMIT FOR DEBUGGING PURPOSES!
2023-10-29 11:32:17 +01:00
Guillaume Jacquemin 07cbaefeac
General code maintenance. 2023-10-29 11:31:21 +01:00
Guillaume Jacquemin f9aa4bc817
SaveTool: Update the M.A.S.S. viewer weapon screen. 2023-10-29 10:48:31 +01:00
Guillaume Jacquemin e634ef037d
Change how the project version is defined. 2023-10-29 10:40:02 +01:00
Guillaume Jacquemin bb85c3d6b0
src/CMakeLists: make project less Windows-only. 2023-10-29 10:36:46 +01:00
Guillaume Jacquemin 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
Guillaume Jacquemin 1851867b7e
Update copyright year.
This was long overdue...
2023-09-02 18:30:29 +02:00
Guillaume Jacquemin d612b0afe6
SaveTool: various fixes for HiDPI screens. 2023-09-02 14:28:28 +02:00
Guillaume Jacquemin f7a8962194
main,SaveTool,Configuration: further Wine support. 2023-08-31 12:34:34 +02:00
Guillaume Jacquemin a1a155d0ac
Update CMake Find* modules. 2023-08-31 11:52:52 +02:00
Guillaume Jacquemin ecdf7d736f
SaveTool: add a TODO for later. 2023-08-28 15:47:39 +02:00
Guillaume Jacquemin 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
Guillaume Jacquemin 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
Guillaume Jacquemin 39d71a7a09
SaveTool: remove licences for third-party deps.
This should thin the exe up a bit.
2023-08-28 13:32:06 +02:00
Guillaume Jacquemin 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
Guillaume Jacquemin 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
Guillaume Jacquemin 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
Guillaume Jacquemin 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
Guillaume Jacquemin 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
Guillaume Jacquemin abac0570a4
CMakeLists: WHY IS THIS COMMAND SCREAMING ? 2023-08-27 21:56:06 +02:00
Guillaume Jacquemin 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
Guillaume Jacquemin 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