131 Commits

Author SHA1 Message Date
Lioncash
566a32fd75 General: Migrate off non-constexpr constants 2020-06-16 22:48:11 -04:00
Lioncash
f942ad6551 CGameTemplate: Mark getter functions as const
These don't modify internal class state, so we can mark them as const.
2020-06-14 18:58:05 -04:00
Lioncash
15708b8624 CGameTemplate: Collapse loops into ranged for where applicable 2020-06-14 18:49:37 -04:00
Lioncash
d9bb255518 CGameTemplate: Use in-class initializers where applicable
Same behavior, less code.
2020-06-14 18:35:10 -04:00
Lioncash
b2db6a21fa CFlagsProperty: Mark HasValidValue() as const
This doesn't modify internal state.
2020-06-14 17:07:47 -04:00
Lioncash
d5a33b631a CFlagsProperty: Make use of a ranged for loop 2020-06-14 17:06:46 -04:00
Lioncash
f0cd6ee99b CStructProperty: Make use of ranged for 2020-06-12 17:25:06 -04:00
Lioncash
7b40eec19c CScriptObject: Collapse for loops into ranged for loops
While we're at it, eliminate sign conversion warnings.
2020-06-12 17:12:37 -04:00
Lioncash
5c42bcc580 CLink: Resolve sign conversion warnings 2020-06-12 16:46:49 -04:00
Lioncash
38d245b460 CLink: Make constructor explicit 2020-06-12 16:45:33 -04:00
LC
10cbcd4024
Merge pull request #31 from lioncash/properties
Property: Make use of override where applicable
2020-06-12 13:17:05 -04:00
Lioncash
012da6fb6d General: Remove unnecessary inline specifiers and add overrides 2020-06-11 15:49:42 -04:00
Lioncash
96876b70e0 Property: Make use of override where applicable
Makes the API strongly enforced. This also fixes a bug in CBoolProperty,
where ValueAsString() had an incorrect signature (was missing a const).
2020-06-10 09:19:12 -04:00
Jack Andersen
036c56370c Various memory-related bug fixes
Also new lzokay API to reduce erroneous usage.
2019-06-14 09:01:29 -10:00
Jack Andersen
4c873591f0 Make InstanceID label selectable and add parsing tooltip 2019-06-13 13:12:53 -10:00
Jack Andersen
5a8b62b1cd Mac build fixes 2019-05-27 00:59:37 -10:00
Jack Andersen
28f96e91c2 More linux and memory leak fixes 2019-05-26 18:59:19 -10:00
Jack Andersen
981b374232
Merge pull request #1 from Antidote/cmake
Silence Warnings
2019-05-26 15:38:50 -10:00
Jack Andersen
d593500e18 Codegen fixes, DPI scaling, SVG icons 2019-05-26 15:29:10 -10:00
1c80a13c23 Silence Warnings 2019-05-26 18:18:31 -07:00
Jack Andersen
9f94db6c82 Linux build fixes 2019-05-25 20:24:13 -10:00
Aruki
4e1560a99c Reorganized collision data classes & added basic collision editor window with an OBB tree visualization 2019-02-12 02:50:07 -07:00
Aruki
1360202ee5 Added commandline-operated test for verifying cooker output 2019-01-30 01:05:52 -07:00
Aruki
9d23d9550a MP2/MP3/DKCR tweak saving support 2019-01-28 03:55:15 -07:00
Aruki
e2d554ae8b Tweak templates for MP2, MP3, and DKCR 2019-01-27 16:47:56 -07:00
Aruki
e9e1ccb8d6 String cooking support 2019-01-12 23:43:41 -08:00
Aruki
a1d94cc58f Rewrote SCAN asset handling + loading 2019-01-12 21:28:04 -08:00
Aruki
7b005d7ebd Changes made in the tweak editor are now correctly applied to the tweak data & are undo/redo supported 2018-12-30 03:55:50 -07:00
Aruki
7588200c26 Tweak loader for MP1 2018-12-27 20:16:39 -07:00
Aruki
c4829f5fda Cleanup & refactoring 2018-12-16 14:00:40 -07:00
Aruki
2287b05bc3 Refactor so PWE compiles with the newly externalized LibCommon 2018-12-11 22:50:46 -07:00
Aruki
64e0aa8a44 Updated outdated IArchive documentation and got rid of old template reader/writer classes 2018-10-21 19:23:41 -06:00
Aruki
1bc95a30a5 Added ability to test Int properties as Choices. Added functionality to fix the property name map keeping track of unused type/ID pairs. Fixed various UI bugs. 2018-10-21 19:01:57 -06:00
Aruki
bac4f9db82 Fixed script object properties never getting their dirty flag cleared after saving 2018-10-15 03:11:10 -06:00
Aruki
7dcfda78ba Added support for converting some property types to other types 2018-10-15 02:58:11 -06:00
Aruki
95d270cde7 Added support for excluding properties from generation results that already have valid names. Plus some more property names 2018-10-14 20:29:50 -06:00
Aruki
bd8579167d Fixing some stuff I screwed up in the last commit, oops. 2018-10-13 22:44:39 -06:00
Aruki
5a56764815 Merged in new property names; fixed games being able to rename UnknownStruct* templates in other games 2018-10-13 21:40:09 -06:00
Aruki
cf219cf17a Added support for renaming property archetypes. Added support for enums to override the default type name. Added the ability for enums/choices/flags with no values/flags to be edited as ints. 2018-10-13 16:33:31 -06:00
Aruki
1ef86f0896 Changed Echoes enum properties to choices 2018-10-12 21:19:12 -06:00
Aruki
1d724b69d9 Added support for enum combo boxes, and added casing combo box and property ID pools to the property name generator 2018-10-12 19:38:08 -06:00
Aruki
ef6759df4a Removed an unnecessary parameter from game templates 2018-10-09 23:27:31 -06:00
Aruki
22ab73883c Fixed property name generator/template edit dialog to work with new property system 2018-10-09 23:15:15 -06:00
Aruki
803ea5788b New templates 2018-10-07 21:47:18 -06:00
Aruki
84d689e104 Changed EGame to an enum class. Created NGameList and NPropertyMap to change how templates are managed/saved/loaded. Added support for property map keeping track of ID/type pairs. 2018-10-07 17:53:19 -06:00
Aruki
42d021e757 More cleanup, renamed CMasterTemplate to CGameTemplate 2018-09-22 23:54:34 -06:00
Aruki
31dac74a64 Property cleanup 2018-09-22 13:36:50 -06:00
Aruki
e68b961a8c Fixed doors not rendering correctly, fixed array properties not displaying correctly, fixed crashes when accessing certain property types 2018-09-22 12:18:39 -06:00
Aruki
2118bbd0cd More fixes. Property/serialization changes are finally basically finished now. Serialized property templates now load & display correctly in the editor 2018-09-22 03:26:15 -06:00
Aruki
33e915a638 Fixed a few last things to get script template serialization working 100%. Fixed some bugs that caused the serializer to crash on loading old projects and prevented dependency trees from serializing correctly. 2018-09-20 13:11:42 -06:00