[Scummvm-cvs-logs] SF.net SVN: scummvm: [25036] scummvm/trunk/engines/agi

dsx at users.sourceforge.net dsx at users.sourceforge.net
Sat Jan 6 18:21:34 CET 2007


Revision: 25036
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25036&view=rev
Author:   dsx
Date:     2007-01-06 09:21:33 -0800 (Sat, 06 Jan 2007)

Log Message:
-----------
Another set of unused hires code bites the dust.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/agi.cpp
    scummvm/trunk/engines/agi/agi.h
    scummvm/trunk/engines/agi/graphics.cpp
    scummvm/trunk/engines/agi/graphics.h

Modified: scummvm/trunk/engines/agi/agi.cpp
===================================================================
--- scummvm/trunk/engines/agi/agi.cpp	2007-01-06 17:17:27 UTC (rev 25035)
+++ scummvm/trunk/engines/agi/agi.cpp	2007-01-06 17:21:33 UTC (rev 25036)
@@ -574,7 +574,6 @@
 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

Modified: scummvm/trunk/engines/agi/agi.h
===================================================================
--- scummvm/trunk/engines/agi/agi.h	2007-01-06 17:17:27 UTC (rev 25035)
+++ scummvm/trunk/engines/agi/agi.h	2007-01-06 17:21:33 UTC (rev 25036)
@@ -205,7 +205,6 @@
 	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 */
 };

Modified: scummvm/trunk/engines/agi/graphics.cpp
===================================================================
--- scummvm/trunk/engines/agi/graphics.cpp	2007-01-06 17:17:27 UTC (rev 25035)
+++ scummvm/trunk/engines/agi/graphics.cpp	2007-01-06 17:21:33 UTC (rev 25036)
@@ -489,16 +489,6 @@
 	}
 }
 
-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

Modified: scummvm/trunk/engines/agi/graphics.h
===================================================================
--- scummvm/trunk/engines/agi/graphics.h	2007-01-06 17:17:27 UTC (rev 25035)
+++ scummvm/trunk/engines/agi/graphics.h	2007-01-06 17:21:33 UTC (rev 25036)
@@ -85,7 +85,6 @@
 	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();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list