2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 06:27:43 +00:00

CSegStatementSet: Make x4_segData private

Accessors already exist to access the data individually, so we can just
use those instead.
This commit is contained in:
Lioncash
2020-04-01 00:31:49 -04:00
parent da75543c76
commit c02d5a91b8
3 changed files with 7 additions and 5 deletions

View File

@@ -8,10 +8,12 @@ class CCharLayoutInfo;
class CSegIdList;
class CSegStatementSet {
public:
private:
/* Used to be a pointer to arbitrary subclass-provided storage,
* now it's a self-stored array */
CAnimPerSegmentData x4_segData[100];
public:
void Add(const CSegIdList& list, const CCharLayoutInfo& layout, const CSegStatementSet& other, float weight);
CAnimPerSegmentData& operator[](const CSegId& idx) { return x4_segData[idx]; }