mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
Various cleanups and minor imps
This commit is contained in:
@@ -3,10 +3,7 @@
|
||||
namespace urde
|
||||
{
|
||||
|
||||
SObjectTag CEffectComponent::GetSObjectTagFromStream(CInputStream& in)
|
||||
{
|
||||
return SObjectTag(in);
|
||||
}
|
||||
SObjectTag CEffectComponent::GetSObjectTagFromStream(CInputStream& in) { return SObjectTag(in); }
|
||||
|
||||
CEffectComponent::CEffectComponent(CInputStream& in)
|
||||
{
|
||||
@@ -14,18 +11,19 @@ CEffectComponent::CEffectComponent(CInputStream& in)
|
||||
x10_tag = GetSObjectTagFromStream(in);
|
||||
x18_boneName = in.readString();
|
||||
x28_scale = in.readFloatBig();
|
||||
x2c_ = in.readUint32Big();
|
||||
x30_ = in.readUint32Big();
|
||||
x2c_parentedMode = in.readUint32Big();
|
||||
x30_flags = in.readUint32Big();
|
||||
}
|
||||
|
||||
const std::string& CEffectComponent::GetComponentName() const
|
||||
{
|
||||
return x0_name;
|
||||
}
|
||||
const std::string& CEffectComponent::GetComponentName() const { return x0_name; }
|
||||
|
||||
const SObjectTag& CEffectComponent::GetParticleTag() const
|
||||
{
|
||||
return x10_tag;
|
||||
}
|
||||
const SObjectTag& CEffectComponent::GetParticleTag() const { return x10_tag; }
|
||||
|
||||
const std::string& CEffectComponent::GetSegmentName() const { return x18_boneName; }
|
||||
|
||||
float CEffectComponent::GetScale() const { return x28_scale; }
|
||||
|
||||
u32 CEffectComponent::GetParentedMode() const { return x2c_parentedMode; }
|
||||
|
||||
u32 CEffectComponent::GetFlags() const { return x30_flags; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user