aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/gfx.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-09-19 08:40:12 +0000
committerNicola Mettifogo2007-09-19 08:40:12 +0000
commit258901bab96f0050385a9912c8ea0fe2a41b2d6f (patch)
treea3ae8675b679c9f3b58ac8d97c79369502ea23c1 /engines/agos/gfx.cpp
parenta89694c0d61a75a960f5bec6c498659c988401cc (diff)
downloadscummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.tar.gz
scummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.tar.bz2
scummvm-rg350-258901bab96f0050385a9912c8ea0fe2a41b2d6f.zip
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
Diffstat (limited to 'engines/agos/gfx.cpp')
-rw-r--r--engines/agos/gfx.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/agos/gfx.cpp b/engines/agos/gfx.cpp
index 20ab84d15d..f2b6e06a34 100644
--- a/engines/agos/gfx.cpp
+++ b/engines/agos/gfx.cpp
@@ -23,7 +23,7 @@
*
*/
-#include "common/stdafx.h"
+
#include "common/system.h"
@@ -181,7 +181,7 @@ bool AGOSEngine::drawImage_clip(VC10_state *state) {
if (getGameType() != GType_FF && getGameType() != GType_PP) {
state->draw_width = state->width * 2;
- }
+ }
cur = state->x;
if (cur < 0) {
@@ -518,7 +518,7 @@ void AGOSEngine_Simon1::drawMaskedImage(VC10_state *state) {
dst[0] = src[0];
if ((mask[0] & 0x0F) && (dst[1] & 0x0F0) == 0x20)
dst[1] = src[1];
- } else {
+ } else {
/* no transparency */
if (mask[0] & 0xF0)
dst[0] = src[0];
@@ -878,7 +878,7 @@ void AGOSEngine::drawImage(VC10_state *state) {
} else {
if (_windowNum == 6) {
state->surf_addr = _window6BackScn;
- state->surf_pitch = 48;
+ state->surf_pitch = 48;
xoffs = state->x * 8;
yoffs = state->y;