diff options
author | Gregory Montoir | 2007-02-24 18:39:08 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-02-24 18:39:08 +0000 |
commit | 11e679845d49f5a13e7311b6e5bebc7827a26878 (patch) | |
tree | 18385f7c9a0d5c26b81acc2daeae15ce1142edea /engines/queen/command.cpp | |
parent | d350830d7c209a02d9dde3801390c902980dbde7 (diff) | |
download | scummvm-rg350-11e679845d49f5a13e7311b6e5bebc7827a26878.tar.gz scummvm-rg350-11e679845d49f5a13e7311b6e5bebc7827a26878.tar.bz2 scummvm-rg350-11e679845d49f5a13e7311b6e5bebc7827a26878.zip |
some fixes and additions for FOTAQ amiga versions
svn-id: r25825
Diffstat (limited to 'engines/queen/command.cpp')
-rw-r--r-- | engines/queen/command.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/queen/command.cpp b/engines/queen/command.cpp index 8366eb2b72..50982420ce 100644 --- a/engines/queen/command.cpp +++ b/engines/queen/command.cpp @@ -46,12 +46,12 @@ void CmdText::clear() { memset(_command, 0, sizeof(_command)); } -void CmdText::display(uint8 color) { - _vm->display()->textCurrentColor(color); +void CmdText::display(InkColor color) { + _vm->display()->textCurrentColor(_vm->display()->getInkColor(color)); _vm->display()->setTextCentered(_y, _command, false); } -void CmdText::displayTemp(uint8 color, Verb v, const char *name, bool outlined) { +void CmdText::displayTemp(InkColor color, Verb v, const char *name, bool outlined) { char temp[MAX_COMMAND_LEN] = ""; if (_isReversed) { if (name != NULL) @@ -64,17 +64,17 @@ void CmdText::displayTemp(uint8 color, Verb v, const char *name, bool outlined) strcat(temp, name); } } - _vm->display()->textCurrentColor(color); + _vm->display()->textCurrentColor(_vm->display()->getInkColor(color)); _vm->display()->setTextCentered(_y, temp, outlined); } -void CmdText::displayTemp(uint8 color, const char *name, bool outlined) { +void CmdText::displayTemp(InkColor color, const char *name, bool outlined) { char temp[MAX_COMMAND_LEN]; if (_isReversed) sprintf(temp, "%s %s", name, _command); else sprintf(temp, "%s %s", _command, name); - _vm->display()->textCurrentColor(color); + _vm->display()->textCurrentColor(_vm->display()->getInkColor(color)); _vm->display()->setTextCentered(_y, temp, outlined); } |