[Scummvm-cvs-logs] SF.net SVN: scummvm: [31162] scummvm/trunk/engines/kyra/gui_v2.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Mon Mar 17 21:36:58 CET 2008


Revision: 31162
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31162&view=rev
Author:   lordhoto
Date:     2008-03-17 13:36:58 -0700 (Mon, 17 Mar 2008)

Log Message:
-----------
Cleanup.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/gui_v2.cpp

Modified: scummvm/trunk/engines/kyra/gui_v2.cpp
===================================================================
--- scummvm/trunk/engines/kyra/gui_v2.cpp	2008-03-17 20:34:46 UTC (rev 31161)
+++ scummvm/trunk/engines/kyra/gui_v2.cpp	2008-03-17 20:36:58 UTC (rev 31162)
@@ -60,6 +60,7 @@
 	_screen->setTextColorMap(colorMap);
 
 	const char * const *strings;
+	const char *k2strings[4];
 
 	Screen::FontId oldFont = _screen->setFont(Screen::FID_8_FNT);
 	int charWidthBackUp = _screen->_charWidth;
@@ -68,7 +69,6 @@
 
 	if (_flags.gameID == GI_KYRA2) {
 		_screen->setScreenDim(11);
-		static const char *k2strings[4];
 		k2strings[0] = _sequenceStrings[97];
 		k2strings[1] = _sequenceStrings[96];
 		k2strings[2] = _sequenceStrings[95];
@@ -169,7 +169,7 @@
 void KyraEngine_v2::gui_drawMainBox(int x, int y, int w, int h, int fill) {
 	debugC(9, kDebugLevelMain, "KyraEngine_v2::gui_drawMainBox(%d, %d, %d, %d, %d)", x, y, w, h, fill);
 	static const uint8 kyra3ColorTable[] = { 0x16, 0x19, 0x1A, 0x16 };
-	static const uint8 kyra2ColorTable[] = {0xd8, 0xda, 0xd9, 0xd8 };
+	static const uint8 kyra2ColorTable[] = { 0xd8, 0xda, 0xd9, 0xd8 };
 
 	const uint8 *colorTable;
 	if (_flags.gameID == GI_KYRA3)


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