Add an alternate allocator for DecalManager; Also fix SFX weirdness.

This commit is contained in:
James Urquhart 2023-12-10 11:57:08 +00:00
parent 915fac31b3
commit 3781c7fae5
12 changed files with 146 additions and 185 deletions

View file

@ -39,6 +39,13 @@
//-----------------------------------------------------------------------------
SFXSoundscape::SFXSoundscape()
: mAmbience( NULL )
{
}
//-----------------------------------------------------------------------------
SFXSoundscape::SFXSoundscape( SFXAmbience* ambience )
: mAmbience( ambience )
{

View file

@ -106,6 +106,9 @@ class SFXSoundscape
bool _isUnique() const { return mFlags.test( FlagUnique ); }
public:
/// Defaault constructor for allocator
SFXSoundscape();
/// Create a soundscape associated with the given ambient space.
SFXSoundscape( SFXAmbience* ambience );