aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/draw.cpp2
-rw-r--r--engines/agos/gfx.cpp4
-rw-r--r--engines/agos/items.cpp2
-rw-r--r--engines/agos/res.cpp2
-rw-r--r--engines/agos/vga_e2.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/engines/agos/draw.cpp b/engines/agos/draw.cpp
index 316b4ef2bc..37abe9324c 100644
--- a/engines/agos/draw.cpp
+++ b/engines/agos/draw.cpp
@@ -879,7 +879,7 @@ void AGOSEngine::slowFadeIn() {
src = _displayPalette;
dst = _currentPalette;
- for (p = _fastFadeInFlag; p !=0 ; p -= 3) {
+ for (p = _fastFadeInFlag; p !=0; p -= 3) {
if (src[0] >= c)
dst[0] += 4;
if (src[1] >= c)
diff --git a/engines/agos/gfx.cpp b/engines/agos/gfx.cpp
index 82a4cb714b..b784e4fcb3 100644
--- a/engines/agos/gfx.cpp
+++ b/engines/agos/gfx.cpp
@@ -778,7 +778,7 @@ void AGOSEngine::drawVertImage(VC10_state *state) {
}
void AGOSEngine::drawVertImageUncompressed(VC10_state *state) {
- assert ((state->flags & kDFCompressed) == 0) ;
+ assert((state->flags & kDFCompressed) == 0);
const byte *src;
byte *dst;
@@ -804,7 +804,7 @@ void AGOSEngine::drawVertImageUncompressed(VC10_state *state) {
}
void AGOSEngine::drawVertImageCompressed(VC10_state *state) {
- assert (state->flags & kDFCompressed) ;
+ assert(state->flags & kDFCompressed);
uint w, h;
state->x_skip *= 4; /* reached */
diff --git a/engines/agos/items.cpp b/engines/agos/items.cpp
index 6c6b127a51..81da5264ba 100644
--- a/engines/agos/items.cpp
+++ b/engines/agos/items.cpp
@@ -381,7 +381,7 @@ int AGOSEngine::wordMatch(Item *item, int16 a, int16 n) {
if (a == -1 && n == item->noun)
return 1;
if (a == item->adjective && n == item->noun)
- return 1 ;
+ return 1;
return 0;
}
diff --git a/engines/agos/res.cpp b/engines/agos/res.cpp
index 2d99f7bcef..b8409669ee 100644
--- a/engines/agos/res.cpp
+++ b/engines/agos/res.cpp
@@ -716,7 +716,7 @@ static void transferLoop(uint8 *dataOut, int &outIndex, uint32 destVal, int max)
assert(outIndex > max - 1);
byte *pDest = dataOut + outIndex;
- for (int i = 0; (i <= max) && (outIndex > 0) ; ++i) {
+ for (int i = 0; (i <= max) && (outIndex > 0); ++i) {
pDest = dataOut + --outIndex;
*pDest = pDest[destVal];
}
diff --git a/engines/agos/vga_e2.cpp b/engines/agos/vga_e2.cpp
index ea805c362c..a01e79ff99 100644
--- a/engines/agos/vga_e2.cpp
+++ b/engines/agos/vga_e2.cpp
@@ -360,7 +360,7 @@ void AGOSEngine::fullFade() {
for (c = 64; c != 0; c --) {
srcPal = _curVgaFile2 + 32;
dstPal = _currentPalette;
- for (p = 768; p !=0 ; p -= 3) {
+ for (p = 768; p !=0; p -= 3) {
uint8 r = srcPal[0] * 4;
if (dstPal[0] != r)
dstPal[0] += 4;