TRECISION: Make some members of SoundManager private

This commit is contained in:
Strangerke 2021-04-21 12:49:47 +02:00 committed by SupSuper
parent 7436888ae5
commit 9954c87b66
2 changed files with 3 additions and 7 deletions

View File

@ -41,7 +41,6 @@ SoundManager::SoundManager(TrecisionEngine *vm) : _vm(vm) {
sfxStream[i] = nullptr;
nltime = 0;
MinSampleBuffer = 0;
for (int i = 0; i < SAMPLEVOICES; ++i) {
playing[i] = 0;

View File

@ -62,15 +62,12 @@ public:
private:
TrecisionEngine *_vm;
SSound GSample[MAXSAMPLE];
public:
Audio::SeekableAudioStream *sfxStream[NUMSAMPLES];
Audio::SoundHandle soundHandle[SAMPLEVOICES]; // Sample handles for each mixer channel
uint32 nltime; // timer variable
int32 MinSampleBuffer;
SSound GSample[MAXSAMPLE];
uint32 nltime; // timer variable
int16 playing[SAMPLEVOICES]; // sample currently playing
int16 smpvol[SAMPLEVOICES];
@ -81,7 +78,7 @@ public:
int16 SoundFadInVal;
int16 SoundFadOutVal;
public:
void soundtimefunct();
void StopSoundSystem();
void LoadAudioWav(int num, Common::String fileName);