mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
code duplication prune. should aid in stability
This commit is contained in:
parent
10f2453cee
commit
98a079a797
123 changed files with 632 additions and 966 deletions
|
|
@ -64,7 +64,7 @@ class RigidShapeData : public ShapeBaseData
|
|||
} body;
|
||||
|
||||
DECLARE_SOUNDASSET_ARRAY(RigidShapeData, BodySounds, Body::Sounds::MaxSounds)
|
||||
DECLARE_SOUNDASSET_ARRAY_SETGET(RigidShapeData, BodySounds);
|
||||
DECLARE_ASSET_ARRAY_SETGET(RigidShapeData, BodySounds);
|
||||
|
||||
SFXProfile* getBodySoundProfile(U32 id)
|
||||
{
|
||||
|
|
@ -92,7 +92,7 @@ class RigidShapeData : public ShapeBaseData
|
|||
MaxSounds
|
||||
};
|
||||
DECLARE_SOUNDASSET_ARRAY(RigidShapeData, WaterSounds, Sounds::MaxSounds)
|
||||
DECLARE_SOUNDASSET_ARRAY_SETGET(RigidShapeData, WaterSounds);
|
||||
DECLARE_ASSET_ARRAY_SETGET(RigidShapeData, WaterSounds);
|
||||
|
||||
SFXProfile* getWaterSoundProfile(U32 id)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue