From 561481499d4cb6e1d2a85e5dc35c7c8ff0534e3d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 14 Mar 2015 11:57:28 -0400 Subject: MADS: Persist gameplay options --- engines/mads/mads.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/mads/mads.h') diff --git a/engines/mads/mads.h b/engines/mads/mads.h index 9a8f2152a1..7cc0ac8bc2 100644 --- a/engines/mads/mads.h +++ b/engines/mads/mads.h @@ -84,6 +84,8 @@ private: * Handles basic initialisation */ void initialize(); + + void loadOptions(); protected: // Engine APIs virtual Common::Error run(); @@ -145,6 +147,8 @@ public: * Handles saving the game via the GMM */ virtual Common::Error saveGameState(int slot, const Common::String &desc); + + void saveOptions(); }; } // End of namespace MADS -- cgit v1.2.3 From 97ef41707ab957099b4972bba501479001315e69 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 14 Mar 2015 19:09:44 -0400 Subject: MADS: Hook up sfx/music flags --- engines/mads/mads.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/mads/mads.h') diff --git a/engines/mads/mads.h b/engines/mads/mads.h index 7cc0ac8bc2..1d641e7c87 100644 --- a/engines/mads/mads.h +++ b/engines/mads/mads.h @@ -106,6 +106,7 @@ public: bool _textWindowStill; ScreenFade _screenFade; bool _musicFlag; + bool _soundFlag; bool _dithering; public: MADSEngine(OSystem *syst, const MADSGameDescription *gameDesc); @@ -148,6 +149,11 @@ public: */ virtual Common::Error saveGameState(int slot, const Common::String &desc); + /** + * Handles updating sound settings after they're changed in the GMM dialog + */ + virtual void syncSoundSettings(); + void saveOptions(); }; -- cgit v1.2.3 From 5dd69b4dd1be1dd8793111df089a4c737231a614 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 9 May 2015 15:56:27 +0200 Subject: MADS: Make GPL header consistent with what we normally use. --- engines/mads/mads.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/mads/mads.h') diff --git a/engines/mads/mads.h b/engines/mads/mads.h index 1d641e7c87..901035320a 100644 --- a/engines/mads/mads.h +++ b/engines/mads/mads.h @@ -8,12 +8,12 @@ * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. - + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -- cgit v1.2.3