aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorStrangerke2014-12-17 19:14:14 +0100
committerStrangerke2014-12-17 19:14:14 +0100
commit67a40fd9b0be371fcc80f01d5cda73e7272027d0 (patch)
tree1fdada072ae1de3d5cfc6e2d533305f4a47c117e /engines/access
parent9daf9a30c07ede6d5c931af06976d6582fa38ba1 (diff)
downloadscummvm-rg350-67a40fd9b0be371fcc80f01d5cda73e7272027d0.tar.gz
scummvm-rg350-67a40fd9b0be371fcc80f01d5cda73e7272027d0.tar.bz2
scummvm-rg350-67a40fd9b0be371fcc80f01d5cda73e7272027d0.zip
ACCESS: Add missing space before semicolumn in constructors
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/amazon/amazon_logic.cpp8
-rw-r--r--engines/access/amazon/amazon_room.cpp2
-rw-r--r--engines/access/animation.cpp3
-rw-r--r--engines/access/debugger.cpp2
-rw-r--r--engines/access/events.cpp2
-rw-r--r--engines/access/files.cpp2
-rw-r--r--engines/access/martian/martian_game.cpp3
-rw-r--r--engines/access/martian/martian_room.cpp2
-rw-r--r--engines/access/player.cpp2
9 files changed, 12 insertions, 14 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp
index 2e936177d1..90bc29c329 100644
--- a/engines/access/amazon/amazon_logic.cpp
+++ b/engines/access/amazon/amazon_logic.cpp
@@ -32,7 +32,7 @@ namespace Access {
namespace Amazon {
-PannedScene::PannedScene(AmazonEngine *vm): AmazonManager(vm) {
+PannedScene::PannedScene(AmazonEngine *vm) : AmazonManager(vm) {
for (int i = 0; i < PAN_SIZE; ++i) {
_pan[i]._pObject = nullptr;
_pan[i]._pImgNum = 0;
@@ -559,7 +559,7 @@ void Opening::doTent() {
/*------------------------------------------------------------------------*/
-Plane::Plane(AmazonEngine *vm): PannedScene(vm) {
+Plane::Plane(AmazonEngine *vm) : PannedScene(vm) {
_pCount = 0;
_planeCount = 0;
_propCount = 0;
@@ -969,7 +969,7 @@ void Jungle::scrollJWalk() {
/*------------------------------------------------------------------------*/
-Guard::Guard(AmazonEngine *vm): PannedScene(vm) {
+Guard::Guard(AmazonEngine *vm) : PannedScene(vm) {
_guardCel = 0;
_gCode1 = _gCode2 = 0;
_xMid = _yMid = 0;
@@ -1359,7 +1359,7 @@ void Cast::doCast(int param1) {
/*------------------------------------------------------------------------*/
-River::River(AmazonEngine *vm): PannedScene(vm) {
+River::River(AmazonEngine *vm) : PannedScene(vm) {
_chickenOutFl = false;
_rScrollRow = 0;
_rScrollCol = 0;
diff --git a/engines/access/amazon/amazon_room.cpp b/engines/access/amazon/amazon_room.cpp
index 82e6db61dc..8174969a3d 100644
--- a/engines/access/amazon/amazon_room.cpp
+++ b/engines/access/amazon/amazon_room.cpp
@@ -31,7 +31,7 @@ namespace Access {
namespace Amazon {
-AmazonRoom::AmazonRoom(AccessEngine *vm): Room(vm) {
+AmazonRoom::AmazonRoom(AccessEngine *vm) : Room(vm) {
_game = (AmazonEngine *)vm;
_antOutFlag = false;
_icon = nullptr;
diff --git a/engines/access/animation.cpp b/engines/access/animation.cpp
index f030e32eea..126f904a7f 100644
--- a/engines/access/animation.cpp
+++ b/engines/access/animation.cpp
@@ -49,8 +49,7 @@ AnimationResource::~AnimationResource() {
/*------------------------------------------------------------------------*/
-Animation::Animation(AccessEngine *vm, Common::SeekableReadStream *stream) :
- Manager(vm) {
+Animation::Animation(AccessEngine *vm, Common::SeekableReadStream *stream) : Manager(vm) {
uint32 startOfs = stream->pos();
_type = stream->readByte();
diff --git a/engines/access/debugger.cpp b/engines/access/debugger.cpp
index fb5c4d5b22..6cb2bb606c 100644
--- a/engines/access/debugger.cpp
+++ b/engines/access/debugger.cpp
@@ -137,7 +137,7 @@ bool Debugger::Cmd_Cheat(int argc, const char **argv) {
namespace Amazon {
-AmazonDebugger::AmazonDebugger(AccessEngine *vm): Debugger(vm) {
+AmazonDebugger::AmazonDebugger(AccessEngine *vm) : Debugger(vm) {
registerCmd("chapter", WRAP_METHOD(AmazonDebugger, Cmd_StartChapter));
}
diff --git a/engines/access/events.cpp b/engines/access/events.cpp
index f504c869ed..c314fe9444 100644
--- a/engines/access/events.cpp
+++ b/engines/access/events.cpp
@@ -35,7 +35,7 @@
namespace Access {
-EventsManager::EventsManager(AccessEngine *vm): _vm(vm) {
+EventsManager::EventsManager(AccessEngine *vm) : _vm(vm) {
_cursorId = CURSOR_NONE;
_normalMouse = CURSOR_CROSSHAIRS;
_frameCounter = 10;
diff --git a/engines/access/files.cpp b/engines/access/files.cpp
index 1e81b7c428..42a7914638 100644
--- a/engines/access/files.cpp
+++ b/engines/access/files.cpp
@@ -79,7 +79,7 @@ byte *Resource::data() {
/*------------------------------------------------------------------------*/
-FileManager::FileManager(AccessEngine *vm): _vm(vm) {
+FileManager::FileManager(AccessEngine *vm) : _vm(vm) {
switch (vm->getGameID()) {
case GType_Amazon:
if (_vm->isDemo())
diff --git a/engines/access/martian/martian_game.cpp b/engines/access/martian/martian_game.cpp
index e534b6cc03..6392206209 100644
--- a/engines/access/martian/martian_game.cpp
+++ b/engines/access/martian/martian_game.cpp
@@ -31,8 +31,7 @@ namespace Access {
namespace Martian {
-MartianEngine::MartianEngine(OSystem *syst, const AccessGameDescription *gameDesc) :
- AccessEngine(syst, gameDesc) {
+MartianEngine::MartianEngine(OSystem *syst, const AccessGameDescription *gameDesc) : AccessEngine(syst, gameDesc) {
}
MartianEngine::~MartianEngine() {
diff --git a/engines/access/martian/martian_room.cpp b/engines/access/martian/martian_room.cpp
index 22f456fd4c..e9d1b9d8cf 100644
--- a/engines/access/martian/martian_room.cpp
+++ b/engines/access/martian/martian_room.cpp
@@ -31,7 +31,7 @@ namespace Access {
namespace Martian {
-MartianRoom::MartianRoom(AccessEngine *vm): Room(vm) {
+MartianRoom::MartianRoom(AccessEngine *vm) : Room(vm) {
_game = (MartianEngine *)vm;
}
diff --git a/engines/access/player.cpp b/engines/access/player.cpp
index f56bd69533..828be0135d 100644
--- a/engines/access/player.cpp
+++ b/engines/access/player.cpp
@@ -38,7 +38,7 @@ Player *Player::init(AccessEngine *vm) {
}
}
-Player::Player(AccessEngine *vm): Manager(vm), ImageEntry() {
+Player::Player(AccessEngine *vm) : Manager(vm), ImageEntry() {
Common::fill(&_walkOffRight[0], &_walkOffRight[PLAYER_DATA_COUNT], 0);
Common::fill(&_walkOffLeft[0], &_walkOffLeft[PLAYER_DATA_COUNT], 0);
Common::fill(&_walkOffUp[0], &_walkOffUp[PLAYER_DATA_COUNT], 0);