From 399f8381a970133a6a6247d49eaf57b7a811d902 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 21 Oct 2006 01:51:59 +0000 Subject: Cleanup svn-id: r24397 --- engines/agos/draw.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/agos/draw.cpp') diff --git a/engines/agos/draw.cpp b/engines/agos/draw.cpp index 7a99d69265..4b548d64ba 100644 --- a/engines/agos/draw.cpp +++ b/engines/agos/draw.cpp @@ -328,10 +328,10 @@ void AGOSEngine::displayBoxStars() { } } while (ha++, --count); - dx_update_screen_and_palette(); + updateScreen(); delay(100); animateSprites(); - dx_update_screen_and_palette(); + updateScreen(); delay(100); } @@ -401,7 +401,7 @@ void AGOSEngine::clearBackFromTop(uint lines) { memset(_backBuf, 0, lines * _screenWidth); } -void AGOSEngine::dx_clear_surfaces(uint num_lines) { +void AGOSEngine::clearSurfaces(uint num_lines) { memset(_backBuf, 0, num_lines * _screenWidth); _system->copyRectToScreen(_backBuf, _screenWidth, 0, 0, _screenWidth, num_lines); @@ -440,7 +440,7 @@ void AGOSEngine::fillBackGroundFromBack(uint lines) { memcpy(_backGroundBuf, _backBuf, lines * _screenWidth); } -void AGOSEngine::dx_update_screen_and_palette() { +void AGOSEngine::updateScreen() { if (_fastFadeInFlag == 0 && _paletteFlag == 1) { _paletteFlag = 0; if (memcmp(_displayPalette, _currentPalette, 1024)) { -- cgit v1.2.3