aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Symonds2007-01-06 17:21:33 +0000
committerDavid Symonds2007-01-06 17:21:33 +0000
commitfc2454556afda5bcd32581e75daff6e0a23bad41 (patch)
tree29494b4fc482a70411c5faa302d489d425950fa1
parente2ff69d230ffe8db5d3af98af9a95f1578296b3e (diff)
downloadscummvm-rg350-fc2454556afda5bcd32581e75daff6e0a23bad41.tar.gz
scummvm-rg350-fc2454556afda5bcd32581e75daff6e0a23bad41.tar.bz2
scummvm-rg350-fc2454556afda5bcd32581e75daff6e0a23bad41.zip
Another set of unused hires code bites the dust.
svn-id: r25036
-rw-r--r--engines/agi/agi.cpp1
-rw-r--r--engines/agi/agi.h1
-rw-r--r--engines/agi/graphics.cpp10
-rw-r--r--engines/agi/graphics.h1
4 files changed, 0 insertions, 13 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index 0d2004167c..42763c1786 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -574,7 +574,6 @@ AgiEngine::AgiEngine(OSystem *syst) : Engine(syst) {
void AgiEngine::initialize() {
memset(&opt, 0, sizeof(struct agi_options));
opt.gamerun = GAMERUN_RUNGAME;
- opt.hires = 0;
// TODO: Some sound emulation modes do not fit our current music
// drivers, and I'm not sure what they are. For now, they might
diff --git a/engines/agi/agi.h b/engines/agi/agi.h
index 4633d9df85..ef6632e327 100644
--- a/engines/agi/agi.h
+++ b/engines/agi/agi.h
@@ -205,7 +205,6 @@ struct agi_options {
int amiga; /**< enable Amiga mode */
int nosound; /**< disable sound */
Common::RenderMode renderMode;
- int hires; /**< use hi-res pictures */
int soundemu; /**< sound emulation mode */
int agimouse; /**< AGI Mouse 1.0 emulation */
};
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp
index ceadda1236..9f9df96bfe 100644
--- a/engines/agi/graphics.cpp
+++ b/engines/agi/graphics.cpp
@@ -489,16 +489,6 @@ void GfxMgr::putPixelsA(int x, int y, int n, uint8 *p) {
}
}
-void GfxMgr::putPixelsHires(int x, int y, int n, uint8 *p) {
- //y += CHAR_LINES;
- for (; n--; p++, x++) {
- uint8 q = *p;
- if (_vm->_debug.priority)
- q >>= 4;
- agi_screen[x + y * GFX_WIDTH] = q & 0x0f;
- }
-}
-
/**
* Schedule blocks for blitting on the output device.
* This function gets the coordinates of a block in the AGI screen and
diff --git a/engines/agi/graphics.h b/engines/agi/graphics.h
index 2d1663d398..999a2e6f98 100644
--- a/engines/agi/graphics.h
+++ b/engines/agi/graphics.h
@@ -85,7 +85,6 @@ public:
void putPixel(int, int, int);
void putBlock(int x1, int y1, int x2, int y2);
void gfxSetPalette();
- void putPixelsHires(int x, int y, int n, uint8 *p);
int keypress();
int getKey();