aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/state.cpp7
-rw-r--r--engines/supernova/supernova.cpp4
2 files changed, 3 insertions, 8 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index c624d7bbdc..9a8bba382c 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -403,11 +403,10 @@ void GameManager::processInput() {
if (Object::isNullObject(_currentInputObject))
return;
- ObjectType type;
if (((_mouseField >= 0) && (_mouseField < 256)) ||
((_mouseField >= 512) && (_mouseField < 768))) {
_inputObject[0] = _currentInputObject;
- type = _inputObject[0]->_type;
+ ObjectType type = _inputObject[0]->_type;
if (type & OPENABLE) {
if (type & OPENED)
_inputVerb = ACTION_CLOSE;
@@ -496,8 +495,6 @@ void GameManager::processInput() {
_currentInputObject = _currentRoom->getObject(_mouseField);
}
}
-
-// drawStatus();
}
}
@@ -862,10 +859,8 @@ void GameManager::drawStatus() {
} else {
_vm->renderText(_inputObject[0]->_name);
if (_inputVerb == ACTION_GIVE) {
- // to
_vm->renderText(" an ");
} else if (_inputVerb == ACTION_USE) {
- // with
_vm->renderText(" mit ");
}
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp
index ff2211c1e5..447316f73a 100644
--- a/engines/supernova/supernova.cpp
+++ b/engines/supernova/supernova.cpp
@@ -421,7 +421,7 @@ void SupernovaEngine::renderMessage(const char *text, MessagePosition position)
switch (position) {
case kMessageNormal:
x = 160 - rowWidthMax / 2;
- textColor = COL_MELD;
+ textColor = kColorWhite99;
break;
case kMessageTop:
x = 160 - rowWidthMax / 2;
@@ -454,7 +454,7 @@ void SupernovaEngine::renderMessage(const char *text, MessagePosition position)
int message_width = rowWidthMax + 6;
int message_height = numRows * 9 + 5;
saveScreen(message_columns, message_rows, message_width, message_height);
- renderBox(message_columns, message_rows, message_width, message_height, HGR_MELD);
+ renderBox(message_columns, message_rows, message_width, message_height, kColorWhite35);
for (uint i = 0; i < numRows; ++i) {
renderText(row[i], x, y, textColor);
y += 9;