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:
|
||||
CCollisionResponseData(CInputStream& in, CSimplePool* resPool);
|
||||
const std::optional<TLockedToken<CGenDescription>>&
|
||||
GetParticleDescription(EWeaponCollisionResponseTypes) const;
|
||||
const std::optional<TLockedToken<CDecalDescription>>&
|
||||
GetDecalDescription(EWeaponCollisionResponseTypes type) const;
|
||||
s32 GetSoundEffectId(EWeaponCollisionResponseTypes) const;
|
||||
static EWeaponCollisionResponseTypes GetWorldCollisionResponseType(s32);
|
||||
static bool ResponseTypeIsEnemyShielded(EWeaponCollisionResponseTypes);
|
||||
static bool ResponseTypeIsEnemyNormal(EWeaponCollisionResponseTypes);
|
||||
static bool ResponseTypeIsEnemySpecial(EWeaponCollisionResponseTypes);
|
||||
const std::optional<TLockedToken<CGenDescription>>& GetParticleDescription(EWeaponCollisionResponseTypes type) const;
|
||||
const std::optional<TLockedToken<CDecalDescription>>& GetDecalDescription(EWeaponCollisionResponseTypes type) const;
|
||||
s32 GetSoundEffectId(EWeaponCollisionResponseTypes type) const;
|
||||
static EWeaponCollisionResponseTypes GetWorldCollisionResponseType(s32 id);
|
||||
static bool ResponseTypeIsEnemyShielded(EWeaponCollisionResponseTypes type);
|
||||
static bool ResponseTypeIsEnemyNormal(EWeaponCollisionResponseTypes type);
|
||||
static bool ResponseTypeIsEnemySpecial(EWeaponCollisionResponseTypes type);
|
||||
float GetAudibleRange() const { return x30_RNGE; }
|
||||
float GetAudibleFallOff() const { return x34_FOFF; }
|
||||
static FourCC UncookedResType();
|
||||
};
|
||||
|
||||
CFactoryFnReturn FCollisionResponseDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms,
|
||||
CObjectReference*);
|
||||
CObjectReference* selfRef);
|
||||
} // namespace urde
|
||||
|
|
Loading…
Reference in New Issue