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