KYRA: Some formatting fixes.

This commit is contained in:
Johannes Schickel 2012-03-05 20:02:05 +01:00
parent 865c54c125
commit 9671b44df8
7 changed files with 31 additions and 28 deletions

View File

@ -40,7 +40,8 @@ void KyraRpgEngine::removeInputTop() {
}
void KyraRpgEngine::gui_drawBox(int x, int y, int w, int h, int frameColor1, int frameColor2, int fillColor) {
w--; h--;
w--;
h--;
if (fillColor != -1)
screen()->fillRect(x + 1, y + 1, x + w - 1, y + h - 1, fillColor);

View File

@ -286,14 +286,16 @@ void TextDisplayer_rpg::readNextPara() {
// All necessary conversions take place somewhere else. This code actually causes issues if the character conversions
// don't take place before calling displayText(). So we disable it for now. If some (not yet supported) localized
// versions depend on this code we'll have to look at this again.
/* if ((_vm->game() != GI_LOL) && (d & 0x80)) {
#if 0
if ((_vm->game() != GI_LOL) && (d & 0x80)) {
d &= 0x7f;
c = d & 7;
d = (d & 0x78) >> 3;
uint8 l = d;
c = _table1[(l << 3) + c];
d = _table2[l];
}*/
}
#endif
_ctrl[1] = d;
_ctrl[2] = c;