aboutsummaryrefslogtreecommitdiff
path: root/sword1/screen.cpp
diff options
context:
space:
mode:
authorRobert Göffringmann2003-12-22 01:20:47 +0000
committerRobert Göffringmann2003-12-22 01:20:47 +0000
commitfd4417e6bbe0a571e51c1cb82e9941c455b9ce76 (patch)
treebfd5125d1a9975ebe82e0d796ca3c8f3f7a23aeb /sword1/screen.cpp
parent6b0fb6585cf31bbd341a7da8fa60be5f09eb2381 (diff)
downloadscummvm-rg350-fd4417e6bbe0a571e51c1cb82e9941c455b9ce76.tar.gz
scummvm-rg350-fd4417e6bbe0a571e51c1cb82e9941c455b9ce76.tar.bz2
scummvm-rg350-fd4417e6bbe0a571e51c1cb82e9941c455b9ce76.zip
changed the way the control panel is started
svn-id: r11844
Diffstat (limited to 'sword1/screen.cpp')
-rw-r--r--sword1/screen.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sword1/screen.cpp b/sword1/screen.cpp
index 98ca039985..f33437df9d 100644
--- a/sword1/screen.cpp
+++ b/sword1/screen.cpp
@@ -109,6 +109,10 @@ void SwordScreen::fnSetPalette(uint8 start, uint16 length, uint32 id, bool fadeU
_system->set_palette(_targetPalette, start, length);
}
+void SwordScreen::refreshPalette(void) {
+ _system->set_palette(_targetPalette, 0, 256);
+}
+
bool SwordScreen::stillFading(void) {
return !_isBlack;
}