Commit Graph

76 Commits

Author SHA1 Message Date
Guillaume Jacquemin 90a2a9edd9
Add ImportExport, with custom style support. 2024-03-25 12:08:35 +01:00
Guillaume Jacquemin d242431d78
Mass: how did that space get here ? 2024-03-14 15:09:08 +01:00
Guillaume Jacquemin 20f116d832
Mass: improve formatting slightly. 2024-03-11 22:16:51 +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 07cbaefeac
General code maintenance. 2023-10-29 11:31:21 +01:00
Guillaume Jacquemin 1851867b7e
Update copyright year.
This was long overdue...
2023-09-02 18:30:29 +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 d1712bf8cb Mass: add logging indentation to refreshValues(). 2022-11-25 09:43:11 +01:00
Guillaume Jacquemin 44656b32d5 Mass: use Logger.
Oh, and some stuff didn't initially get logged, so now I can have better
insight in case of errors.
2022-11-21 18:01:29 +01:00
Guillaume Jacquemin 9ec88fa521 Mass: QoL changes.
Now property names are behind defines, so if a name changes, I don't
have to hunt it down in up to six source files.
2022-11-21 18:00:38 +01:00
Guillaume Jacquemin ee540b601e Mass: do some header cleanup. 2022-11-21 12:31:01 +01:00
Guillaume Jacquemin 32a1a6d014 Mass: fix a bug when writing armour parts. 2022-04-08 12:44:30 +02:00
Guillaume Jacquemin 11c089d408 Mass,Profile: improve safety by checking the save type. 2022-04-02 19:54:32 +02:00
Guillaume Jacquemin 718a6fd754 Mass: improve logging. 2022-03-30 19:51:00 +02:00
Guillaume Jacquemin 677bf21c9f Mass: slight formatting update.
Seriously, how did this slip through the cracks ?
2022-03-30 19:46:09 +02:00
Guillaume Jacquemin 47520b89e3 Mass: implement BL attachment writing.
Needs testing, though.
2022-03-20 10:16:39 +01:00
Guillaume Jacquemin 75d77413f6 Mass: add a new value to BulletLauncherSockets.hpp. 2022-03-13 15:26:00 +01:00
Guillaume Jacquemin ddad6536c6 Mass: fix a condition. 2022-03-13 15:25:11 +01:00
Guillaume Jacquemin d9f6470dc6 Mass: make the code look in the right places.
Time to facepalm...
2022-03-13 11:02:43 +01:00
Guillaume Jacquemin be06c2d552 Mass: add reading support for 0.8 BL placement.
Then, it's UI design time, followed by writing support.
2022-03-12 09:34:19 +01:00
Guillaume Jacquemin d61977d758 Weapon: change how enums are built. 2022-03-11 15:39:49 +01:00
Guillaume Jacquemin f36782bff0 ArmourPart: auto-fill ArmourSlot using ArmourSlots.hpp. 2022-03-11 10:58:13 +01:00
Guillaume Jacquemin 76613c2ec5 Mass: add a few missing string views. 2022-03-11 10:57:16 +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 771e008e62 Mass: fragment into smaller files.
Should help navigation and maintenance.
2022-03-06 09:52:11 +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 6208825aa6 Mass: fix a bug that prevented global styles from being read. 2022-03-02 14:10:13 +01:00
Guillaume Jacquemin de2ba9ce7f Mass(Manager),SaveTool: improve error handling. 2022-02-26 14:48:45 +01:00
Guillaume Jacquemin 883d5d3f41 Mass,SaveTool: improve error handling. 2022-02-23 15:47:34 +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 afc163f344 Mass: rename a member.
SteamIDs aren't used anymore in 0.8+ save files.
2022-02-09 20:16:14 +01:00
Guillaume Jacquemin 353a71d8ab Weapon: remove an unneeded blank line. 2022-02-09 18:28:23 +01:00
Guillaume Jacquemin bbc40d7c93 Weapon: update formatting. 2022-02-09 18:12:11 +01:00
Guillaume Jacquemin 28db82c8a9 Weapon,Mass,SaveTool: refactor some more code. 2022-02-09 14:17:05 +01:00
Guillaume Jacquemin 41cd92352d Mass: refactor and optimise some parts. 2022-02-09 13:41:55 +01:00
Guillaume Jacquemin d74a7bc219 Mass: make Weapon copyable.
This is necessary to add weapon copying.
2022-01-30 14:02:30 +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 fe0db983ce Mass: add tuning reading support.
Writing support SOON™.
2021-12-02 15:27:00 +01:00
Guillaume Jacquemin bd8ff47f1e Mass: fix data ordering issue with joint sliders. 2021-11-01 11:19:34 +01:00
Guillaume Jacquemin 8d87cdd619 Mass: fix a check. 2021-10-29 14:41:52 +02:00
Guillaume Jacquemin 0900f92b9f Mass: finish implementing the saving feature.
Oh, and also remove a blank line, but that's not important.
2021-10-29 10:23:34 +02:00
Guillaume Jacquemin af71806e13 Mass: finish getWeaponType(). 2021-10-18 14:54:28 +02:00
Guillaume Jacquemin 247578a386 Mass: add getDecals() and getAccessories(). 2021-10-18 14:54:04 +02:00
Guillaume Jacquemin 4ca6f62d9b Mass: remove as many hardcoded values as possible. 2021-10-17 15:29:16 +02:00
Guillaume Jacquemin e461d5a505 Mass: add getCustomStyles(); 2021-10-17 15:28:54 +02:00
Guillaume Jacquemin d79debe69f Mass: change how setCustomStyle() works.
This'll allow usage with weapon styles.
2021-10-17 10:52:57 +02:00