Commit Graph

457 Commits

Author SHA1 Message Date
Guillaume Jacquemin b9fe38782d
Configuration: avoid a deadlock. 2024-04-14 18:30:39 +02:00
Guillaume Jacquemin 028d991b74
CMakeLists: change a condition to be more reliable. 2024-04-14 10:44:46 +02:00
Guillaume Jacquemin fd367619e2
Application: add a TODO for later. 2024-04-14 10:29:49 +02:00
Guillaume Jacquemin 555cfcaadd
Application: add initial UI for style import/export. 2024-04-14 10:29:05 +02:00
Guillaume Jacquemin 2f70aa7672
Application: minor style changes. 2024-04-14 10:25:23 +02:00
Guillaume Jacquemin e10e457ad8
Managers: simplify MassManager. 2024-04-09 00:39:35 +02:00
Guillaume Jacquemin 661f6acd12
Managers: cleanup includes and add an assert. 2024-04-08 11:17:48 +02:00
Guillaume Jacquemin fbfcce1d86
Managers: split ProfileManager functionality.
There's now a BackupManager class, which handles all backup
management functionalities ProfileManager used to have.
ProfileManager also got adapted to paths being available from
Configuration, which was long overdue.

Application was adapted to the various changes.
2024-04-07 20:45:31 +02:00
Guillaume Jacquemin e06a65ec71
Update all dependencies. 2024-04-07 15:50:49 +02:00
Guillaume Jacquemin bd360b9268
CMakeLists: reorganise how system deps are handled.
Allowing each dependency to be system-wide or not is gonna be an
improvement, especially when it comes to IDE memory usage.
2024-04-07 15:40:45 +02:00
Guillaume Jacquemin 35c96af509
CMakeLists: reorder lines for consistency. 2024-04-07 15:20:47 +02:00
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