Commit Graph

70 Commits

Author SHA1 Message Date
Guillaume Jacquemin 406349bbe8 Increase version number. 2021-07-28 15:33:54 +02:00
Guillaume Jacquemin 22c9627b84 Main: add single-instance checking. 2021-07-28 15:17:46 +02:00
Guillaume Jacquemin e99ff14749 SaveTool: add a "cheat mode" toggle. 2021-07-28 15:00:15 +02:00
Guillaume Jacquemin d0716d6242 SaveTool: add credits for cpr and json.hpp. 2021-07-28 14:27:44 +02:00
Guillaume Jacquemin 512fa4088b SaveTool: remove testing code. 2021-07-28 14:27:19 +02:00
Guillaume Jacquemin ab124174b0 SaveTool: add rest of response handling. 2021-07-28 14:18:39 +02:00
Guillaume Jacquemin 51127241ef Add json.hpp as the JSON lib. 2021-07-28 14:17:47 +02:00
Guillaume Jacquemin ee384843e9 SaveTool: launch the thread, and add basic response handling. 2021-07-28 14:17:21 +02:00
Guillaume Jacquemin 7f32166ab0 SaveTool: implement the request thread. 2021-07-28 14:15:39 +02:00
Guillaume Jacquemin 017900afe2 SaveTool: add ToastQueue.
Might be useful for warnings and non-fatal errors, to replace standard
SDL message boxes.
2021-07-28 14:14:12 +02:00
Guillaume Jacquemin 52b60ff2a5 ToastQueue: fix formatting a bit. 2021-07-28 14:12:43 +02:00
Guillaume Jacquemin 14c5a76891 SaveTool: update window flags.
This will prevent them from being drawn over toasts.
2021-07-25 10:52:54 +02:00
Guillaume Jacquemin d9efe8191e Add ToastQueue for in-app notifications. 2021-07-25 10:52:01 +02:00
Guillaume Jacquemin 445d7323b3 SaveTool: add configuration system. 2021-07-23 14:17:42 +02:00
Guillaume Jacquemin 83002868d9 Add an explanatory comment. 2021-07-22 13:10:40 +02:00
Guillaume Jacquemin d0eee0caeb SaveTool: add skeleton for update checking. 2021-07-22 11:39:53 +02:00
Guillaume Jacquemin 4dd2064aae Add cpr. 2021-07-22 11:36:37 +02:00
Guillaume Jacquemin e2d473da44 SaveTool: change some conditions. 2021-07-22 09:19:59 +02:00
Guillaume Jacquemin 688e61b9ae MassManager: move some fields to SaveTool. 2021-07-21 20:57:39 +02:00
Guillaume Jacquemin 241f5b754d ProfileManager: move some fields to SaveTool. 2021-07-21 20:38:33 +02:00
Guillaume Jacquemin 2a617b3359 MassBuilderManager: move functionality to SaveTool.
And also improve the main menu too.
2021-07-21 14:36:49 +02:00
Guillaume Jacquemin ec8a6b0c46 MassManager: move initialisation of fields. 2021-07-21 13:41:30 +02:00
Guillaume Jacquemin a16383183e SaveTool: replace varargs with templates in drawUnsafeText(). 2021-07-21 13:40:55 +02:00
Guillaume Jacquemin fa78ca2a8a MassManager: remove a redundant initialisation. 2021-07-21 12:38:27 +02:00
Guillaume Jacquemin 3f3166691d SaveTool: make a submenu name clearer. 2021-07-21 12:37:58 +02:00
Guillaume Jacquemin 9999a7dcb0 README: update a link. 2021-07-13 19:03:14 +02:00
Guillaume Jacquemin f7aa89325f CMakeLists: change the exe name in release mode. 2021-07-13 19:00:45 +02:00
Guillaume Jacquemin 935d291a8b SaveTool: change repo link. 2021-07-13 19:00:27 +02:00
Guillaume Jacquemin 5ca1e660f4 README: update the release link. 2021-07-13 19:00:03 +02:00
Guillaume Jacquemin ff1782ca9d main: change the name of the log file. 2021-07-13 18:50:38 +02:00
Guillaume Jacquemin 7531dc88ac CMakeLists: use macros for stuff like app version. 2021-07-13 18:46:21 +02:00
Guillaume Jacquemin e0647b907a CMakeLists: change the name of the debug macro. 2021-07-13 18:35:23 +02:00
Guillaume Jacquemin ea6bf5b582 Locators: add inventory locators for later use. 2021-07-13 18:12:20 +02:00
Guillaume Jacquemin 1c673f3fa3 SaveTool: rename the tweakable macro. 2021-07-13 18:08:33 +02:00
Guillaume Jacquemin c5d0d6e089 SaveTool: reduce max materials to 9999.
For some reason, the game clamps them to that after a mission.
2021-07-10 16:52:11 +02:00
Guillaume Jacquemin d7f991cd2e SaveTool: bump MB version. 2021-07-10 16:50:30 +02:00
Guillaume Jacquemin 898873157f SaveTool: deleting a profile is an unsafe action. 2021-07-10 16:49:47 +02:00
Guillaume Jacquemin 9e7b6a4153 SaveTool: fix alignment. 2021-07-10 16:48:58 +02:00
Guillaume Jacquemin 69d4484c91 SaveTool: bump max credits for editor. 2021-07-10 16:47:18 +02:00
Guillaume Jacquemin 476eb2b1e6 SaveTool: improve readability. 2021-07-10 16:46:45 +02:00
Guillaume Jacquemin ed25f7f5fa SaveTool: remove a redundant initialisation. 2021-07-10 16:46:03 +02:00
Guillaume Jacquemin 14feadc401 SaveTool: add menu items to open the backup and staging folders. 2021-07-10 16:45:25 +02:00
Guillaume Jacquemin f9a3088094 SaveTool: improve drawUnsafeWidget(). 2021-07-10 16:44:39 +02:00
Guillaume Jacquemin 031b7a1c9a SaveTool: lack of timer should be a failure. 2021-07-10 16:44:09 +02:00
Guillaume Jacquemin f2fc8e1f44 Profile: no need for a redundant initilisation. 2021-07-10 16:43:34 +02:00
Guillaume Jacquemin ab84b84d72 Profile/Locators.h: improve readability. 2021-07-10 16:37:48 +02:00
Guillaume Jacquemin 0bb3be13fe MassManager: shorten this if. 2021-07-10 16:36:49 +02:00
Guillaume Jacquemin 045aaa8dad MassBuilderManager: use the Known Folders WinAPI.
According to the MS docs, it's supposedly better, so even though CSIDLs
are probably not gonna go away because of Microsoft's strong stance on
backwards compatibility, might as well use the "better" stuff.
2021-06-24 21:44:29 +02:00
Guillaume Jacquemin 92cab050ad SaveTool: reorganise the UI again. 2021-06-21 00:28:16 +02:00
Guillaume Jacquemin 13b4785a43 SaveTool: remove those commented LoCs.
Since the research tree might be made in pure ImGui (attempts to do it
in normal GL didn't really pan out), we won't need state changes.
2021-06-21 00:26:56 +02:00