aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2015-05-03 13:44:07 +0200
committerWillem Jan Palenstijn2015-05-03 13:45:05 +0200
commit30b5497e24965849469be0ff5c2620eef5ebfa0e (patch)
treebe9d26bf8ed5c58028a4053b6e3dca9a9a355cbb /engines/sci/graphics
parentcd2ead0a78d2f78cd0b4aecddf4e54520483855f (diff)
downloadscummvm-rg350-30b5497e24965849469be0ff5c2620eef5ebfa0e.tar.gz
scummvm-rg350-30b5497e24965849469be0ff5c2620eef5ebfa0e.tar.bz2
scummvm-rg350-30b5497e24965849469be0ff5c2620eef5ebfa0e.zip
SCI: Clarify function name
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r--engines/sci/graphics/screen.cpp4
-rw-r--r--engines/sci/graphics/screen.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp
index dfcb5dbc14..ca5b5b3b8c 100644
--- a/engines/sci/graphics/screen.cpp
+++ b/engines/sci/graphics/screen.cpp
@@ -251,8 +251,8 @@ GfxScreen::~GfxScreen() {
free(_displayScreen);
}
-// should not used regulary, only meant for restore game
-void GfxScreen::clear() {
+// should not be used regularly; only meant for restore game
+void GfxScreen::clearForRestoreGame() {
// reset all screen data
memset(_visualScreen, 0, _pixels);
memset(_priorityScreen, 0, _pixels);
diff --git a/engines/sci/graphics/screen.h b/engines/sci/graphics/screen.h
index 587d2ef3bc..1c946ef02f 100644
--- a/engines/sci/graphics/screen.h
+++ b/engines/sci/graphics/screen.h
@@ -76,7 +76,7 @@ public:
byte getColorWhite() { return _colorWhite; }
byte getColorDefaultVectorData() { return _colorDefaultVectorData; }
- void clear();
+ void clearForRestoreGame();
void copyToScreen();
void copyFromScreen(byte *buffer);
void kernelSyncWithFramebuffer();