Commit graph

423 commits

Author SHA1 Message Date
e10e457ad8
Managers: simplify MassManager. 2024-04-09 00:39:35 +02:00
661f6acd12
Managers: cleanup includes and add an assert. 2024-04-08 11:17:48 +02:00
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
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
35c96af509
CMakeLists: reorder lines for consistency. 2024-04-07 15:20:47 +02:00
1db00ba892
Logger: add a missing string view operator. 2024-04-07 15:10:52 +02:00
8ecd1922f1
Utilities: add temp file management functions. 2024-03-30 23:47:04 +01:00
12995367eb
Logger: remove an unnecessary include. 2024-03-30 17:06:04 +01:00
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
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
8a809b7752
CMakeLists: reorder some files. 2024-03-28 17:42:56 +01:00
04d2ab9dc7
{Mass,Profile}Manager: move into new namespace. 2024-03-28 13:32:34 +01:00
9d1d0af70a
GameObjects: merge the two property name headers. 2024-03-28 13:18:56 +01:00
29b6e57956
GameObjects: move files into a dedicated folder. 2024-03-28 13:15:47 +01:00
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
fd9f9e5e36
Use Utility::move() instead of std::move(). 2024-03-25 14:34:27 +01:00
90a2a9edd9
Add ImportExport, with custom style support. 2024-03-25 12:08:35 +01:00
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
c9ac1ad4c8
Utility/Crc32: fix naming. 2024-03-17 15:57:31 +01:00
d242431d78
Mass: how did that space get here ? 2024-03-14 15:09:08 +01:00
20f116d832
Mass: improve formatting slightly. 2024-03-11 22:16:51 +01:00
5cb04e7c20
Application: slightly improve code style. 2024-03-11 20:52:24 +01:00
e9fad7600b
Application: reorganise profile manager UI code. 2024-03-10 14:03:51 +01:00
387647669f
Application: use ImGui::BeginTooltip() correctly. 2024-03-10 12:49:02 +01:00
cd5213a3f9
Application: change a menu entry icon. 2024-03-09 20:24:30 +01:00
0b46403ede
Application: add menu entries for the new folders. 2024-03-09 18:36:53 +01:00
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
43420d2277
main: improve an error message. 2024-03-09 17:38:52 +01:00
ba3769404d
Configuration: update formatting. 2024-03-08 21:53:12 +01:00
f68dee939e
Gvas: improve a loop to avoid a useless move. 2024-03-08 21:20:11 +01:00
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
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
e156196b98
Update copyright year.
Now's a good time as any, I guess.
2024-03-08 20:25:32 +01:00
3a3b5bfdff
GameData: change the style name map's, well, name. 2024-03-08 19:27:44 +01:00
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
7ce726f933
Application: redo the whole armour tab. 2023-12-04 15:25:02 +01:00
570134ced0
Application: fix link to MBST's Git repo. 2023-12-04 15:24:05 +01:00
ca7b71fb36
Application: tweak decal editor layout. 2023-12-04 13:44:57 +01:00
132c46da89
Application: remove a separator in the weapons tab. 2023-12-04 12:03:33 +01:00
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
bf7f6d24f3
Application: adapt to ImGui changes. 2023-11-29 13:12:18 +01:00
df9e6bcd17
CMakeLists: change how libcurl is found. 2023-11-29 13:00:31 +01:00
90fd22225f
ProfileManager: adapt to Corrade changes. 2023-11-29 13:00:05 +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