aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2008-05-31 10:01:13 +0000
committerEugene Sandulenko2008-05-31 10:01:13 +0000
commit7ce59d993b4f23d970a0d66c8041b07732dc2b84 (patch)
treef1a901d14245558fa254ccccc58b36eb966a7799
parent9f95b76588950119b5f7a4be075b10942e55577d (diff)
downloadscummvm-rg350-7ce59d993b4f23d970a0d66c8041b07732dc2b84.tar.gz
scummvm-rg350-7ce59d993b4f23d970a0d66c8041b07732dc2b84.tar.bz2
scummvm-rg350-7ce59d993b4f23d970a0d66c8041b07732dc2b84.zip
Remove trailing spaces
svn-id: r32422
-rw-r--r--engines/drascula/drascula.cpp2
-rw-r--r--engines/drascula/rooms.cpp8
-rw-r--r--engines/drascula/staticdata.h6
-rw-r--r--engines/drascula/talk.cpp2
4 files changed, 9 insertions, 9 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index cb52a424df..b9d07c6830 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -1512,7 +1512,7 @@ void DrasculaEngine::print_abc(const char *said, int screenX, int screenY) {
int textPos[8];
int letterY = 0, letterX = 0, h, length;
length = strlen(said);
-
+
for (h = 0; h < length; h++) {
int c = toupper(said[h]);
diff --git a/engines/drascula/rooms.cpp b/engines/drascula/rooms.cpp
index 78426aa0cf..34c7111bff 100644
--- a/engines/drascula/rooms.cpp
+++ b/engines/drascula/rooms.cpp
@@ -32,7 +32,7 @@ bool DrasculaEngine::roomParse(RoomTalkAction* roomActions, int fl) {
bool didAction = false;
for (int i = 0; i < ARRAYSIZE(roomActions); i++) {
- if (roomActions[i].num == currentChapter ||
+ if (roomActions[i].num == currentChapter ||
roomActions[i].num == -1) {
if (roomActions[i].action == pickedObject ||
roomActions[i].action == kVerbDefault) {
@@ -57,7 +57,7 @@ void DrasculaEngine::room_0() {
return;
// non-default actions
- if (currentChapter == 2 || currentChapter == 4 ||
+ if (currentChapter == 2 || currentChapter == 4 ||
currentChapter == 5 || currentChapter == 6) {
if (pickedObject == kVerbLook) {
talk(mirar_t[c_mirar]);
@@ -149,7 +149,7 @@ void DrasculaEngine::room_5(int fl) {
if (roomParse(room5Actions, fl))
return;
- if (pickedObject == kVerbLook && fl == 136 && flags[8] == 0)
+ if (pickedObject == kVerbLook && fl == 136 && flags[8] == 0)
talk(14);
else if (pickedObject == 10 && fl == 136) {
animation_5_2();
@@ -1983,7 +1983,7 @@ bool DrasculaEngine::checkFlag(int fl) {
else if (pickedObject == kVerbLook && fl == 17)
talk(478);
else if (pickedObject == kVerbLook && fl == 20)
- talk(162);
+ talk(162);
else
hasAnswer = 0;
} else if (currentChapter == 6) {
diff --git a/engines/drascula/staticdata.h b/engines/drascula/staticdata.h
index 94873efd08..36b68d15c6 100644
--- a/engines/drascula/staticdata.h
+++ b/engines/drascula/staticdata.h
@@ -31,7 +31,7 @@
namespace Drascula {
const CharInfo charMap[CHARMAP_SIZE] = {
- // Letters
+ // Letters
// ---------------------------------------
{ 'A', 6, 0 }, { 'B', 15, 0 },
{ 'C', 24, 0 }, { 'D', 33, 0 },
@@ -49,7 +49,7 @@ const CharInfo charMap[CHARMAP_SIZE] = {
{ 'Y', 231, 0 }, { 'Z', 240, 0 },
// ---------------------------------------
{ 0xa7, 250, 0 }, { ' ', 250, 0 },
- // Signs
+ // Signs
// ---------------------------------------
{ '.', 6, 1 }, { ',', 15, 1 },
{ '-', 24, 1 }, { '?', 33, 1 },
@@ -66,7 +66,7 @@ const CharInfo charMap[CHARMAP_SIZE] = {
{ '5', 222, 1 }, { '6', 231, 1 },
{ '7', 240, 1 }, { '8', 249, 1 },
{ '9', 258, 1 }, { '0', 267, 1 },
- // Accented
+ // Accented
// ---------------------------------------
{ '\240', 6, 2 }, { '\202', 15, 2 }, // A, B
{ '\241', 24, 2 }, { '\242', 33, 2 }, // C, D
diff --git a/engines/drascula/talk.cpp b/engines/drascula/talk.cpp
index 5f9f6098f5..db8fd37e1b 100644
--- a/engines/drascula/talk.cpp
+++ b/engines/drascula/talk.cpp
@@ -200,7 +200,7 @@ void DrasculaEngine::talk_dr_dch(const char *said, const char *filename) {
} while (!isTalkFinished(&length));
if (currentChapter == 6)
- updateRoom();
+ updateRoom();
placeIgor();
placeDrascula();