diff options
author | Strangerke | 2013-10-08 06:43:36 +0200 |
---|---|---|
committer | Strangerke | 2013-10-08 06:43:36 +0200 |
commit | 0bfe150dca3ede26a5fab9b95003f0a4d8eaf87f (patch) | |
tree | 441a88f8dcc5c09c40d328852ad48e24419799e4 | |
parent | eebbdfbfb364b01d1e9b79141e6cccdff5d2667a (diff) | |
download | scummvm-rg350-0bfe150dca3ede26a5fab9b95003f0a4d8eaf87f.tar.gz scummvm-rg350-0bfe150dca3ede26a5fab9b95003f0a4d8eaf87f.tar.bz2 scummvm-rg350-0bfe150dca3ede26a5fab9b95003f0a4d8eaf87f.zip |
AVALANCHE: Fix coding conventions in Graphics
-rw-r--r-- | engines/avalanche/graphics.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp index d442c13d51..bfeb72737d 100644 --- a/engines/avalanche/graphics.cpp +++ b/engines/avalanche/graphics.cpp @@ -265,16 +265,16 @@ Common::Point GraphicManager::drawArc(Graphics::Surface &surface, int16 x, int16 int16 ym = y - yTemp; if ((j >= stAngle) && (j <= endAngle)) - *(byte *)_scrolls.getBasePtr(xp,yp) = color; + *(byte *)_scrolls.getBasePtr(xp, yp) = color; - if (((180-j) >= stAngle) && ((180-j) <= endAngle)) - *(byte *)_scrolls.getBasePtr(xm,yp) = color; + if (((180 - j) >= stAngle) && ((180 - j) <= endAngle)) + *(byte *)_scrolls.getBasePtr(xm, yp) = color; - if (((j+180) >= stAngle) && ((j+180) <= endAngle)) - *(byte *)_scrolls.getBasePtr(xm,ym) = color; + if (((j + 180) >= stAngle) && ((j + 180) <= endAngle)) + *(byte *)_scrolls.getBasePtr(xm, ym) = color; - if (((360-j) >= stAngle) && ((360-j) <= endAngle)) - *(byte *)_scrolls.getBasePtr(xp,ym) = color; + if (((360 - j) >= stAngle) && ((360 - j) <= endAngle)) + *(byte *)_scrolls.getBasePtr(xp, ym) = color; j += delta; } while (j <= deltaEnd); |