aboutsummaryrefslogtreecommitdiff
path: root/sky/screen.cpp
diff options
context:
space:
mode:
authorRobert Göffringmann2004-11-11 10:14:35 +0000
committerRobert Göffringmann2004-11-11 10:14:35 +0000
commit7dec7b7054db8367f48d27a319c3550ec807ac27 (patch)
tree6539c8513a875eaa37c0de06208782e9d337aa4a /sky/screen.cpp
parentc50560a48813ba237878af4f47854bd3bc8751b3 (diff)
downloadscummvm-rg350-7dec7b7054db8367f48d27a319c3550ec807ac27.tar.gz
scummvm-rg350-7dec7b7054db8367f48d27a319c3550ec807ac27.tar.bz2
scummvm-rg350-7dec7b7054db8367f48d27a319c3550ec807ac27.zip
misc cleanup
svn-id: r15783
Diffstat (limited to 'sky/screen.cpp')
-rw-r--r--sky/screen.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sky/screen.cpp b/sky/screen.cpp
index cb1d2f9583..60274d39d2 100644
--- a/sky/screen.cpp
+++ b/sky/screen.cpp
@@ -133,7 +133,7 @@ void Screen::halvePalette(void) {
void Screen::setPalette(uint16 fileNum) {
- uint8 *tmpPal = _skyDisk->loadFile(fileNum, NULL);
+ uint8 *tmpPal = _skyDisk->loadFile(fileNum);
if (tmpPal) {
setPalette(tmpPal);
free(tmpPal);
@@ -143,7 +143,7 @@ void Screen::setPalette(uint16 fileNum) {
void Screen::showScreen(uint16 fileNum) {
if (_currentScreen) free(_currentScreen);
- _currentScreen = _skyDisk->loadFile(fileNum, NULL);
+ _currentScreen = _skyDisk->loadFile(fileNum);
if (_currentScreen) showScreen(_currentScreen);
else warning("Screen::showScreen: can't load file nr. %d",fileNum);
@@ -281,7 +281,7 @@ void Screen::palette_fadedown_helper(uint32 *pal, uint num) {
void Screen::paletteFadeUp(uint16 fileNr) {
- uint8 *pal = _skyDisk->loadFile(fileNr, NULL);
+ uint8 *pal = _skyDisk->loadFile(fileNr);
if (pal) {
paletteFadeUp(pal);
free(pal);
@@ -401,7 +401,7 @@ void Screen::handleTimer(void) {
void Screen::startSequence(uint16 fileNum) {
- _seqInfo.seqData = _skyDisk->loadFile(fileNum, NULL);
+ _seqInfo.seqData = _skyDisk->loadFile(fileNum);
_seqInfo.framesLeft = _seqInfo.seqData[0];
_seqInfo.seqDataPos = _seqInfo.seqData + 1;
_seqInfo.delay = SEQ_DELAY;