mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
KYRA: Some formatting fixes.
This commit is contained in:
parent
865c54c125
commit
9671b44df8
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user