Commit graph

310 commits

Author SHA1 Message Date
00be2eeaab Update Corrade and Magnum. 2022-07-21 09:20:19 +02:00
2a25dd371c resource.rc: update to use clearer macros. 2022-07-21 09:19:13 +02:00
65bb0d82a9 Logger: move away from the MassBuilderSaveTool namespace.
Might be useful if I ever use it in another project.
2022-05-27 14:16:01 +02:00
45c1cc2f9e Update Corrade and Magnum. 2022-05-25 09:09:41 +02:00
122d170ed4 CMakeLists: explicitly specify tests should be off.
Also allows me to quickly turn them on should I need to run a Corrade or
Magnum test.
2022-04-29 23:09:37 +02:00
7aa750b2b1 CMakeLists: disable deprecated stuff globally.
'Twas causing issues with Containers::Array vs Magnum::Array, the latter
of which is deprecated.
2022-04-29 22:19:13 +02:00
b0b227471a Logger: remove semicolons from the macro definitions.
This'll force adding a semicolon to macro calls. Dunno why I missed
that, considering the version that didn't lock the mutex also didn't
have the last semicolon.
2022-04-29 19:37:07 +02:00
2d1d46ec08 Logger: add an indent level system.
This will help when I'll re-add printing for property types.
2022-04-29 17:19:27 +02:00
98cb314725 Update README.md. 2022-04-29 15:51:58 +02:00
874dd9bd4c Logger: improve thread safety. 2022-04-25 08:24:56 +02:00
929e0c73ee Logger: add extra safety.
Though, that's not really enough for now.
2022-04-24 17:14:21 +02:00
4d94b10501 CMakeLists: build deprecated Corrade/Magnum for debug only. 2022-04-24 16:41:22 +02:00
3f580f77db CMakeLists: enable ANSI colours for Utility::Debug.
Will only have an impact in debug builds, though, due to output being
redirected to a file in release mode.
2022-04-24 16:40:27 +02:00
bf667e72d8 CMakeLists: ...and do that in the src one too. 2022-04-24 16:39:07 +02:00
c68a59d952 CMakeLists: re-enable Interconnect.
I'll need it for the new code structure.
2022-04-24 16:37:36 +02:00
8266ce11c8 Logger: improve for GUI display.
The biggest change is that the timestamp is pre-computed, because
calling strftime() 60 times (or more) per second is sure to have a
non-negligible cost.
2022-04-24 16:35:50 +02:00
dd6d2491fd Add Logger: a new thread-safe logging system.
Closes #25.
2022-04-24 14:25:47 +02:00
bb74a5c713 Resources: add version info to the exe.
Why the fuck is it so complicated ? Fuck you, Microsoft engineers who
designed this format.
2022-04-24 00:31:43 +02:00
56048f64ee CMakeLists: explicitly specify it's a C++ project. 2022-04-23 21:50:20 +02:00
4c4ac469e0 CMakeLists: ensure Corrade/Magnum builds deprecated stuff.
It usually should be for debug builds only, but, eh, I strip release
builds anyway.
2022-04-18 11:49:01 +02:00
2493cb5988 Update Corrade, Magnum, and ImGui. 2022-04-17 13:56:45 +02:00
c018bfc7f8 CMakeLists: bump version number.
And set a new codename, too.
2022-04-17 13:56:38 +02:00
269bdebca7 CMakeLists: do some dependency cleanup.
I guess I initially planned to make the Save Tool use Interconnect, and
there was a Magnum module that prevented me from disabling
PluginManager.
2022-04-17 13:55:48 +02:00
b6398f3373 CMakeLists: bump version number. 2022-04-17 13:50:09 +02:00
b598476809 UESaveFile: fix a bug when working with a temp file. 2022-04-17 12:46:25 +02:00
0ce03f5395 CMakeLists: bump version number. 2022-04-15 12:20:04 +02:00
0fd157f33c SaveTool: add weapon part mappings and the ability to change parts.
With that, I think I'm ready to push 1.3.2.
2022-04-15 11:05:01 +02:00
1bbbf3cbfd CMakeLists: explicitly disable DX support in SDL. 2022-04-13 11:58:01 +02:00
918ead0733 SaveTool: add "unequip" button to shield parts and BL projectiles.
It doesn't actually unequip them (the game has no concept of that,
unlike accessories), but replaces the ID with one that doesn't exist.
2022-04-08 14:33:17 +02:00
42b4974b43 SaveTool: make the weapon part radio buttons match the game. 2022-04-08 14:12:56 +02:00
c35735b2fc SaveTool: fix an issue with the damage type radio buttons. 2022-04-08 14:12:14 +02:00
32a1a6d014 Mass: fix a bug when writing armour parts. 2022-04-08 12:44:30 +02:00
71d38f4a91 SaveTool,MassManager: improve staged file updates.
No need to redo the whole staged list when only one file gets updated.
Considering the call to refreshStagedMasses() is blocking (I might look
into threading stuff), its time complexity is O(n) at worst, which can
be bad on slower systems.
2022-04-04 10:37:09 +02:00
869ca07b20 SaveTool: remove an extraneous call to data().
Corrade arrays implicitly decay to their T* form (wchar_t here), after
all.
2022-04-04 09:58:12 +02:00
c1ae793800 SaveTool: add a help marker for the melee effect colour picker. 2022-04-04 09:22:12 +02:00
70ddb0ce39 UESaveFile: don't create a backup if the file is already temporary.
Also improve error handling.
2022-04-04 09:21:31 +02:00
704f6e2f49 Maps: why was this double-indented ?
WTF, CLion ?
2022-04-02 21:44:50 +02:00
dbc52ec28f SaveTool: allow changing the equipped accessory. 2022-04-02 21:34:45 +02:00
11c089d408 Mass,Profile: improve safety by checking the save type. 2022-04-02 19:54:32 +02:00
6b280b2668 UESaveFile: add a new API and change some stuff. 2022-04-02 19:53:58 +02:00
213269521d Maps: update the accessory map. 2022-04-02 19:53:34 +02:00
b6ad795383 SaveTool: fragment files more.
SaveTool.cpp was getting on the unmanageable side.
2022-04-01 09:36:33 +02:00
94979907b1 SaveTool::drawAbout(): update for cpr removal, add a link, fix various issues.
That function was in _dire_ need of an update...
2022-03-31 19:20:11 +02:00
a36d9134bf SaveTool: update formatting. 2022-03-31 18:43:39 +02:00
0e3e3145b7 MassManager: update formatting. 2022-03-31 17:58:47 +02:00
3be094febc ToastQueue: make toasts wrap instead of cutting them off. 2022-03-31 17:58:37 +02:00
a166948aec SaveTool: remove dependency on cpr, switch to raw libcurl.
Took me pretty much a whole day, but I managed to do it.
2022-03-31 17:57:53 +02:00
b909aa85b7 SaveTool: handle error code 0 (blocked by firewall). 2022-03-31 09:00:57 +02:00
94f6192aa8 CMakeLists: bump version number.
I'm technically working on 1.3.2, so...
2022-03-30 21:58:36 +02:00
5705f408a5 MassManager: this piece of code is in SaveTool.
Why the Hell is it still here ?
2022-03-30 20:35:04 +02:00