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

IAnimReader: Make use of std::string_view where applicable

Same behavior, but allows interoperating with different string types in
a more straightforward manner.
This commit is contained in:
Lioncash
2020-03-31 03:05:05 -04:00
parent 13ce419554
commit 2c36b0bb83
11 changed files with 34 additions and 33 deletions

View File

@@ -68,9 +68,9 @@ public:
u32) const override;
u32 VGetSoundPOIList(const CCharAnimTime& time, CSoundPOINode* listOut, u32 capacity, u32 iterator,
u32) const override;
bool VGetBoolPOIState(const char* name) const override;
s32 VGetInt32POIState(const char* name) const override;
CParticleData::EParentedMode VGetParticlePOIState(const char* name) 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;
using IAnimReader::VGetOffset;
virtual zeus::CVector3f VGetOffset(const CSegId& seg, const CCharAnimTime& b) const = 0;