diff options
author | Torbjörn Andersson | 2018-06-29 11:55:18 +0200 |
---|---|---|
committer | Adrian Frühwirth | 2018-07-03 10:13:34 +0000 |
commit | 0ffb057b66db7cb8319bec1c5e54067e6865c9d6 (patch) | |
tree | 6622b79391444bb747eca2f7e53d054ffba850b9 /engines/sky/screen.h | |
parent | 68e020ee92f24e49f541c1e3fb0cb68b2b9a8def (diff) | |
download | scummvm-rg350-0ffb057b66db7cb8319bec1c5e54067e6865c9d6.tar.gz scummvm-rg350-0ffb057b66db7cb8319bec1c5e54067e6865c9d6.tar.bz2 scummvm-rg350-0ffb057b66db7cb8319bec1c5e54067e6865c9d6.zip |
SKY: Show full 320x200px in intro where possible
This commit adds a workaround to unlock existing fullscreen images in
the intro of Beneath a Steel Sky.
The original engine clips the whole intro to 320x192 (the common game
format) even though some images exist as 320x200 in the game data files.
This workaround whitelists all images which actually are 320x200px and
displays them as must have originally been intended.
Fixes Trac#7559.
Diffstat (limited to 'engines/sky/screen.h')
-rw-r--r-- | engines/sky/screen.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sky/screen.h b/engines/sky/screen.h index fa04cd91c3..f8ddd212f8 100644 --- a/engines/sky/screen.h +++ b/engines/sky/screen.h @@ -64,8 +64,8 @@ public: void paletteFadeUp(uint8 *pal); void paletteFadeUp(uint16 fileNr); - void showScreen(uint16 fileNum); - void showScreen(uint8 *pScreen); + void showScreen(uint16 fileNum, bool fullscreen = false); + void showScreen(uint8 *pScreen, bool fullscreen = false); void handleTimer(); void startSequence(uint16 fileNum); @@ -83,7 +83,7 @@ public: void fnFadeUp(uint32 palNum, uint32 scroll); void fnFadeDown(uint32 scroll); void fnDrawScreen(uint32 palette, uint32 scroll); - void clearScreen(); + void clearScreen(bool fullscreen = false); void setFocusRectangle(const Common::Rect& rect); void recreate(); |