From fe98dbb69d1f8222eeb391111f59670658b0daad Mon Sep 17 00:00:00 2001 From: Matthew Stewart Date: Mon, 23 Jul 2018 22:53:10 -0400 Subject: STARTREK: Reformat with artistic style --- engines/startrek/sound.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'engines/startrek/sound.h') diff --git a/engines/startrek/sound.h b/engines/startrek/sound.h index 37100b467c..5354d92fd9 100644 --- a/engines/startrek/sound.h +++ b/engines/startrek/sound.h @@ -30,7 +30,7 @@ #include "audio/mixer.h" namespace Common { - class MacResManager; +class MacResManager; } namespace StarTrek { @@ -114,7 +114,7 @@ class Sound { public: Sound(StarTrekEngine *vm); ~Sound(); - + void clearAllMidiSlots(); /** * Plays a midi track as a sound effect (one of midi slots 1-7) @@ -131,21 +131,21 @@ public: void setMusicEnabled(bool enable); void setSfxEnabled(bool enable); void checkLoopMusic(); - + private: StarTrekEngine *_vm; Audio::SoundHandle *_soundHandle; - + void loadPCMusicFile(const Common::String &baseSoundName); void clearMidiSlot(int slot); - + // MIDI-Related Variables MidiDriver *_midiDriver; MidiPlaybackSlot _midiSlots[NUM_MIDI_SLOTS]; // 0 is for music; 1-7 are for sfx - Common::List _midiSlotList; // Sorts midi slots by most recently used + Common::List _midiSlotList; // Sorts midi slots by most recently used byte *loadedSoundData; - uint32 _midiDevice; + uint32 _midiDevice; // VOC-related variables Audio::SoundHandle _sfxHandles[MAX_SFX_PLAYING]; -- cgit v1.2.3