Reduce visibility of engine sound members and methods

This commit is contained in:
Robert Müller 2022-06-26 22:04:28 +02:00
parent 757d7d0068
commit b4a82b1b87

View file

@ -16,14 +16,9 @@ class CSound : public IEngineSound
bool m_SoundEnabled;
SDL_AudioDeviceID m_Device;
public:
IEngineGraphics *m_pGraphics;
IStorage *m_pStorage;
int Init() override;
int Update() override;
int Shutdown() override;
int AllocID();
static void RateConvert(int SampleID);
@ -32,6 +27,11 @@ public:
static int DecodeWV(int SampleID, const void *pData, unsigned DataSize);
static int DecodeOpus(int SampleID, const void *pData, unsigned DataSize);
public:
int Init() override;
int Update() override;
int Shutdown() override;
bool IsSoundEnabled() override { return m_SoundEnabled; }
int LoadWV(const char *pFilename) override;