mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 12:27:43 +00:00
IAnimReader: Make use of size_t for capacity and iterators
Allows using container sizes and capacities without needing to cast them, allowing for dehardcoding of array sizes in some scenarios.
This commit is contained in:
@@ -30,13 +30,13 @@ public:
|
||||
bool VHasOffset(const CSegId& seg) const override;
|
||||
zeus::CVector3f VGetOffset(const CSegId& seg) const override;
|
||||
zeus::CQuaternion VGetRotation(const CSegId& seg) const override;
|
||||
u32 VGetBoolPOIList(const CCharAnimTime& time, CBoolPOINode* listOut, u32 capacity, u32 iterator, u32) const override;
|
||||
u32 VGetInt32POIList(const CCharAnimTime& time, CInt32POINode* listOut, u32 capacity, u32 iterator,
|
||||
u32) const override;
|
||||
u32 VGetParticlePOIList(const CCharAnimTime& time, CParticlePOINode* listOut, u32 capacity, u32 iterator,
|
||||
size_t VGetBoolPOIList(const CCharAnimTime& time, CBoolPOINode* listOut, size_t capacity, size_t iterator, u32) const override;
|
||||
size_t VGetInt32POIList(const CCharAnimTime& time, CInt32POINode* listOut, size_t capacity, size_t iterator,
|
||||
u32) const override;
|
||||
size_t VGetParticlePOIList(const CCharAnimTime& time, CParticlePOINode* listOut, size_t capacity, size_t iterator,
|
||||
u32) const override;
|
||||
size_t VGetSoundPOIList(const CCharAnimTime& time, CSoundPOINode* listOut, size_t capacity, size_t iterator,
|
||||
u32) const override;
|
||||
u32 VGetSoundPOIList(const CCharAnimTime& time, CSoundPOINode* listOut, u32 capacity, u32 iterator,
|
||||
u32) const override;
|
||||
bool VGetBoolPOIState(std::string_view name) const override;
|
||||
s32 VGetInt32POIState(std::string_view name) const override;
|
||||
CParticleData::EParentedMode VGetParticlePOIState(std::string_view name) const override;
|
||||
|
||||
Reference in New Issue
Block a user