diff options
author | Travis Howell | 2007-04-15 00:12:09 +0000 |
---|---|---|
committer | Travis Howell | 2007-04-15 00:12:09 +0000 |
commit | fe6b6323fa5f89e240b7face2d00a8abeccce7f4 (patch) | |
tree | 288be761572044e38c666a330a9588805e64ffdf /engines/agos/gfx.cpp | |
parent | 2aeb84f12a8c5f585399be8a4b4087f45ce27e13 (diff) | |
download | scummvm-rg350-fe6b6323fa5f89e240b7face2d00a8abeccce7f4.tar.gz scummvm-rg350-fe6b6323fa5f89e240b7face2d00a8abeccce7f4.tar.bz2 scummvm-rg350-fe6b6323fa5f89e240b7face2d00a8abeccce7f4.zip |
Cleanup.
svn-id: r26478
Diffstat (limited to 'engines/agos/gfx.cpp')
-rw-r--r-- | engines/agos/gfx.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/agos/gfx.cpp b/engines/agos/gfx.cpp index 211005385e..887b42acf0 100644 --- a/engines/agos/gfx.cpp +++ b/engines/agos/gfx.cpp @@ -166,7 +166,7 @@ void AGOSEngine::decodeRow(byte *dst, const byte *src, int width) { } } -bool AGOSEngine::drawImages_clip(VC10_state *state) { +bool AGOSEngine::drawImage_clip(VC10_state *state) { const uint16 *vlut; uint maxWidth, maxHeight; int cur; @@ -224,7 +224,7 @@ bool AGOSEngine::drawImages_clip(VC10_state *state) { return 1; } -void AGOSEngine::drawImages_Feeble(VC10_state *state) { +void AGOSEngine::drawImage_Feeble(VC10_state *state) { if (state->flags & kDFCompressed) { if (state->flags & kDFScaled) { state->surf_addr = getScaleBuf(); @@ -293,7 +293,7 @@ void AGOSEngine::drawImages_Feeble(VC10_state *state) { scaleClip(_scaleHeight, _scaleWidth, _scaleY, _scaleX, _scaleY + _scrollY); } } else { - if (drawImages_clip(state) == 0) + if (drawImage_clip(state) == 0) return; state->surf_addr += state->x + state->y * state->surf_pitch; @@ -359,7 +359,7 @@ void AGOSEngine::drawImages_Feeble(VC10_state *state) { } } } else { - if (drawImages_clip(state) == 0) + if (drawImage_clip(state) == 0) return; state->surf_addr += state->x + state->y * state->surf_pitch; @@ -387,10 +387,10 @@ void AGOSEngine::drawImages_Feeble(VC10_state *state) { } } -void AGOSEngine::drawImages_Simon(VC10_state *state) { +void AGOSEngine::drawImage_Simon(VC10_state *state) { const uint16 *vlut = &_videoWindows[_windowNum * 4]; - if (drawImages_clip(state) == 0) + if (drawImage_clip(state) == 0) return; uint xoffs, yoffs; @@ -583,12 +583,12 @@ void AGOSEngine::drawImages_Simon(VC10_state *state) { } } -void AGOSEngine::drawImages_Amiga(VC10_state *state) { +void AGOSEngine::drawImage_Amiga(VC10_state *state) { uint8 *dst; const byte *src; const uint16 *vlut = &_videoWindows[_windowNum * 4]; - if (drawImages_clip(state) == 0) + if (drawImage_clip(state) == 0) return; uint xoffs = ((vlut[0] - _videoWindows[16]) * 2 + state->x) * 8; @@ -638,10 +638,10 @@ void AGOSEngine::drawImages_Amiga(VC10_state *state) { } } -void AGOSEngine::drawImages(VC10_state *state) { +void AGOSEngine::drawImage(VC10_state *state) { const uint16 *vlut = &_videoWindows[_windowNum * 4]; - if (drawImages_clip(state) == 0) + if (drawImage_clip(state) == 0) return; uint xoffs, yoffs; |