2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:07:43 +00:00

New code style refactor

This commit is contained in:
Jack Andersen
2018-12-07 19:30:43 -10:00
parent 41ae32be31
commit 636c82a568
1451 changed files with 171430 additions and 203303 deletions

View File

@@ -3,22 +3,18 @@
#include "CAnimPerSegmentData.hpp"
#include "CSegId.hpp"
namespace urde
{
namespace urde {
class CSegIdList;
class CCharLayoutInfo;
class CSegStatementSet
{
class CSegStatementSet {
public:
/* Used to be a pointer to arbitrary subclass-provided storage,
* now it's a self-stored array */
CAnimPerSegmentData x4_segData[100];
void Add(const CSegIdList& list, const CCharLayoutInfo& layout,
const CSegStatementSet& other, float weight);
/* Used to be a pointer to arbitrary subclass-provided storage,
* now it's a self-stored array */
CAnimPerSegmentData x4_segData[100];
void Add(const CSegIdList& list, const CCharLayoutInfo& layout, const CSegStatementSet& other, float weight);
CAnimPerSegmentData& operator[](const CSegId& idx) { return x4_segData[idx]; }
CAnimPerSegmentData& operator[](const CSegId& idx) { return x4_segData[idx]; }
};
}
} // namespace urde