aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/gfxcore.cpp
diff options
context:
space:
mode:
authorStrangerke2012-06-12 08:03:51 +0200
committerStrangerke2012-06-12 08:03:51 +0200
commitb8282316712c1969d9f7e8c1d80a673eeb4b2ced (patch)
tree90bb00e3faf13d76a6130d034a04ccfddb99d2dc /engines/tony/gfxcore.cpp
parent985602a72d52acdb99599eaddbed7f7b9fce01ce (diff)
downloadscummvm-rg350-b8282316712c1969d9f7e8c1d80a673eeb4b2ced.tar.gz
scummvm-rg350-b8282316712c1969d9f7e8c1d80a673eeb4b2ced.tar.bz2
scummvm-rg350-b8282316712c1969d9f7e8c1d80a673eeb4b2ced.zip
TONY: Translate some more comments into English
Diffstat (limited to 'engines/tony/gfxcore.cpp')
-rw-r--r--engines/tony/gfxcore.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/engines/tony/gfxcore.cpp b/engines/tony/gfxcore.cpp
index 8be4cbd5f5..83769ee78b 100644
--- a/engines/tony/gfxcore.cpp
+++ b/engines/tony/gfxcore.cpp
@@ -837,7 +837,7 @@ void RMGfxSourceBuffer8RLE::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPri
x1 = (prim->getDst()._x1 + _dimx - 1) - u;
for (y = 0; y < height; y++) {
- // Decompressione
+ // Decompression
RLEDecompressLineFlipped(buf + x1, src + 2, u, width);
// Next line
@@ -1379,7 +1379,7 @@ RLEWordFlippedDoCopy2:
}
/****************************************************************************\
-* Metodi di RMGfxSourceBuffer8RLEWord
+* Methods for RMGfxSourceBuffer8RLEWord
\****************************************************************************/
RMGfxSourceBuffer8RLEWordAB::~RMGfxSourceBuffer8RLEWordAB() {
@@ -1526,7 +1526,7 @@ RLEWordDoCopy2:
/****************************************************************************\
-* Metodi di RMGfxSourceBuffer8AA
+* Methods for RMGfxSourceBuffer8AA
\****************************************************************************/
byte RMGfxSourceBuffer8AA::_megaAABuf[256 * 1024];
@@ -1542,9 +1542,6 @@ void RMGfxSourceBuffer8AA::prepareImage(void) {
void RMGfxSourceBuffer8AA::calculateAA(void) {
- // I suck, you suck, he sucks, we suck, they all suck ---> ANTI ALIASING SUX!
- // ************************************************************
-
int x, y;
byte *src, *srcaa;
@@ -1631,7 +1628,7 @@ void RMGfxSourceBuffer8AA::drawAA(RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *pri
// x1 = prim->Dst().x1;
- // Poisition into the destination buffer
+ // Position into the destination buffer
buf = bigBuf;
buf += y1 * bigBuf.getDimx();
@@ -1710,7 +1707,7 @@ void RMGfxSourceBuffer8AA::drawAA(RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *pri
mybuf[0] = (r << 10) | (g << 5) | b;
}
- // Skippa alla linea successiva
+ // Skip to the next line
buf += bigBuf.getDimx();
}
}