Commit Graph

77 Commits

Author SHA1 Message Date
Guillaume Jacquemin 819e144410
Reorganise code.
This is a big one. Namespacing, general formatting updates, and
renaming, among others.
2023-11-29 12:33:26 +01:00
Guillaume Jacquemin 389dabfc77
SaveTool: separate update checking mechanism.
THIS IS BROKEN, ONLY BUILD THIS COMMIT FOR DEBUGGING PURPOSES!
2023-10-29 11:32:17 +01:00
Guillaume Jacquemin e634ef037d
Change how the project version is defined. 2023-10-29 10:40:02 +01:00
Guillaume Jacquemin 1851867b7e
Update copyright year.
This was long overdue...
2023-09-02 18:30:29 +02:00
Guillaume Jacquemin d612b0afe6
SaveTool: various fixes for HiDPI screens. 2023-09-02 14:28:28 +02:00
Guillaume Jacquemin f7a8962194
main,SaveTool,Configuration: further Wine support. 2023-08-31 12:34:34 +02:00
Guillaume Jacquemin ecdf7d736f
SaveTool: add a TODO for later. 2023-08-28 15:47:39 +02:00
Guillaume Jacquemin 9c074c24bd Update coding style.
Magnum's type names are fine, but I'd rather limit what depends on
Magnum as much as possible. Vector types are still allowed, though. No
way I'll write my own.
2023-01-13 10:02:29 +01:00
Guillaume Jacquemin 3c2cb001ff Match the new coding style I use. 2023-01-13 10:02:29 +01:00
Guillaume Jacquemin e336b37d81 SaveTool: move the configuration to its own class. 2023-01-13 10:02:29 +01:00
Guillaume Jacquemin 5ce73712cc SaveTool: add a wrapper over ImGui::Checkbox().
This way, I can make it work like radio buttons or selectables.
2023-01-13 10:02:29 +01:00
Guillaume Jacquemin 8177d61755 SaveTool: fix some string-related issues. 2022-12-01 23:38:54 +01:00
Guillaume Jacquemin 6fa21128ab SaveTool: improve FPS capping mechanism. 2022-11-30 10:03:45 +01:00
Guillaume Jacquemin 4ea694ea6e SaveTool: add advanced mode.
This'll help hide undocumented values.
2022-11-25 17:10:56 +01:00
Guillaume Jacquemin 0aa933e766 SaveTool: change the SDL version check. 2022-11-25 11:46:47 +01:00
Guillaume Jacquemin 5ea6f1e3a7 SaveToo: add HiDPI support to ImGui.
I... kinda forgot to do that.
2022-11-25 11:46:14 +01:00
Guillaume Jacquemin 8625f8835c SaveTool: use Logger. 2022-11-22 10:34:25 +01:00
Guillaume Jacquemin df5fa7a39e SaveTool: remove the FPS cap implementation.
I should port the code from my raycaster engine to here.
2022-11-21 20:40:10 +01:00
Guillaume Jacquemin c5b4747685 SaveTool: clean things up a bit. 2022-11-21 20:37:28 +01:00
Guillaume Jacquemin a33cbdfad6 SaveTool: fix includes. 2022-11-21 09:49:01 +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 b6ad795383 SaveTool: fragment files more.
SaveTool.cpp was getting on the unmanageable side.
2022-04-01 09:36:33 +02:00
Guillaume Jacquemin a36d9134bf SaveTool: update formatting. 2022-03-31 18:43:39 +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 2c2e5ad936 SaveTool: remove the dependency on json.hpp. 2022-03-30 15:15:54 +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 ac1276761e SaveTool: fix "external changes detected" on saving in the tool.
I hope.
2022-03-22 09:59:30 +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 4ae9f83ab3 SaveTool: fix a segfault. 2022-03-09 14:02:56 +01:00
Guillaume Jacquemin dd9dcdb5f6 SaveTool: change how file update events are handled. 2022-03-09 13:27:45 +01:00
Guillaume Jacquemin b859bf7ab5 Update Corrade/Magnum and adapt to changes.
Also a few misc things, but nothing really noteworthy.
2022-03-09 11:04:19 +01:00
Guillaume Jacquemin db3eba5b59 SaveTool: move some stuff into its own function. 2022-03-06 09:12:40 +01:00
Guillaume Jacquemin 8791eb32ac Use Corrade's String(View) types where possible.
Utility::Directory, efsw, cpr, and json.hpp are the only obstacles to a
complete removal of std::string usages.
2022-03-04 21:18:55 +01:00
Guillaume Jacquemin 51faed7210 Update copyright years.
I should have done that earlier... and of course I forgot a few files...
2022-01-30 11:38:22 +01:00
Guillaume Jacquemin 0ac1e759ca Profile(Manager),SaveTool: prepare for legacy/normal distinction. 2022-01-20 19:42:27 +01:00
Guillaume Jacquemin 1ec4522baf SaveTool: make the clickthrough hint have priority. 2022-01-15 13:26:12 +01:00
Guillaume Jacquemin 13d09e4aa0 SaveTool: prepare for the better import/export system. 2022-01-15 11:31:33 +01:00
Guillaume Jacquemin 8102d1d83a SaveTool: improve the ShellExecuteW call. 2022-01-15 11:30:12 +01:00
Guillaume Jacquemin 1378676bbc SaveTool: fix old code. 2022-01-03 12:46:13 +01:00
Guillaume Jacquemin 96768c1aab SaveTool: add a conversion operator. 2022-01-03 12:10:20 +01:00
Guillaume Jacquemin bd05a98820 SaveTool: make pre-releases considered up-to-date if they're more recent than the latest stable. 2022-01-03 11:56:34 +01:00
Guillaume Jacquemin 065e63f27c SaveTool: skip prereleases in update check. 2021-12-02 20:37:47 +01:00
Guillaume Jacquemin 321e8feed0 SaveTool: change how versions are evaluated.
This allows pre-releases and beta versions to be considered out of date
once complete versions are released.
2021-12-02 19:52:26 +01:00
Guillaume Jacquemin 18aa7f659e SaveTool: move the tw macro so all SaveTool files can use it. 2021-09-27 20:51:48 +02:00
Guillaume Jacquemin 1612e4372b SaveTool: make the file watcher less aggressive. 2021-09-27 20:50:37 +02:00
Guillaume Jacquemin e839d1c19b SaveTool: adapt to Mass changes. 2021-09-27 17:54:30 +02:00