mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 23:54:35 +00:00
soundasset augments: get<name>Profile methods, test for emptystring, initialize asset arrays
lightning provides a conversion sample (attempt. it's still yelling)
This commit is contained in:
parent
2181ce08c3
commit
dba0899887
3 changed files with 21 additions and 22 deletions
|
|
@ -92,22 +92,6 @@ class LightningData : public GameBaseData
|
|||
|
||||
DECLARE_CONOBJECT(LightningData);
|
||||
static void initPersistFields();
|
||||
|
||||
SFXProfile* getThunderProfile(U32 id)
|
||||
{
|
||||
if (mThunderSoundAsset[id] != NULL)
|
||||
return mThunderSoundAsset[id]->getSfxProfile();
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
SFXProfile* getSFXProfile() {
|
||||
if (mStrikeSoundAsset.notNull())
|
||||
return mStrikeSoundAsset->getSfxProfile();
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue