[Scummvm-cvs-logs] CVS: scummvm/queen display.cpp,1.59,1.60

Max Horn fingolfin at users.sourceforge.net
Sat Feb 28 05:17:14 CET 2004


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

Modified Files:
	display.cpp 
Log Message:
renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend

Index: display.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/queen/display.cpp,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- display.cpp	21 Feb 2004 08:52:25 -0000	1.59
+++ display.cpp	28 Feb 2004 12:58:09 -0000	1.60
@@ -156,9 +156,9 @@
 	debug(9, "Display::palSet(%d, %d)", start, end);
 	uint8 tempPal[256 * 4];
 	palConvert(tempPal, pal, start, end);
-	_system->set_palette(tempPal + start * 4, start, end - start + 1);
+	_system->setPalette(tempPal + start * 4, start, end - start + 1);
 	if (updateScreen) {
-		_system->update_screen();
+		_system->updateScreen();
 		_vm->input()->delay(20);
 	}
 }
@@ -617,7 +617,7 @@
 		}
 		debug(7, "Display::update() - Dirtyblocks blit (%d)", count);
 	}
-	_system->update_screen();
+	_system->updateScreen();
 }
 
 void Display::setupPanel() {
@@ -958,7 +958,7 @@
 				++y;
 			}
 			_system->copy_rect(buf, 32, x, y, 32, 32);
-			_system->update_screen();
+			_system->updateScreen();
 			_vm->input()->delay(10);
 		}
 	}
@@ -991,7 +991,7 @@
 			p += SCREEN_W;
 		}
 		_system->copy_rect(buf, SCREEN_W, x, y, 2, 2);
-		_system->update_screen();
+		_system->updateScreen();
 		_vm->input()->delay(10);
 	}
 }
@@ -1020,7 +1020,7 @@
 			++i;
 			_system->copy_rect(buf, SCREEN_W, x, y, 2, 2);
 		}
-		_system->update_screen();
+		_system->updateScreen();
 		_vm->input()->delay(10);
 	}
 }





More information about the Scummvm-git-logs mailing list