Commit Graph

287 Commits

Author SHA1 Message Date
Guillaume Jacquemin b6398f3373 CMakeLists: bump version number. 2022-04-17 13:50:09 +02:00
Guillaume Jacquemin b598476809 UESaveFile: fix a bug when working with a temp file. 2022-04-17 12:46:25 +02:00
Guillaume Jacquemin 0ce03f5395 CMakeLists: bump version number. 2022-04-15 12:20:04 +02:00
Guillaume Jacquemin 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
Guillaume Jacquemin 1bbbf3cbfd CMakeLists: explicitly disable DX support in SDL. 2022-04-13 11:58:01 +02:00
Guillaume Jacquemin 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
Guillaume Jacquemin 42b4974b43 SaveTool: make the weapon part radio buttons match the game. 2022-04-08 14:12:56 +02:00
Guillaume Jacquemin c35735b2fc SaveTool: fix an issue with the damage type radio buttons. 2022-04-08 14:12:14 +02:00
Guillaume Jacquemin 32a1a6d014 Mass: fix a bug when writing armour parts. 2022-04-08 12:44:30 +02:00
Guillaume Jacquemin 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
Guillaume Jacquemin 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
Guillaume Jacquemin c1ae793800 SaveTool: add a help marker for the melee effect colour picker. 2022-04-04 09:22:12 +02:00
Guillaume Jacquemin 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
Guillaume Jacquemin 704f6e2f49 Maps: why was this double-indented ?
WTF, CLion ?
2022-04-02 21:44:50 +02:00
Guillaume Jacquemin dbc52ec28f SaveTool: allow changing the equipped accessory. 2022-04-02 21:34:45 +02:00
Guillaume Jacquemin 11c089d408 Mass,Profile: improve safety by checking the save type. 2022-04-02 19:54:32 +02:00
Guillaume Jacquemin 6b280b2668 UESaveFile: add a new API and change some stuff. 2022-04-02 19:53:58 +02:00
Guillaume Jacquemin 213269521d Maps: update the accessory map. 2022-04-02 19:53:34 +02:00
Guillaume Jacquemin b6ad795383 SaveTool: fragment files more.
SaveTool.cpp was getting on the unmanageable side.
2022-04-01 09:36:33 +02:00
Guillaume Jacquemin 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
Guillaume Jacquemin a36d9134bf SaveTool: update formatting. 2022-03-31 18:43:39 +02:00
Guillaume Jacquemin 0e3e3145b7 MassManager: update formatting. 2022-03-31 17:58:47 +02:00
Guillaume Jacquemin 3be094febc ToastQueue: make toasts wrap instead of cutting them off. 2022-03-31 17:58:37 +02:00
Guillaume Jacquemin 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
Guillaume Jacquemin b909aa85b7 SaveTool: handle error code 0 (blocked by firewall). 2022-03-31 09:00:57 +02:00
Guillaume Jacquemin 94f6192aa8 CMakeLists: bump version number.
I'm technically working on 1.3.2, so...
2022-03-30 21:58:36 +02:00
Guillaume Jacquemin 5705f408a5 MassManager: this piece of code is in SaveTool.
Why the Hell is it still here ?
2022-03-30 20:35:04 +02:00
Guillaume Jacquemin 4ed7aff835 MassManager: change how hangars are handled. 2022-03-30 20:34:37 +02:00
Guillaume Jacquemin 718a6fd754 Mass: improve logging. 2022-03-30 19:51:00 +02:00
Guillaume Jacquemin 677bf21c9f Mass: slight formatting update.
Seriously, how did this slip through the cracks ?
2022-03-30 19:46:09 +02:00
Guillaume Jacquemin b287c827d2 Remove json.hpp. 2022-03-30 15:18:21 +02:00
Guillaume Jacquemin 2c2e5ad936 SaveTool: remove the dependency on json.hpp. 2022-03-30 15:15:54 +02:00
Guillaume Jacquemin ef05c075ba main: improve logging. 2022-03-30 14:18:23 +02:00
Guillaume Jacquemin 14d75e0e83 Save Tool: improve logging and reorganise stuff. 2022-03-30 14:18:08 +02:00
Guillaume Jacquemin 63a8cf7075 SaveTool: fix another bug in the updater. 2022-03-28 09:58:22 +02:00
Guillaume Jacquemin bf3288772e SaveTool: ensure old_filename isn't SSO'd so it can be released. 2022-03-28 09:46:29 +02:00
Guillaume Jacquemin bde6fc41a0 Main: don't include <fstream> in debug builds. 2022-03-27 22:09:56 +02:00
Guillaume Jacquemin ac1276761e SaveTool: fix "external changes detected" on saving in the tool.
I hope.
2022-03-22 09:59:30 +01:00
Guillaume Jacquemin fd3306b175 CMakeLists: bump version number. 2022-03-21 16:47:44 +01:00
Guillaume Jacquemin cf72cbe2c6 SaveTool: fix a bug in the update checker. 2022-03-21 16:47:29 +01:00
Guillaume Jacquemin f4adb9e26a SaveTool: fix a few bugs. 2022-03-21 16:31:29 +01:00
Guillaume Jacquemin 592fd2ba3a SaveTool: what is that comment doing here ? 2022-03-21 15:37:06 +01:00
Guillaume Jacquemin 84b1e276a1 SaveTool: don't pass a StringView to ImGui, it doesn't like that. 2022-03-21 15:36:49 +01:00
Guillaume Jacquemin 0c8c2601ce CMakeLists: bump version number. 2022-03-21 15:22:46 +01:00
Guillaume Jacquemin 147c38669f StoryProgress: add missing story events as well as the "new" chapter 3. 2022-03-21 15:21:45 +01:00
Guillaume Jacquemin 1871440a7b UESaveFile: copy the temp file over the old one.
This is to prevent an issue where updating a profile save makes the app
think it's deleted.
2022-03-21 15:20:36 +01:00
Guillaume Jacquemin 133c34f5f7 SaveTool: make the tuning tab present only in debug builds. 2022-03-20 11:32:08 +01:00
Guillaume Jacquemin 47890f6939 ArmourSets: add Axial Core. 2022-03-20 11:31:37 +01:00
Guillaume Jacquemin 354c3ff3d9 LastMissionId: add missing IDs. 2022-03-20 11:31:15 +01:00
Guillaume Jacquemin 04beebbc1c SaveTool: implement the UI for BL placement editing. 2022-03-20 10:17:14 +01:00