diff options
author | Robert Göffringmann | 2003-05-29 03:26:28 +0000 |
---|---|---|
committer | Robert Göffringmann | 2003-05-29 03:26:28 +0000 |
commit | 859dd9315933beb85f3ee56de164b287e83f3311 (patch) | |
tree | 6a17a98da4ae35a90733c0ebbac5b797694e1260 /sky | |
parent | ee2bd920843b5e3541983c9cb31bd1572ae82f31 (diff) | |
download | scummvm-rg350-859dd9315933beb85f3ee56de164b287e83f3311.tar.gz scummvm-rg350-859dd9315933beb85f3ee56de164b287e83f3311.tar.bz2 scummvm-rg350-859dd9315933beb85f3ee56de164b287e83f3311.zip |
removed debugging stuff
svn-id: r8077
Diffstat (limited to 'sky')
-rw-r--r-- | sky/screen.cpp | 2 | ||||
-rw-r--r-- | sky/screen.h | 1 | ||||
-rw-r--r-- | sky/sky.cpp | 3 |
3 files changed, 2 insertions, 4 deletions
diff --git a/sky/screen.cpp b/sky/screen.cpp index 5e1e8c14cc..976e56a811 100644 --- a/sky/screen.cpp +++ b/sky/screen.cpp @@ -593,8 +593,6 @@ void SkyScreen::drawSprite(uint8 *spriteInfo, Compact *sprCompact) { for (uint8 cnty = 0; cnty < _sprHeight; cnty++) { for (uint8 cntx = 0; cntx < _sprWidth; cntx++) if (spriteData[cntx + _maskX1]) screenPtr[cntx] = spriteData[cntx + _maskX1]; - _system->copy_rect(screenPtr,320,_sprX + _maskX1, _sprY + cnty, _sprWidth, 1); - _system->update_screen(); spriteData += _sprWidth; screenPtr += GAME_SCREEN_WIDTH; } diff --git a/sky/screen.h b/sky/screen.h index 44f3a712f3..b9ed00703e 100644 --- a/sky/screen.h +++ b/sky/screen.h @@ -51,7 +51,6 @@ class SkyScreen { public: SkyScreen(OSystem *pSystem, SkyDisk *pDisk); ~SkyScreen(void); -// void takeScriptVars(uint32 *pScriptVars) { _scriptVariables = pScriptVars; }; void setPalette(uint8 *pal); void setPalette(uint16 fileNum); void paletteFadeUp(uint8 *pal); diff --git a/sky/sky.cpp b/sky/sky.cpp index b84fe5a21d..154414d173 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -147,6 +147,7 @@ void SkyState::go() { _skyLogic->engine(); _skyScreen->spriteEngine(); _skyScreen->flip(); + _skyScreen->showScreen(_skyScreen->giveCurrent()); } } @@ -336,7 +337,7 @@ bool SkyState::isDemo(uint32 version) { } bool SkyState::isCDVersion(uint32 version) { -return false; + switch (version) { case 267: return false; |