50 Commits

Author SHA1 Message Date
Lioncash
4a020d1d4a CSkin: Make use of ranged for where applicable
Same behavior, less code.
2020-06-17 04:27:54 -04:00
Lioncash
32dafc6bb8 CSkeleton: Make use of size_t where applicable
Prevents truncation warnings.
2020-06-17 04:24:49 -04:00
Lioncash
566a32fd75 General: Migrate off non-constexpr constants 2020-06-16 22:48:11 -04:00
Lioncash
c980df5188 CSourceAnimData: Make use of ranged for where applicable 2020-06-16 14:21:02 -04:00
Lioncash
9bcb2f288d CAnimationParameters: Provide operator!=
Provides logical symmetry.
2020-06-15 15:41:58 -04:00
Lioncash
f498088bed CAnimationParameters: Default copy constructor and assignment operator
Same behavior, less code.
2020-06-15 15:36:33 -04:00
Lioncash
247fcd37a8 CAnimationParameters: Remove unnecessary inline specifiers 2020-06-15 15:34:57 -04:00
LC
d0a32518cd
Merge pull request #21 from lioncash/anim
CAnimationParameters: Add missing break in switch cases in SetUnknown()
2020-06-15 15:33:31 -04:00
Lioncash
e49315a645 CSkeleton: Make use of unique_ptr where applicable
Makes ownership semantics explicit.
2020-06-14 16:49:51 -04:00
Lioncash
7da16efe9d CDependencyTree: Make use of unique_ptr
Makes the ownership semantics explicit in the interface.
2020-06-12 14:09:08 -04:00
Lioncash
9921ccfe25 IMetaTransition: Always initialize CMetaTransTrans members
Always provides a deterministic initial state.
2020-06-12 10:47:22 -04:00
Lioncash
eabc789910 CAnimSet: Simplify allocation code
We can make use of std::unique_ptr to prevent any potential memory leaks
from occurring and simplifying the destruction code.
2020-06-12 10:43:29 -04:00
Lioncash
4eb1027362 CAnimSet: Collapse loops into ranged for where applicable 2020-06-12 10:03:02 -04:00
Lioncash
2a5ab1ed32 CAnimEventLoader: Use unique_ptr more
Makes memory handling a little more robust.
2020-06-11 21:10:02 -04:00
Lioncash
ce315280c3 CResource: Make BuildDependencyTree() return a unique_ptr
Makes the functions more memory safe in terms of freeing memory in
exceptional paths .
2020-06-11 18:39:07 -04:00
Lioncash
eb8ca98a8a CAnimEventData: Collapse for loop into a ranged for loop 2020-06-11 18:02:52 -04:00
Lioncash
044efcf59d CAnimEventData: Remove unnecessary inline specifiers 2020-06-11 18:01:18 -04:00
Lioncash
012da6fb6d General: Remove unnecessary inline specifiers and add overrides 2020-06-11 15:49:42 -04:00
Lioncash
0c784aa305 CAnimation: Make use of std::array
Same behavior, but more strongly typed.
2020-06-09 04:21:45 -04:00
Lioncash
9f63991a0a CAnimation: Mark BuildDependencyTree() as overwritten
Same behavior, but enforces the interface.
2020-06-09 04:21:45 -04:00
Lioncash
a4f45aeb2d CAnimation: Remove unnecessary inline specifiers
Same behavior, less writing. Functions defined in a class declaration
are already implicitly inline.
2020-06-09 04:21:45 -04:00
Lioncash
f233af5de4 CAnimation: Convert typedefs into using aliases
Same behavior, nicer readability
2020-06-09 04:21:45 -04:00
Lioncash
d4d7cf66cd CAnimation: Make use of in-class initializers where applicable
Simplifies member initialization
2020-06-09 04:21:41 -04:00
Lioncash
7824d0720d CAnimationParameters: Add missing break in switch cases in SetUnknown()
Prevents undocumented switch fallthrough.
2020-06-09 04:10:49 -04:00
Lioncash
cf92227587 CAnimationParameters: Make use of in-class variable declarations where applicable
Same behavior, less code.
2020-06-09 04:10:45 -04:00
Jack Andersen
9f94db6c82 Linux build fixes 2019-05-25 20:24:13 -10:00
Aruki
56843e214d Added ability to create brand new SCAN/STRG assets. Added ability to update old projects. 2019-02-02 17:32:19 -07:00
Aruki
1e997dac46 Implemented SCAN cooker 2019-01-30 13:48:05 -07:00
Aruki
a1d94cc58f Rewrote SCAN asset handling + loading 2019-01-12 21:28:04 -08: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
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
5182f436b8 Major refactor of serialization system 2018-09-04 13:27:27 -06:00
Aruki
ce3dfdc397 Massive overhaul of property system done over the last few months. There is unfinished/broken stuff still, but it compiles now. 2018-06-22 15:24:04 -06:00
Aruki
f980bc7536 Added support for tracking extra dependencies in Corruption areas (necessary to avoid crashes) 2017-07-26 01:30:52 -06:00
Aruki
8b84b638ac Fixed all DKCR name generation issues 2017-07-05 01:10:57 -06:00
Aruki
46b65a5bcd Added support for the remaining DKCR formats; DKCR repacking works now 2017-06-26 20:34:58 -06:00
Aruki
b45eaae106 Fixed major issues when exporting DKCR 2017-05-14 01:48:47 -06:00
Aruki
560706d285 Fixed issues in MP3 package list building 2017-05-09 14:16:41 -06:00
Aruki
f72f82d519 Dropped support for transient resources; I am not using this functionality at all whatsoever and likely won't for a while, so why do I have it? 2017-05-07 20:29:33 -06:00
Aruki
9d6798b7ae Fixed up MP3 asset name generation, implemented a bunch of extra checks and safeguards to ensure asset names/directories are valid 2017-05-03 03:07:34 -06:00
Aruki
3fc35b7c09 Fixed log spam while exporting MP3 + fixed world asset name being generated incorrectly 2017-04-30 23:45:56 -06:00
Aruki
88c11555c0 Added support for CHAR, SAND, and SCAN dependencies in MP3 2017-04-30 22:28:37 -06:00
Aruki
a88afe31e3 Added support for CAUD dependencies, dropped redundant asset ID in dependency trees, various MP3 fixes 2017-02-20 03:42:04 -07:00
Aruki
eca833cf89 Changed game exporter to export from a full disc image using nod instead of a pre-extracted disc filesystem; also fixed issue with tabbing in/out with a file dialog open, and fixed a memory leak in CAnimSet 2017-02-06 09:20:18 -07:00
Aruki
c51d79cc42 Added "edit" button to resource selector context menu 2017-02-01 10:54:53 -07:00
parax0
2e44e5b119 Added functionality to generate asset names 2016-12-12 01:33:46 -07:00
parax0
f6fd78af14 Lots of work to get MP2 repacking functional 2016-11-07 03:07:00 -07:00
parax0
040caca896 Added support for loading meta-animations and meta-transitions (yay! animation exclusion doesn't crash anymore!) 2016-10-27 07:18:59 -06:00
parax0
595e4b931e Moved animation-related classes to their own subfolder 2016-10-26 18:12:08 -06:00