Commit Graph

45 Commits

Author SHA1 Message Date
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
Guillaume Jacquemin fdb39e1d1d CMakeLists: we won't need those libraries, in the end.
The ImGui integration needs the Flat shader in Magnum::Shaders, so that
one stays on.
2021-06-20 23:56:46 +02:00
Guillaume Jacquemin 441e0c2d1a SaveTool: replace a chain of ifs with a switch. 2021-06-20 23:49:30 +02:00
Guillaume Jacquemin 057185cb65 SaveTool: reorganise some code. 2021-06-20 23:48:23 +02:00
Guillaume Jacquemin 9fb654c89d SaveTool: change how the game state is displayed. 2021-06-20 19:36:42 +02:00
Guillaume Jacquemin d23095f662 SaveTool: remove an unused argument in handleFileAction. 2021-06-20 14:14:10 +02:00
Guillaume Jacquemin e77f46ecc4 SaveTool: use Magnum types. 2021-06-20 14:13:30 +02:00
Guillaume Jacquemin 3172939b53 SaveTool: add a {Push,Pop}ID pair.
There were issues with the buttons in the backup list.
2021-06-20 14:11:18 +02:00
Guillaume Jacquemin 6842b3d3f3 SaveTool: add a fallback if there are no profile backups.
The table formatting was messed up when there were no backups, so I'm
working around it by... not displaying the table.
2021-06-20 14:10:09 +02:00
Guillaume Jacquemin 5dc7fbc06c ProfileManager: use Magnum types. 2021-06-20 14:08:17 +02:00
Guillaume Jacquemin 5bdb710356 Profile: use Magnum types. 2021-06-20 14:07:43 +02:00
Guillaume Jacquemin 6886334d61 MassBuilderManager: use Magnum types. 2021-06-20 14:06:55 +02:00
Guillaume Jacquemin 445c8873ae Mass: use Magnum types. 2021-06-20 14:06:36 +02:00
Guillaume Jacquemin a91546d8a5 Mass: make the constructor explicit.
Implicit initialisation from a std::string could be dangerous, so, let's
avoid that.
2021-06-20 13:54:35 +02:00
Guillaume Jacquemin e9d509fd36 StoryProgress: update formatting, and use Magnum types.
While I could keep using std::int32_t, as Magnum's Int type maps to it,
I want to be consistent with the rest of Magnum. Also, lots of
whitespace there, but readability is improved.
2021-06-20 13:53:38 +02:00
Guillaume Jacquemin 19262ae05e LastMissionId: update formatting, and use Magnum types.
While I could keep using std::int32_t, as Magnum's Int type maps to it,
I want to be consistent with the rest of Magnum.
2021-06-20 13:43:30 +02:00
Guillaume Jacquemin b0affadd9a Add output redirection in release mode.
Debug mode gets outputted to std{out,err}. While most IDEs are sane
enough to capture the streams by default (hello, Qt Creator!), others
aren't (such as CLion, but there's a workaround there), and you can
forget about CMD output as well. Ugh, I hate Windows...
2021-06-20 13:39:43 +02:00
Guillaume Jacquemin 61d1e3635f Add initial files.
Feature parity is also reached.
2021-06-11 19:24:52 +02:00
Guillaume Jacquemin e4bbd9ac59 .gitignore: add CLion/IDEA folder.
I'm trying CLion for now, as it seems interesting.
2021-06-08 23:04:11 +02:00
Guillaume Jacquemin f68f632a01 Add COPYING. 2021-05-24 22:13:04 +02:00
Guillaume Jacquemin ef3444f90b Add .gitignore. 2021-05-24 13:29:14 +02:00