aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2008-03-17 20:36:58 +0000
committerJohannes Schickel2008-03-17 20:36:58 +0000
commit136040b8692e79a48819192d4b37c53baabb5d12 (patch)
treee12cf6bd0276cad2142c852a7989bb73dad00a3a /engines
parentfc47cbe629527256314ca54d624917ef7df888bf (diff)
downloadscummvm-rg350-136040b8692e79a48819192d4b37c53baabb5d12.tar.gz
scummvm-rg350-136040b8692e79a48819192d4b37c53baabb5d12.tar.bz2
scummvm-rg350-136040b8692e79a48819192d4b37c53baabb5d12.zip
Cleanup.
svn-id: r31162
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/gui_v2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/gui_v2.cpp b/engines/kyra/gui_v2.cpp
index 78bb8a5fec..5560b72ee0 100644
--- a/engines/kyra/gui_v2.cpp
+++ b/engines/kyra/gui_v2.cpp
@@ -60,6 +60,7 @@ int KyraEngine_v2::gui_handleMainMenu() {
_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 @@ int KyraEngine_v2::gui_handleMainMenu() {
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_drawMainMenu(const char *const *strings, int select) {
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)