diff options
author | Max Horn | 2009-11-10 22:18:12 +0000 |
---|---|---|
committer | Max Horn | 2009-11-10 22:18:12 +0000 |
commit | f107f7fc367c62c8af0659548d86d5418d794988 (patch) | |
tree | 382337c4e4b75dd890ca6991414b9b725480017c /engines/agos | |
parent | 5283c55cdd3261be6fbd120bca8fbb551abf863e (diff) | |
download | scummvm-rg350-f107f7fc367c62c8af0659548d86d5418d794988.tar.gz scummvm-rg350-f107f7fc367c62c8af0659548d86d5418d794988.tar.bz2 scummvm-rg350-f107f7fc367c62c8af0659548d86d5418d794988.zip |
AGOS: cleanup
svn-id: r45819
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/draw.cpp | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/engines/agos/draw.cpp b/engines/agos/draw.cpp index 35023885cc..e98d0b59ea 100644 --- a/engines/agos/draw.cpp +++ b/engines/agos/draw.cpp @@ -523,7 +523,7 @@ void AGOSEngine::displayBoxStars() { uint count; uint y_, x_; byte *dst; - uint b, color; + uint color; o_haltAnimation(); @@ -572,38 +572,38 @@ void AGOSEngine::displayBoxStars() { dst += (((screen->pitch / 4) * y_) * 4) + x_; - b = screen->pitch; dst[4] = color; - dst[b+1] = color; - dst[b+4] = color; - dst[b+7] = color; - b += screen->pitch; - dst[b+2] = color; - dst[b+4] = color; - dst[b+6] = color; - b += screen->pitch; - dst[b+3] = color; - dst[b+5] = color; - b += screen->pitch; - dst[b] = color; - dst[b+1] = color; - dst[b+2] = color; - dst[b+6] = color; - dst[b+7] = color; - dst[b+8] = color; - b += screen->pitch; - dst[b+3] = color; - dst[b+5] = color; - b += screen->pitch; - dst[b+2] = color; - dst[b+4] = color; - dst[b+6] = color; - b += screen->pitch; - dst[b+1] = color; - dst[b+4] = color; - dst[b+7] = color; - b += screen->pitch; - dst[b+4] = color; + dst += screen->pitch; + dst[1] = color; + dst[4] = color; + dst[7] = color; + dst += screen->pitch; + dst[2] = color; + dst[4] = color; + dst[6] = color; + dst += screen->pitch; + dst[3] = color; + dst[5] = color; + dst += screen->pitch; + dst[0] = color; + dst[1] = color; + dst[2] = color; + dst[6] = color; + dst[7] = color; + dst[8] = color; + dst += screen->pitch; + dst[3] = color; + dst[5] = color; + dst += screen->pitch; + dst[2] = color; + dst[4] = color; + dst[6] = color; + dst += screen->pitch; + dst[1] = color; + dst[4] = color; + dst[7] = color; + dst += screen->pitch; + dst[4] = color; } } while (ha++, --count); |