aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/picture.cpp
diff options
context:
space:
mode:
authorDavid Symonds2007-01-06 17:07:13 +0000
committerDavid Symonds2007-01-06 17:07:13 +0000
commit5e2bd94f7a22d826be0606baceef10d522aec4d3 (patch)
tree339e4edd05ceea3a8e42dac70342755d59aac953 /engines/agi/picture.cpp
parentc8b46e026faf144a4c9db8dd1c9a66131b0e53c0 (diff)
downloadscummvm-rg350-5e2bd94f7a22d826be0606baceef10d522aec4d3.tar.gz
scummvm-rg350-5e2bd94f7a22d826be0606baceef10d522aec4d3.tar.bz2
scummvm-rg350-5e2bd94f7a22d826be0606baceef10d522aec4d3.zip
Start removing hires code from AGI engine.
svn-id: r25033
Diffstat (limited to 'engines/agi/picture.cpp')
-rw-r--r--engines/agi/picture.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/engines/agi/picture.cpp b/engines/agi/picture.cpp
index 526fde2c5d..86e61d3797 100644
--- a/engines/agi/picture.cpp
+++ b/engines/agi/picture.cpp
@@ -715,24 +715,6 @@ void PictureMgr::hires_fill() {
foffs--;
}
-/**
- * Show AGI picture.
- * This function copies a ``hidden'' AGI picture to the output device.
- */
-void PictureMgr::show_hires_pic() {
- int y, offset;
- int32 i;
-
- i = 0;
- offset = _vm->game.line_min_print * CHAR_LINES;
- for (y = 0; y < _HEIGHT; y++) {
- _gfx->putPixelsHires(0, y + offset, _WIDTH * 2, &_vm->game.hires[i]);
- i += _WIDTH * 2;
- }
-
- _gfx->flushScreen();
-}
-
void PictureMgr::fix_hires_picture() {
uint8 *p, *b;
int i;
@@ -974,10 +956,6 @@ void PictureMgr::show_pic() {
int offset;
debugC(8, kDebugLevelMain, "Show picture!");
- if (_vm->opt.hires) {
- show_hires_pic();
- return;
- }
i = 0;
offset = _vm->game.line_min_print * CHAR_LINES;