[Scummvm-cvs-logs] SF.net SVN: scummvm: [25379] scummvm/trunk/engines/parallaction/graphics. cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sun Feb 4 12:19:15 CET 2007


Revision: 25379
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25379&view=rev
Author:   peres001
Date:     2007-02-04 03:19:14 -0800 (Sun, 04 Feb 2007)

Log Message:
-----------
added game palette static initializers to avoid warnings

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/graphics.cpp

Modified: scummvm/trunk/engines/parallaction/graphics.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/graphics.cpp	2007-02-04 11:16:40 UTC (rev 25378)
+++ scummvm/trunk/engines/parallaction/graphics.cpp	2007-02-04 11:19:14 UTC (rev 25379)
@@ -65,7 +65,14 @@
 #define PALETTE_BACKUP	PALETTE_SIZE
 
 PaletteFxRange		_palettefx[6];
-byte				_palette[PALETTE_SIZE];
+byte				_palette[PALETTE_SIZE] = {
+	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+};
 
 byte _black_palette[PALETTE_SIZE] = {
 	0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,


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