diff options
author | Kari Salminen | 2008-08-06 20:41:53 +0000 |
---|---|---|
committer | Kari Salminen | 2008-08-06 20:41:53 +0000 |
commit | a944497d7586dfb7adb6246667b4625b988a7542 (patch) | |
tree | c135ef05a2932588ba7af597d7ca87a5e049db5e /engines/cine/gfx.cpp | |
parent | 32ad70f60840cc2a6ac79a47dcb4b30b3e9fd7a9 (diff) | |
download | scummvm-rg350-a944497d7586dfb7adb6246667b4625b988a7542.tar.gz scummvm-rg350-a944497d7586dfb7adb6246667b4625b988a7542.tar.bz2 scummvm-rg350-a944497d7586dfb7adb6246667b4625b988a7542.zip |
HACK: Force oxygen to maximum during Operation Stealth's first arcade sequence.
This way the arcade sequence is completable now.
This hack should be removed later and the first
arcade sequence be made properly playable!
svn-id: r33667
Diffstat (limited to 'engines/cine/gfx.cpp')
-rw-r--r-- | engines/cine/gfx.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/cine/gfx.cpp b/engines/cine/gfx.cpp index cbddf0fc59..16bf4baa07 100644 --- a/engines/cine/gfx.cpp +++ b/engines/cine/gfx.cpp @@ -617,6 +617,11 @@ void FWRenderer::saveBgNames(Common::OutSaveFile &fHandle) { fHandle.write(_bgName, 13); } +const char *FWRenderer::getBgName(uint idx) const { + assert(idx == 0); + return _bgName; +} + /*! \brief Restore active and backup palette from save * \param fHandle Savefile open for reading */ @@ -1332,6 +1337,11 @@ void OSRenderer::saveBgNames(Common::OutSaveFile &fHandle) { } } +const char *OSRenderer::getBgName(uint idx) const { + assert(idx < 9); + return _bgTable[idx].name; +} + /*! \brief Fade to black * \bug Operation Stealth sometimes seems to fade to black using * transformPalette resulting in double fadeout |