[Scummvm-cvs-logs] CVS: scummvm/sky control.cpp,1.27,1.28 screen.cpp,1.37,1.38

Robert G?ffringmann lavosspawn at users.sourceforge.net
Mon Jul 7 10:01:10 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv29868/sky

Modified Files:
	control.cpp screen.cpp 
Log Message:
button text for save and restore doesn't disappear anymore.
+ fixed screen updates for swing seqs.

Index: control.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/control.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- control.cpp	7 Jul 2003 15:21:37 -0000	1.27
+++ control.cpp	7 Jul 2003 17:00:55 -0000	1.28
@@ -782,6 +782,7 @@
 	while (!quitPanel) {
 		if (refreshNames || refreshAll) {
 			if (refreshAll) {
+				_text->flushForRedraw();
 				_savePanel->drawToScreen(NO_MASK);
 				_quitButton->drawToScreen(NO_MASK);
 			}

Index: screen.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/screen.cpp,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- screen.cpp	7 Jul 2003 00:14:16 -0000	1.37
+++ screen.cpp	7 Jul 2003 17:00:55 -0000	1.38
@@ -421,7 +421,7 @@
 				_seqInfo.seqDataPos++;
 
 				uint8 gridSta = (uint8)((screenPos / (GAME_SCREEN_WIDTH * 16))*20 + ((screenPos % GAME_SCREEN_WIDTH) >> 4));
-				uint8 gridEnd = (uint8)(((screenPos+nrToDo+15) / (GAME_SCREEN_WIDTH * 16))*20 + (((screenPos+nrToDo+15) % GAME_SCREEN_WIDTH) >> 4));
+				uint8 gridEnd = (uint8)(((screenPos+nrToDo) / (GAME_SCREEN_WIDTH * 16))*20 + (((screenPos+nrToDo) % GAME_SCREEN_WIDTH) >> 4));
                 for (cnt = gridSta; cnt <= gridEnd; cnt++)
 					_seqGrid[cnt] = 1;
 				for (cnt = 0; cnt < nrToDo; cnt++) {





More information about the Scummvm-git-logs mailing list