From 9866aba2e43da914a17d17b695456ca25a875469 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 27 May 2014 00:58:25 +0200 Subject: MADS: Slight formatting fixes. --- engines/mads/nebular/game_nebular.cpp | 3 ++- engines/mads/nebular/game_nebular.h | 2 +- engines/mads/nebular/globals_nebular.cpp | 3 ++- engines/mads/nebular/sound_nebular.cpp | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) (limited to 'engines/mads/nebular') diff --git a/engines/mads/nebular/game_nebular.cpp b/engines/mads/nebular/game_nebular.cpp index 28daf74488..db9ea2c7d1 100644 --- a/engines/mads/nebular/game_nebular.cpp +++ b/engines/mads/nebular/game_nebular.cpp @@ -35,7 +35,8 @@ namespace MADS { namespace Nebular { -GameNebular::GameNebular(MADSEngine *vm): Game(vm) { +GameNebular::GameNebular(MADSEngine *vm) + : Game(vm) { _surface = new MSurface(MADS_SCREEN_WIDTH, MADS_SCENE_HEIGHT); _storyMode = STORYMODE_NAUGHTY; _difficulty = DIFFICULTY_EASY; diff --git a/engines/mads/nebular/game_nebular.h b/engines/mads/nebular/game_nebular.h index 56bcf44a3f..ee30492792 100644 --- a/engines/mads/nebular/game_nebular.h +++ b/engines/mads/nebular/game_nebular.h @@ -129,7 +129,7 @@ public: class Section1Handler: public SectionHandler { public: - Section1Handler(MADSEngine *vm): SectionHandler(vm) {} + Section1Handler(MADSEngine *vm) : SectionHandler(vm) {} // TODO: Properly implement handler methods virtual void preLoadSection() {} diff --git a/engines/mads/nebular/globals_nebular.cpp b/engines/mads/nebular/globals_nebular.cpp index 7bb89a570c..9f8b8a7888 100644 --- a/engines/mads/nebular/globals_nebular.cpp +++ b/engines/mads/nebular/globals_nebular.cpp @@ -28,7 +28,8 @@ namespace MADS { namespace Nebular { -NebularGlobals::NebularGlobals(): Globals() { +NebularGlobals::NebularGlobals() + : Globals() { // Initialize lists resize(210); _spriteIndexes.resize(30); diff --git a/engines/mads/nebular/sound_nebular.cpp b/engines/mads/nebular/sound_nebular.cpp index 5d1daf1b3c..608a31cb25 100644 --- a/engines/mads/nebular/sound_nebular.cpp +++ b/engines/mads/nebular/sound_nebular.cpp @@ -934,7 +934,8 @@ const ASound1::CommandPtr ASound1::_commandList[42] = { &ASound1::command40, &ASound1::command41 }; -ASound1::ASound1(Audio::Mixer *mixer): ASound(mixer, "asound.001", 0x1520) { +ASound1::ASound1(Audio::Mixer *mixer) + : ASound(mixer, "asound.001", 0x1520) { _cmd23Toggle = false; // Load sound samples -- cgit v1.2.3