diff options
author | Nicola Mettifogo | 2008-01-28 19:56:29 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-01-28 19:56:29 +0000 |
commit | 68fc3f1deea7600790e91b90edb7b4586dc91ae9 (patch) | |
tree | 9e9cfb3a1bc412ab7b988f3a10793e0ca7af2887 /engines/parallaction/parallaction_br.cpp | |
parent | b80419efb4177fb3cd5d8e2ace3d08d5840fdcc0 (diff) | |
download | scummvm-rg350-68fc3f1deea7600790e91b90edb7b4586dc91ae9.tar.gz scummvm-rg350-68fc3f1deea7600790e91b90edb7b4586dc91ae9.tar.bz2 scummvm-rg350-68fc3f1deea7600790e91b90edb7b4586dc91ae9.zip |
Removed usage of kBitFront and kBitBack. Only the old kBit2 buffer is kept to store the background picture.
svn-id: r30687
Diffstat (limited to 'engines/parallaction/parallaction_br.cpp')
-rw-r--r-- | engines/parallaction/parallaction_br.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp index 60f95eab6b..0b1d0006e8 100644 --- a/engines/parallaction/parallaction_br.cpp +++ b/engines/parallaction/parallaction_br.cpp @@ -144,7 +144,7 @@ int Parallaction_br::go() { } void Parallaction_br::splash(const char *name) { - +#if 0 BackgroundInfo info; _gfx->clearScreen(Gfx::kBitFront); @@ -163,7 +163,7 @@ void Parallaction_br::splash(const char *name) { _system->delayMillis(20); } info.bg.free(); - +#endif return; } @@ -186,9 +186,9 @@ void Parallaction_br::invertMenuItem(Graphics::Surface &surf) { int Parallaction_br::showMenu() { // TODO: filter menu entries according to progress in game - +#if 0 _gfx->clearScreen(Gfx::kBitFront); - +#endif BackgroundInfo info; Graphics::Surface _menuItems[7]; @@ -212,11 +212,11 @@ int Parallaction_br::showMenu() { kMenuPart3, kMenuPart4 }; - +#if 0 _disk->loadSlide(info, "tbra"); _gfx->setPalette(info.palette); _gfx->flatBlitCnv(&info.bg, 20, 50, Gfx::kBitFront); - +#endif int availItems = 4 + _progress; for (int i = 0; i < availItems; i++) @@ -251,12 +251,12 @@ int Parallaction_br::showMenu() { invertMenuItem(_menuItems[oldSelectedItem]); Common::Rect r(MENUITEM_WIDTH, MENUITEM_HEIGHT); - +#if 0 for (int i = 0; i < availItems; i++) { r.moveTo(MENUITEMS_X, MENUITEMS_Y + i * 20); _gfx->copyRect(Gfx::kBitFront, r, (byte*)_menuItems[i].pixels, _menuItems[i].pitch); } - +#endif oldSelectedItem = selectedItem; } |