aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-05-07 13:39:48 +0200
committerAdrian Frühwirth2018-05-07 20:06:29 +0200
commit273e88b61d14ae31f342a92459f3b8ad385ff825 (patch)
tree9cef812adb9dbefaf47a4b99ad6d5e2f3f25751c
parent4bf0eac94d65b5f5fd11c54d6c29dac058097dd7 (diff)
downloadscummvm-rg350-273e88b61d14ae31f342a92459f3b8ad385ff825.tar.gz
scummvm-rg350-273e88b61d14ae31f342a92459f3b8ad385ff825.tar.bz2
scummvm-rg350-273e88b61d14ae31f342a92459f3b8ad385ff825.zip
TONY: Enforce code formatting guidelines
These are all commented out but let's update them nevertheless to reflect earlier renames of the methods in question.
-rw-r--r--engines/tony/gfxcore.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp
index 27145d7c4b..a59d14d5b6 100644
--- a/engines/tony/gfxcore.cpp
+++ b/engines/tony/gfxcore.cpp
@@ -912,7 +912,7 @@ void RMGfxSourceBuffer8RLE::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPri
if (prim->isFlipped()) {
// Eliminate horizontal clipping
// width = m_dimx;
-// x1=prim->Dst().x1;
+// x1=prim->getDst()._x1;
// Clipping
u = _dimx - (width + u);
@@ -1699,7 +1699,7 @@ void RMGfxSourceBuffer8AA::drawAA(RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *pri
}
//width = _dimx;
- //x1 = prim->Dst().x1;
+ //x1 = prim->getDst()._x1;
// Position into the destination buffer
buf = bigBuf;
@@ -1714,7 +1714,7 @@ void RMGfxSourceBuffer8AA::drawAA(RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *pri
// Loop
buf += bigBuf.getDimx(); // Skip the first line
for (int y = 1; y < height - 1; y++) {
- // if (prim->IsFlipped())
+ // if (prim->isFlipped())
// mybuf=&buf[x1+m_dimx-1];
// else
mybuf = &buf[x1];
@@ -1748,7 +1748,7 @@ void RMGfxSourceBuffer8AA::drawAA(RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *pri
// Looppone
buf += bigBuf.getDimx();
for (int y = 1; y < height - 1; y++) {
- // if (prim->IsFlipped())
+ // if (prim->isFlipped())
// mybuf=&buf[x1+m_dimx-1];
// else
mybuf = &buf[x1];