aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorJohannes Schickel2014-05-27 00:58:25 +0200
committerJohannes Schickel2014-05-27 00:58:25 +0200
commit9866aba2e43da914a17d17b695456ca25a875469 (patch)
tree205c6a554d622cbcd6b60462c5fc6105d7071b09 /engines/mads/nebular
parent57c5656169d4736e2867aad60983b9a9ad9400a3 (diff)
downloadscummvm-rg350-9866aba2e43da914a17d17b695456ca25a875469.tar.gz
scummvm-rg350-9866aba2e43da914a17d17b695456ca25a875469.tar.bz2
scummvm-rg350-9866aba2e43da914a17d17b695456ca25a875469.zip
MADS: Slight formatting fixes.
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/game_nebular.cpp3
-rw-r--r--engines/mads/nebular/game_nebular.h2
-rw-r--r--engines/mads/nebular/globals_nebular.cpp3
-rw-r--r--engines/mads/nebular/sound_nebular.cpp3
4 files changed, 7 insertions, 4 deletions
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