aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-18 18:12:58 -0400
committerPaul Gilbert2015-05-18 18:12:58 -0400
commit0b50a077f7ef1308f3da8a0e6ac29e5bdff78c99 (patch)
tree20e6dfe9cf5a7c7053cc55d637cff36eeba77f67 /engines/sherlock
parentffe82a40e820f90e53cfba06e399bf88005e9f04 (diff)
downloadscummvm-rg350-0b50a077f7ef1308f3da8a0e6ac29e5bdff78c99.tar.gz
scummvm-rg350-0b50a077f7ef1308f3da8a0e6ac29e5bdff78c99.tar.bz2
scummvm-rg350-0b50a077f7ef1308f3da8a0e6ac29e5bdff78c99.zip
SHERLOCK: Fix spacing in constructors
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/journal.cpp2
-rw-r--r--engines/sherlock/map.cpp2
-rw-r--r--engines/sherlock/resources.cpp4
-rw-r--r--engines/sherlock/scene.cpp2
-rw-r--r--engines/sherlock/sound.cpp2
-rw-r--r--engines/sherlock/surface.cpp2
-rw-r--r--engines/sherlock/talk.cpp2
7 files changed, 8 insertions, 8 deletions
diff --git a/engines/sherlock/journal.cpp b/engines/sherlock/journal.cpp
index 7e0120c67d..f288b43650 100644
--- a/engines/sherlock/journal.cpp
+++ b/engines/sherlock/journal.cpp
@@ -49,7 +49,7 @@ const int SEARCH_POINTS[3][3] = {
/*----------------------------------------------------------------*/
-Journal::Journal(SherlockEngine *vm): _vm(vm) {
+Journal::Journal(SherlockEngine *vm) : _vm(vm) {
// Initialize fields
_maxPage = 0;
_index = 0;
diff --git a/engines/sherlock/map.cpp b/engines/sherlock/map.cpp
index 7fca4ea5f3..dc9a0565cb 100644
--- a/engines/sherlock/map.cpp
+++ b/engines/sherlock/map.cpp
@@ -52,7 +52,7 @@ const byte *MapPaths::getPath(int srcLocation, int destLocation) {
/*----------------------------------------------------------------*/
-Map::Map(SherlockEngine *vm): _vm(vm), _topLine(SHERLOCK_SCREEN_WIDTH, 12) {
+Map::Map(SherlockEngine *vm) : _vm(vm), _topLine(SHERLOCK_SCREEN_WIDTH, 12) {
_active = false;
_mapCursors = nullptr;
_shapes = nullptr;
diff --git a/engines/sherlock/resources.cpp b/engines/sherlock/resources.cpp
index 456006a86a..fa68074c60 100644
--- a/engines/sherlock/resources.cpp
+++ b/engines/sherlock/resources.cpp
@@ -28,7 +28,7 @@
namespace Sherlock {
-Cache::Cache(SherlockEngine *vm): _vm(vm) {
+Cache::Cache(SherlockEngine *vm) : _vm(vm) {
}
/**
@@ -99,7 +99,7 @@ Common::SeekableReadStream *Cache::get(const Common::String &filename) const {
/*----------------------------------------------------------------*/
-Resources::Resources(SherlockEngine *vm): _vm(vm), _cache(vm) {
+Resources::Resources(SherlockEngine *vm) : _vm(vm), _cache(vm) {
_resourceIndex = -1;
if (_vm->_interactiveFl) {
diff --git a/engines/sherlock/scene.cpp b/engines/sherlock/scene.cpp
index a65c11b167..91c411db88 100644
--- a/engines/sherlock/scene.cpp
+++ b/engines/sherlock/scene.cpp
@@ -111,7 +111,7 @@ int ObjectArray::indexOf(const Object &obj) const {
/*----------------------------------------------------------------*/
-Scene::Scene(SherlockEngine *vm): _vm(vm) {
+Scene::Scene(SherlockEngine *vm) : _vm(vm) {
for (int idx = 0; idx < SCENES_COUNT; ++idx)
Common::fill(&_sceneStats[idx][0], &_sceneStats[idx][65], false);
_currentScene = -1;
diff --git a/engines/sherlock/sound.cpp b/engines/sherlock/sound.cpp
index c79e179c1c..3270fbf7e4 100644
--- a/engines/sherlock/sound.cpp
+++ b/engines/sherlock/sound.cpp
@@ -30,7 +30,7 @@
namespace Sherlock {
-Sound::Sound(SherlockEngine *vm, Audio::Mixer *mixer): _vm(vm), _mixer(mixer) {
+Sound::Sound(SherlockEngine *vm, Audio::Mixer *mixer) : _vm(vm), _mixer(mixer) {
_digitized = false;
_music = false;
_voices = 0;
diff --git a/engines/sherlock/surface.cpp b/engines/sherlock/surface.cpp
index 36e625794c..eeaf304958 100644
--- a/engines/sherlock/surface.cpp
+++ b/engines/sherlock/surface.cpp
@@ -27,7 +27,7 @@
namespace Sherlock {
-Surface::Surface(uint16 width, uint16 height): _freePixels(true) {
+Surface::Surface(uint16 width, uint16 height) : _freePixels(true) {
create(width, height);
}
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp
index dfcf9b912d..dc5b9c5ba7 100644
--- a/engines/sherlock/talk.cpp
+++ b/engines/sherlock/talk.cpp
@@ -91,7 +91,7 @@ void TalkSequences::clear() {
/*----------------------------------------------------------------*/
-Talk::Talk(SherlockEngine *vm): _vm(vm) {
+Talk::Talk(SherlockEngine *vm) : _vm(vm) {
_talkCounter = 0;
_talkToAbort = false;
_speaker = 0;