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
db6836ec33
Profile(Manager): add basic 0.8 profile support.
2022-03-06 14:42:24 +01:00
Guillaume Jacquemin
89bba618fb
SaveTool: eliminate a few format warnings.
2022-03-06 14:30:04 +01:00
Guillaume Jacquemin
4d9fc46003
SaveTool: fix a mistake in drawAbout.
2022-03-06 09:25:23 +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
f522d20dd4
SaveTool: fragment SaveTool_MassViewer.cpp.
...
This will make maintenance easier. I hope.
2022-03-02 14:43:02 +01:00
Guillaume Jacquemin
572585e648
SaveTool: optimise code readability.
...
...mostly for Clang/CLion. :D
2022-03-02 11:46:31 +01:00
Guillaume Jacquemin
de2ba9ce7f
Mass(Manager),SaveTool: improve error handling.
2022-02-26 14:48:45 +01:00
Guillaume Jacquemin
a1c17b7138
Profile(Manager),SaveTool: improve error handling and fix bugs.
2022-02-24 14:00:47 +01:00
Guillaume Jacquemin
350ad59f8e
SaveTool: add a convenience wrapper over ImGui stuff.
2022-02-23 21:59:00 +01:00
Guillaume Jacquemin
883d5d3f41
Mass,SaveTool: improve error handling.
2022-02-23 15:47:34 +01:00
Guillaume Jacquemin
77d7eaefad
SaveTool: fix a condition.
2022-02-23 10:18:58 +01:00
Guillaume Jacquemin
82170b3078
Mass,SaveTool: optimise the effect colour mode.
2022-02-17 20:22:33 +01:00
Guillaume Jacquemin
88abf91047
Mass,SaveTool: add some future-proofing.
2022-02-17 20:01:59 +01:00
Guillaume Jacquemin
4000421a8c
Mass,SaveTool: refactor even more code.
2022-02-13 10:31:55 +01:00
Guillaume Jacquemin
28db82c8a9
Weapon,Mass,SaveTool: refactor some more code.
2022-02-09 14:17:05 +01:00
Guillaume Jacquemin
9f324c30fd
Delete WeaponTypes.h.
...
It's not needed anymore.
2022-02-09 13:54:44 +01:00
Guillaume Jacquemin
41cd92352d
Mass: refactor and optimise some parts.
2022-02-09 13:41:55 +01:00
Guillaume Jacquemin
940fe3feee
SaveTool: implement weapon copying.
2022-01-30 14:04:22 +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
8fb837bfc0
SaveTool: finish implementing weapon reordering.
2022-01-30 09:48:14 +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
ed0c4a73bb
SaveTool: mark profiles as "legacy" in the manager.
...
I'll probably have to redesign that whole part of the UI anyway, so...
2022-01-15 11:31:06 +01:00
Guillaume Jacquemin
8102d1d83a
SaveTool: improve the ShellExecuteW call.
2022-01-15 11:30:12 +01:00
Guillaume Jacquemin
9a9c08391a
SaveTool: change how story progress is handled.
2022-01-15 11:01:11 +01:00
Guillaume Jacquemin
51602c713a
SaveTool: update layout.
2022-01-14 13:42:09 +01:00
Guillaume Jacquemin
1621a4dbd5
SaveTool: move M.A.S.S. viewer state tracking.
...
That way, it's easier to reset. Some states, such as the current tab or
which headers are open/collapsed, are internal to ImGui, though, so I
can't do much there. Well, I could use the internal ImGui API, but, it's
still a pain in the ass.
2022-01-14 13:22:51 +01:00
Guillaume Jacquemin
7fb269f862
SaveTool: change viewer window ID.
2022-01-07 09:35:32 +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
c6de9c1940
SaveTool: finish most of the M.A.S.S. viewer.
...
Some parts are very unfinished, but do work.
2021-12-02 19:23:28 +01:00
Guillaume Jacquemin
05a2b1cfb0
SaveTool: change a drag widget to a slider.
2021-10-12 16:53:19 +02:00
Guillaume Jacquemin
2d0d5817f2
SaveTool: add a basic guide to the help menu.
2021-10-04 18:18:20 +02:00
Guillaume Jacquemin
0904384e0d
SaveTool: fixed a condition for drag and dropping builds.
2021-10-03 00:14:07 +02: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
Guillaume Jacquemin
5689ec6c1a
SaveTool: adapt to Profile changes.
2021-09-27 17:53:56 +02:00
Guillaume Jacquemin
50a7b1d7f0
Profile: adapt to UESaveFile.
...
Also change ProfileManager to use growable arrays instead of vectors.
2021-09-23 19:01:42 +02:00
Guillaume Jacquemin
66d96bd893
SaveTool: update formatting.
2021-09-22 10:47:23 +02:00
Guillaume Jacquemin
918b26ab5e
SaveTool: add some frame info display.
2021-09-10 16:16:21 +02:00
Guillaume Jacquemin
32bc179120
SaveTool: change an include.
...
The old one works on my setup, but might not work on others.
2021-09-10 16:15:27 +02:00
Guillaume Jacquemin
c7c379c419
SaveTool: adapt main manager to Mass changes.
2021-08-29 19:39:29 +02:00
Guillaume Jacquemin
a9a5bfb2af
SaveTool: add basic skeleton for the M.A.S.S. viewer.
2021-08-28 21:03:06 +02:00
Guillaume Jacquemin
5f4576a2bc
SaveTool: improve readability of the header.
2021-08-28 20:57:06 +02:00
Guillaume Jacquemin
f3318e0ed1
SaveTool: add safety measures in drawMassViewer().
2021-08-28 20:22:04 +02:00
Guillaume Jacquemin
597e9dfe98
SaveTool: initial work for the viewer UI.
2021-08-19 20:35:00 +02:00
Guillaume Jacquemin
4cdd1b35ec
Mass(Manager): rework to prepare for the viewer.
2021-08-19 20:34:37 +02:00
Guillaume Jacquemin
f323215844
SaveTool: improve a button.
2021-08-19 14:31:17 +02:00
Guillaume Jacquemin
e580736ac6
SaveTool: improve the M.A.S.S. manager UI.
2021-08-19 14:11:18 +02:00
Guillaume Jacquemin
2644a73fc9
SaveTool: change the look of the research inv table.
2021-08-19 14:02:21 +02:00
Guillaume Jacquemin
a244e468d2
SaveTool: add a way to skip the disclaimer.
2021-08-18 20:09:22 +02:00
Guillaume Jacquemin
6d4bafcc2d
SaveTool: suppress Nvidia debug message.
...
I probably won't need it, but if someone has a rendering issue, being
able to debug it using GPU validation will be useful, and avoiding log
pollution will be even better.
2021-08-18 17:16:10 +02:00
Guillaume Jacquemin
d52b381426
SaveTool: improve the settings menu layout.
2021-08-18 16:59:16 +02:00
Guillaume Jacquemin
52f5e8eb0a
SaveTool: add a frame limiter.
...
The FPS slider isn't the most accurate, but it just works™.
Closes #10 .
2021-08-18 16:53:29 +02:00
Guillaume Jacquemin
c4fc910ab0
SaveTool: add tier display to the research inventory.
...
Closes #11 .
2021-08-18 15:37:03 +02:00
Guillaume Jacquemin
ee639bcdf8
SaveTool: move a PushID call in the profile manager.
...
Fixes #9 .
2021-08-01 18:48:14 +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
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
14c5a76891
SaveTool: update window flags.
...
This will prevent them from being drawn over toasts.
2021-07-25 10:52:54 +02:00
Guillaume Jacquemin
445d7323b3
SaveTool: add configuration system.
2021-07-23 14:17:42 +02:00
Guillaume Jacquemin
d0eee0caeb
SaveTool: add skeleton for update checking.
2021-07-22 11:39:53 +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
a16383183e
SaveTool: replace varargs with templates in drawUnsafeText().
2021-07-21 13:40:55 +02:00
Guillaume Jacquemin
3f3166691d
SaveTool: make a submenu name clearer.
2021-07-21 12:37:58 +02:00
Guillaume Jacquemin
935d291a8b
SaveTool: change repo link.
2021-07-13 19:00:27 +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
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
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
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