[Scummvm-cvs-logs] CVS: scummvm/kyra kyra.cpp,1.114,1.115 sprites.cpp,1.19,1.20

Oystein Eftevaag vinterstum at users.sourceforge.net
Sun Jan 8 13:06:01 CET 2006


Update of /cvsroot/scummvm/scummvm/kyra
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19196

Modified Files:
	kyra.cpp sprites.cpp 
Log Message:
Removed exiting the game on ESC, and making yet another sprite width adjustment (to fix some graphics glitches).


Index: kyra.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/kyra/kyra.cpp,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -d -r1.114 -r1.115
--- kyra.cpp	8 Jan 2006 13:50:32 -0000	1.114
+++ kyra.cpp	8 Jan 2006 21:05:15 -0000	1.115
@@ -591,7 +591,7 @@
 		while (_system->pollEvent(event)) {
 			switch (event.type) {
 			case OSystem::EVENT_KEYDOWN:
-				if (event.kbd.keycode == 'q' || event.kbd.keycode == 27) {
+				if (event.kbd.keycode == 'q') {
 					_quitFlag = true;
 				} else if (event.kbd.keycode == 'd' && !_debugger->isAttached()) {
 					_debugger->attach();

Index: sprites.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/kyra/sprites.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- sprites.cpp	8 Jan 2006 18:33:23 -0000	1.19
+++ sprites.cpp	8 Jan 2006 21:05:16 -0000	1.20
@@ -88,7 +88,7 @@
 			data += 4;
 			_anims[i].y = READ_LE_UINT16(data);
 			data += 4;
-			_anims[i].width = *(data) + 1;
+			_anims[i].width = *(data)/8 + 1;
 			data += 4;
 			_anims[i].height = *(data);
 			data += 4;





More information about the Scummvm-git-logs mailing list