diff options
-rw-r--r-- | engines/sherlock/journal.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/map.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/resources.cpp | 4 | ||||
-rw-r--r-- | engines/sherlock/scene.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/sound.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/surface.cpp | 2 | ||||
-rw-r--r-- | engines/sherlock/talk.cpp | 2 |
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; |