mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 08:27:43 +00:00
RuntimeCommon: Use const on member functions where applicable
Adds missing const qualifiers on class member functions that don't modify instance state.
This commit is contained in:
@@ -17,13 +17,13 @@ class CBodyStateInfo {
|
||||
pas::EAnimationState x2c_additiveState = pas::EAnimationState::AdditiveIdle;
|
||||
float x30_maxPitch = 0.f;
|
||||
bool x34_24_changeLocoAtEndOfAnimOnly;
|
||||
std::unique_ptr<CBodyState> SetupRestrictedFlyerBodyStates(int stateId, CActor& actor);
|
||||
std::unique_ptr<CBodyState> SetupNewFlyerBodyStates(int stateId, CActor& actor);
|
||||
std::unique_ptr<CBodyState> SetupWallWalkerBodyStates(int stateId, CActor& actor);
|
||||
std::unique_ptr<CBodyState> SetupPitchableBodyStates(int stateId, CActor& actor);
|
||||
std::unique_ptr<CBodyState> SetupFlyerBodyStates(int stateId, CActor& actor);
|
||||
std::unique_ptr<CBodyState> SetupRestrictedBodyStates(int stateId, CActor& actor);
|
||||
std::unique_ptr<CBodyState> SetupBiPedalBodyStates(int stateId, CActor& actor);
|
||||
std::unique_ptr<CBodyState> SetupRestrictedFlyerBodyStates(int stateId, CActor& actor) const;
|
||||
std::unique_ptr<CBodyState> SetupNewFlyerBodyStates(int stateId, CActor& actor) const;
|
||||
std::unique_ptr<CBodyState> SetupWallWalkerBodyStates(int stateId, CActor& actor) const;
|
||||
std::unique_ptr<CBodyState> SetupPitchableBodyStates(int stateId, CActor& actor) const;
|
||||
std::unique_ptr<CBodyState> SetupFlyerBodyStates(int stateId, CActor& actor) const;
|
||||
std::unique_ptr<CBodyState> SetupRestrictedBodyStates(int stateId, CActor& actor) const;
|
||||
std::unique_ptr<CBodyState> SetupBiPedalBodyStates(int stateId, CActor& actor) const;
|
||||
|
||||
public:
|
||||
CBodyStateInfo(CActor& actor, EBodyType type);
|
||||
|
||||
Reference in New Issue
Block a user