mirror of https://github.com/AxioDL/metaforce.git
CCollisionResponseData: Name parameters in function declarations
Allows IDEs and other introspection tools to be more useful when indicating parameters in function calls.
This commit is contained in:
parent
9c391f90e3
commit
156c0e8cd0
|
@ -127,20 +127,18 @@ class CCollisionResponseData {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CCollisionResponseData(CInputStream& in, CSimplePool* resPool);
|
CCollisionResponseData(CInputStream& in, CSimplePool* resPool);
|
||||||
const std::optional<TLockedToken<CGenDescription>>&
|
const std::optional<TLockedToken<CGenDescription>>& GetParticleDescription(EWeaponCollisionResponseTypes type) const;
|
||||||
GetParticleDescription(EWeaponCollisionResponseTypes) const;
|
const std::optional<TLockedToken<CDecalDescription>>& GetDecalDescription(EWeaponCollisionResponseTypes type) const;
|
||||||
const std::optional<TLockedToken<CDecalDescription>>&
|
s32 GetSoundEffectId(EWeaponCollisionResponseTypes type) const;
|
||||||
GetDecalDescription(EWeaponCollisionResponseTypes type) const;
|
static EWeaponCollisionResponseTypes GetWorldCollisionResponseType(s32 id);
|
||||||
s32 GetSoundEffectId(EWeaponCollisionResponseTypes) const;
|
static bool ResponseTypeIsEnemyShielded(EWeaponCollisionResponseTypes type);
|
||||||
static EWeaponCollisionResponseTypes GetWorldCollisionResponseType(s32);
|
static bool ResponseTypeIsEnemyNormal(EWeaponCollisionResponseTypes type);
|
||||||
static bool ResponseTypeIsEnemyShielded(EWeaponCollisionResponseTypes);
|
static bool ResponseTypeIsEnemySpecial(EWeaponCollisionResponseTypes type);
|
||||||
static bool ResponseTypeIsEnemyNormal(EWeaponCollisionResponseTypes);
|
|
||||||
static bool ResponseTypeIsEnemySpecial(EWeaponCollisionResponseTypes);
|
|
||||||
float GetAudibleRange() const { return x30_RNGE; }
|
float GetAudibleRange() const { return x30_RNGE; }
|
||||||
float GetAudibleFallOff() const { return x34_FOFF; }
|
float GetAudibleFallOff() const { return x34_FOFF; }
|
||||||
static FourCC UncookedResType();
|
static FourCC UncookedResType();
|
||||||
};
|
};
|
||||||
|
|
||||||
CFactoryFnReturn FCollisionResponseDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms,
|
CFactoryFnReturn FCollisionResponseDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms,
|
||||||
CObjectReference*);
|
CObjectReference* selfRef);
|
||||||
} // namespace urde
|
} // namespace urde
|
||||||
|
|
Loading…
Reference in New Issue