Make most subsystems available as protected properties in base Game class, implement IDisposable on systems.

This commit is contained in:
2024-08-22 21:47:57 +02:00
parent c61a12d170
commit 03e7a4a90c
11 changed files with 136 additions and 65 deletions

View File

@@ -71,6 +71,11 @@ namespace Voile.Audio
channelGroup.addDSP(0, dsp);
}
protected override void Shutdown()
{
}
private DSP CreateReverbDsp(AudioEffectReverb effectReverb)
{
DSP dsp;
@@ -122,11 +127,6 @@ namespace Voile.Audio
return _channelGroups[busName];
}
public override void Shutdown()
{
}
private FMOD.System _system;
// TODO: use a different key for the dictionary, paths are not good :( (waste of memory lol)