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:
@@ -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]; }
|
||||
|
||||
Reference in New Issue
Block a user