mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-15 07:26:10 +00:00
CPuddleToadGamma: Migrate static constants into the cpp file
Makes the data fully internally-linked. This also allows declaring skBellyOffset as constexpr. While we're at it, we can also make the solid filter constexpr as well, given it isn't modified anywhere. This allows the data to be placed within the read-only segment and potentially gets rid of a runtime static constructor.
This commit is contained in:
@@ -11,9 +11,6 @@
|
||||
namespace urde::MP1 {
|
||||
|
||||
class CPuddleToadGamma final : public CPatterned {
|
||||
static constexpr std::string_view mMouthLocatorName = "MOUTH_LCTR_SDK"sv;
|
||||
static constexpr std::string_view mBellyLocatorName = "SAMUS_POS_LCTR_SDK"sv;
|
||||
static const zeus::CVector3f skBellyOffset;
|
||||
u32 x568_stateProg = 0;
|
||||
float x56c_waitTimer = 0.f;
|
||||
CDamageInfo x570_playerShootDamage;
|
||||
|
||||
Reference in New Issue
Block a user