From 1948b62a80f056050f94c8a56f00de58f42394b2 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 29 Jan 2017 20:36:15 -0500 Subject: TITANIC: Cleanup of music room object classes --- engines/titanic/sound/music_room.h | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'engines/titanic/sound/music_room.h') diff --git a/engines/titanic/sound/music_room.h b/engines/titanic/sound/music_room.h index da9e363850..f39957bdd1 100644 --- a/engines/titanic/sound/music_room.h +++ b/engines/titanic/sound/music_room.h @@ -56,27 +56,37 @@ public: /** * Sets the speed control for a given instrument */ - void setSpeedControl(MusicInstrument instrument, int val) { _instruments[instrument]._speedControl = val; } + void setSpeedControl(MusicInstrument instrument, int val) { + _instruments[instrument]._speedControl = val; + } /** * Sets the pitch control for a given instrument */ - void setPitchControl(MusicInstrument instrument, int val) { _instruments[instrument]._pitchControl = val; } + void setPitchControl(MusicInstrument instrument, int val) { + _instruments[instrument]._pitchControl = val; + } /** * Sets the direction control for a given instrument */ - void setDirectionControl(MusicInstrument instrument, bool val) { _instruments[instrument]._directionControl = val; } + void setDirectionControl(MusicInstrument instrument, bool val) { + _instruments[instrument]._directionControl = val; + } /** * Sets the inversion control for a given instrument */ - void setInversionControl(MusicInstrument instrument, bool val) { _instruments[instrument]._inversionControl = val; } + void setInversionControl(MusicInstrument instrument, bool val) { + _instruments[instrument]._inversionControl = val; + } /** * Sets the mute control for a given instrument */ - void setMuteControl(MusicInstrument instrument, bool val) { _instruments[instrument]._muteControl = val; } + void setMuteControl(MusicInstrument instrument, bool val) { + _instruments[instrument]._muteControl = val; + } /** * Sets up the music controls -- cgit v1.2.3