[Scummvm-cvs-logs] SF.net SVN: scummvm:[41780] scummvm/branches/gsoc2009-draci/engines/draci

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Mon Jun 22 22:18:54 CEST 2009


Revision: 41780
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41780&view=rev
Author:   dkasak13
Date:     2009-06-22 20:18:53 +0000 (Mon, 22 Jun 2009)

Log Message:
-----------
Changed Font::fillScreen() to accept a uint8 instead of a uint16.

Modified Paths:
--------------
    scummvm/branches/gsoc2009-draci/engines/draci/screen.cpp
    scummvm/branches/gsoc2009-draci/engines/draci/screen.h

Modified: scummvm/branches/gsoc2009-draci/engines/draci/screen.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/screen.cpp	2009-06-22 20:13:25 UTC (rev 41779)
+++ scummvm/branches/gsoc2009-draci/engines/draci/screen.cpp	2009-06-22 20:18:53 UTC (rev 41780)
@@ -135,7 +135,7 @@
  *
  * Fills the screen with the specified colour and marks the whole screen dirty.
  */
-void Screen::fillScreen(uint16 colour) const {
+void Screen::fillScreen(uint8 colour) const {
 	byte *ptr = (byte *)_surface->getBasePtr(0, 0);
 
 	_surface->markDirty();

Modified: scummvm/branches/gsoc2009-draci/engines/draci/screen.h
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/screen.h	2009-06-22 20:13:25 UTC (rev 41779)
+++ scummvm/branches/gsoc2009-draci/engines/draci/screen.h	2009-06-22 20:18:53 UTC (rev 41780)
@@ -52,7 +52,7 @@
 	void copyToScreen() const;
 	void clearScreen() const;
 	void drawSprite(const Sprite &s) const;
-	void fillScreen(uint16 colour) const;
+	void fillScreen(uint8 colour) const;
 	Surface *getSurface();	
 	void drawRect(Common::Rect &r, uint8 colour);
 


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