Commit Graph

27 Commits

Author SHA1 Message Date
Guillaume Jacquemin efc3fe0dc7
Application: move folder management to Configuration.
Also, add new folders for the upcoming weapon/armour/style
export/import mechanism.
2024-03-09 18:09:27 +01:00
Guillaume Jacquemin 43420d2277
main: improve an error message. 2024-03-09 17:38:52 +01:00
Guillaume Jacquemin e156196b98
Update copyright year.
Now's a good time as any, I guess.
2024-03-08 20:25:32 +01:00
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 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 f7a8962194
main,SaveTool,Configuration: further Wine support. 2023-08-31 12:34:34 +02:00
Guillaume Jacquemin 81430de345
main: support running the app in Wine/Proton.
Turns out the flag I used for SHGetKnownFolderPath() is not only deprecated
starting with Win10 1703, but it also isn't implemented in Wine. It also was
completely useless because the Save Tool isn't a "packaged process", as the
docs call it. Ah, the joys of using WinAPI...
2023-08-28 15:03:11 +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 90ff680aff Main: fix Clang builds.
For some reason, only GCC has setlocale() wrapped in the std namespace.
2022-11-26 11:30:48 +01:00
Guillaume Jacquemin 722cc511d6 Main: don't forget to initialise Logger.
Especially on release builds...
2022-11-25 17:10:26 +01:00
Guillaume Jacquemin 7ddc8e0748 Main: edit a message. 2022-11-21 19:28:49 +01:00
Guillaume Jacquemin fe10bbb3f3 Main: use Logger. 2022-11-21 10:17:13 +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 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 ef05c075ba main: improve logging. 2022-03-30 14:18:23 +02:00
Guillaume Jacquemin bde6fc41a0 Main: don't include <fstream> in debug builds. 2022-03-27 22:09:56 +02: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 22c9627b84 Main: add single-instance checking. 2021-07-28 15:17:46 +02:00
Guillaume Jacquemin ff1782ca9d main: change the name of the log file. 2021-07-13 18:50:38 +02:00
Guillaume Jacquemin e0647b907a CMakeLists: change the name of the debug macro. 2021-07-13 18:35:23 +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