mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
cleanups for sound assets
removed redundant get<foo>Profile calls, correctly used a few in proxmine
This commit is contained in:
parent
3c30a905c3
commit
93faa243ac
11 changed files with 25 additions and 81 deletions
|
|
@ -66,14 +66,6 @@ class RigidShapeData : public ShapeBaseData
|
|||
DECLARE_SOUNDASSET_ARRAY(RigidShapeData, BodySounds, Body::Sounds::MaxSounds)
|
||||
DECLARE_ASSET_ARRAY_SETGET(RigidShapeData, BodySounds);
|
||||
|
||||
SFXProfile* getBodySoundProfile(U32 id)
|
||||
{
|
||||
if (mBodySoundsAsset[id] != NULL)
|
||||
return mBodySoundsAsset[id]->getSfxProfile();
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
enum RigidShapeConsts
|
||||
{
|
||||
VC_NUM_DUST_EMITTERS = 1,
|
||||
|
|
@ -94,14 +86,6 @@ class RigidShapeData : public ShapeBaseData
|
|||
DECLARE_SOUNDASSET_ARRAY(RigidShapeData, WaterSounds, Sounds::MaxSounds)
|
||||
DECLARE_ASSET_ARRAY_SETGET(RigidShapeData, WaterSounds);
|
||||
|
||||
SFXProfile* getWaterSoundProfile(U32 id)
|
||||
{
|
||||
if (mWaterSoundsAsset[id] != NULL)
|
||||
return mWaterSoundsAsset[id]->getSfxProfile();
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
F32 exitSplashSoundVel;
|
||||
F32 softSplashSoundVel;
|
||||
F32 medSplashSoundVel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue