Commit Graph

446 Commits

Author SHA1 Message Date
Guillaume Jacquemin 3ffac15c26
CMakeLists: add new common variable for dependencies. 2024-04-07 15:20:03 +02:00
Guillaume Jacquemin c48165614a
CMakeLists: remove an unnecessary option.
Logger doesn't output coloured text to the console anymore. As a
result, we don't need to tell Corrade to use ANSI colour codes on
Windows anymore.
2024-04-07 15:11:33 +02:00
Guillaume Jacquemin 1db00ba892
Logger: add a missing string view operator. 2024-04-07 15:10:52 +02:00
Guillaume Jacquemin 8ecd1922f1
Utilities: add temp file management functions. 2024-03-30 23:47:04 +01:00
Guillaume Jacquemin 12995367eb
Logger: remove an unnecessary include. 2024-03-30 17:06:04 +01:00
Guillaume Jacquemin bf5a9872e1
Application: remove a default value.
This'll stop Clang-Tidy's complaining that "default values in
virtual/override methods are prohibited". Dunno how prohibited they
are, but better safe than sorry, even though there was no compile
error/warning.
2024-03-30 16:07:24 +01:00
Guillaume Jacquemin 9f0386d5b3
{Mass,Profile}Manager: rename classes.
Partial revert of 04d2ab9dc7.

I forgot about the Backup struct when I was working on the backup
manager, and was about to run into a conflict sooner or later.
2024-03-30 16:03:11 +01:00
Guillaume Jacquemin 8a809b7752
CMakeLists: reorder some files. 2024-03-28 17:42:56 +01:00
Guillaume Jacquemin 04d2ab9dc7
{Mass,Profile}Manager: move into new namespace. 2024-03-28 13:32:34 +01:00
Guillaume Jacquemin 9d1d0af70a
GameObjects: merge the two property name headers. 2024-03-28 13:18:56 +01:00
Guillaume Jacquemin 29b6e57956
GameObjects: move files into a dedicated folder. 2024-03-28 13:15:47 +01:00
Guillaume Jacquemin 0b2796e94b
GameData: move headers into a dedicated folder.
From now on, Maps will only be for preprocessor-powered
multi-directional mapping fuckery.
2024-03-28 12:50:15 +01:00
Guillaume Jacquemin 72e71b575a
README: mention zlib needs to be installed.
It might already be a dependency of other packages installed through
the command-line, but better safe than sorry.
2024-03-28 12:23:25 +01:00
Guillaume Jacquemin fd9f9e5e36
Use Utility::move() instead of std::move(). 2024-03-25 14:34:27 +01:00
Guillaume Jacquemin 90a2a9edd9
Add ImportExport, with custom style support. 2024-03-25 12:08:35 +01:00
Guillaume Jacquemin 04e99d4953
BinaryIo: fix Reader::readValue().
std::fread() returns how many things it read, not the amount of
bytes read. Worst thing is, I got this right everywhere else.
2024-03-25 12:02:12 +01:00
Guillaume Jacquemin c9ac1ad4c8
Utility/Crc32: fix naming. 2024-03-17 15:57:31 +01:00
Guillaume Jacquemin d242431d78
Mass: how did that space get here ? 2024-03-14 15:09:08 +01:00
Guillaume Jacquemin 20f116d832
Mass: improve formatting slightly. 2024-03-11 22:16:51 +01:00
Guillaume Jacquemin 5cb04e7c20
Application: slightly improve code style. 2024-03-11 20:52:24 +01:00
Guillaume Jacquemin e9fad7600b
Application: reorganise profile manager UI code. 2024-03-10 14:03:51 +01:00
Guillaume Jacquemin 387647669f
Application: use ImGui::BeginTooltip() correctly. 2024-03-10 12:49:02 +01:00
Guillaume Jacquemin cd5213a3f9
Application: change a menu entry icon. 2024-03-09 20:24:30 +01:00
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