diff options
author | Johannes Schickel | 2006-05-28 12:19:45 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-05-28 12:19:45 +0000 |
commit | 1750be5b5a1dc8f89d786db143575e661bc3c11c (patch) | |
tree | 5c0bf705794b7fb9a0f68e5de63ca25852b1e2cf /engines/kyra/script_v1.cpp | |
parent | d5c74ee633fcedf706f72e3398256d4a19efd834 (diff) | |
download | scummvm-rg350-1750be5b5a1dc8f89d786db143575e661bc3c11c.tar.gz scummvm-rg350-1750be5b5a1dc8f89d786db143575e661bc3c11c.tar.bz2 scummvm-rg350-1750be5b5a1dc8f89d786db143575e661bc3c11c.zip |
- makes Screen::getPagePtr private
- introduces Screen::getCPagePtr and Screen::getPageRect (which should ease the introduction of dirty rect handling)
- moves KyraEngine::loadBitmap to Screen
svn-id: r22716
Diffstat (limited to 'engines/kyra/script_v1.cpp')
-rw-r--r-- | engines/kyra/script_v1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/kyra/script_v1.cpp b/engines/kyra/script_v1.cpp index 9ab89c28ea..72d02df7e7 100644 --- a/engines/kyra/script_v1.cpp +++ b/engines/kyra/script_v1.cpp @@ -1061,14 +1061,14 @@ int KyraEngine::cmd_specialEventDisplayBrynnsNote(ScriptState *script) { _screen->savePageToDisk("SEENPAGE.TMP", 0); if (_features & GF_TALKIE) { if (_features & GF_ENGLISH) { - loadBitmap("NOTEENG.CPS", 3, 3, 0); + _screen->loadBitmap("NOTEENG.CPS", 3, 3, 0); } else if (_features & GF_FRENCH) { - loadBitmap("NOTEFRE.CPS", 3, 3, 0); + _screen->loadBitmap("NOTEFRE.CPS", 3, 3, 0); } else if (_features & GF_GERMAN) { - loadBitmap("NOTEGER.CPS", 3, 3, 0); + _screen->loadBitmap("NOTEGER.CPS", 3, 3, 0); } } else { - loadBitmap("NOTE.CPS", 3, 3, 0); + _screen->loadBitmap("NOTE.CPS", 3, 3, 0); } _screen->copyRegion(63, 8, 63, 8, 194, 128, 2, 0); _screen->updateScreen(); |