Commit Graph

362 Commits

Author SHA1 Message Date
Guillaume Jacquemin 9de62db449 MassManager: use Logger. 2022-11-21 18:12:42 +01:00
Guillaume Jacquemin 44656b32d5 Mass: use Logger.
Oh, and some stuff didn't initially get logged, so now I can have better
insight in case of errors.
2022-11-21 18:01:29 +01:00
Guillaume Jacquemin 9ec88fa521 Mass: QoL changes.
Now property names are behind defines, so if a name changes, I don't
have to hunt it down in up to six source files.
2022-11-21 18:00:38 +01:00
Guillaume Jacquemin ee540b601e Mass: do some header cleanup. 2022-11-21 12:31:01 +01:00
Guillaume Jacquemin fe10bbb3f3 Main: use Logger. 2022-11-21 10:17:13 +01:00
Guillaume Jacquemin bb066d3134 CMakeLists: add Logger from the old 1.4 branch. 2022-11-21 10:15:10 +01:00
Guillaume Jacquemin e21e7a1aba Main: add processor detection. 2022-11-21 09:51:21 +01:00
Guillaume Jacquemin 714d8cc6bb Main: force UTF-8 locale. 2022-11-21 09:50:43 +01:00
Guillaume Jacquemin a33cbdfad6 SaveTool: fix includes. 2022-11-21 09:49:01 +01:00
Guillaume Jacquemin b7cd78ca21 Main: reformat includes. 2022-11-21 09:48:33 +01:00
Guillaume Jacquemin 453c5391a4 Main: Improve some dialogs. 2022-11-21 09:47:21 +01:00
Guillaume Jacquemin 05611d59b1 Main: update log. 2022-11-21 09:30:38 +01:00
Guillaume Jacquemin a5a8db289a Main: update formatting. 2022-11-21 09:30:13 +01:00
Guillaume Jacquemin 6130734764 Application.manifest: add HiDPI and force UTF-8 codepage. 2022-11-21 09:29:51 +01:00
Guillaume Jacquemin 16b8807eb7 SaveTool: remove unsafe mode.
It was just not good at all.
2022-11-21 09:20:21 +01:00
Guillaume Jacquemin f1ea2bda25 CMakeLists: officially start work on version 1.4. 2022-11-21 09:20:21 +01:00
Guillaume Jacquemin 42cec59c71 CMakeLists: improve formatting. 2022-11-21 09:20:21 +01:00
Guillaume Jacquemin 5c6a83c03b CMakeLists: improve libcurl builds. 2022-11-21 09:20:21 +01:00
Guillaume Jacquemin e6c597ffbc Disable Interconnect.
Nope, it's just not needed.
2022-11-21 09:20:02 +01:00
Guillaume Jacquemin 6cb52761be Bump version number. 2022-07-06 17:23:34 +02:00
Guillaume Jacquemin 6f2b19dbc3 SaveTool: fix a condition. 2022-07-06 17:22:55 +02:00
Guillaume Jacquemin e61d4bba85 Adapt to Corrade/Magnum changes. 2022-07-06 17:22:40 +02:00
Guillaume Jacquemin 38532d8c35 Update Corrade and Magnum. 2022-07-06 17:08:52 +02:00
Guillaume Jacquemin 8ba8ec3219 CMakeLists: bump version number. 2022-05-03 20:29:18 +02:00
Guillaume Jacquemin 55eb367eb2 UESaveFile: fix a bug that shouldn't have been there in the first place. 2022-05-03 20:25:32 +02:00
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