aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script_v1.cpp4
-rw-r--r--string.cpp12
2 files changed, 11 insertions, 5 deletions
diff --git a/script_v1.cpp b/script_v1.cpp
index cd5f51bc33..b89b3599d8 100644
--- a/script_v1.cpp
+++ b/script_v1.cpp
@@ -2256,6 +2256,10 @@ void Scumm::o5_verbOps() {
void Scumm::o5_wait() {
byte *oldaddr;
+ // Fixme: Indy3
+ if ((_opcode == 0xAE) && (_gameId == GID_INDY3_256))
+ return;
+
oldaddr = _scriptPointer - 1;
_opcode = fetchScriptByte();
diff --git a/string.cpp b/string.cpp
index 37e42d0eb1..b15f9f6fff 100644
--- a/string.cpp
+++ b/string.cpp
@@ -241,13 +241,14 @@ void Scumm::CHARSET_1() {
charset._right = string[0].right;
charset._color = _charsetColor;
_bkColor = 0;
-
- for (i=0; i<4; i++)
+
+ if(!(_features & GF_OLD256)) // FIXME
+ for (i=0; i<4; i++)
if(_features & GF_SMALL_HEADER)
charset._colorMap[i] = _charsetData[charset._curId][i-12];
else
charset._colorMap[i] = _charsetData[charset._curId][i];
-
+
if (_keepText) {
charset._strLeft = gdi._mask_left;
charset._strRight = gdi._mask_right;
@@ -418,7 +419,7 @@ void Scumm::drawString(int a) {
_bkColor = 0;
charset._unk12 = 1;
charset._disableOffsX = 1;
-
+ if(!(_features & GF_OLD256)) {
charsetptr = getResourceAddress(rtCharset, charset._curId);
assert(charsetptr);
charsetptr += 29;
@@ -432,7 +433,7 @@ void Scumm::drawString(int a) {
charset._colorMap[i] = _charsetData[charset._curId][i];
byte1 = charsetptr[1];
-
+ }
_msgPtrToAdd = buf;
/* trim from the right */
@@ -653,6 +654,7 @@ void Scumm::unkAddMsgToStack5(int var) {
void Scumm::initCharset(int charsetno) {
int i;
+ if(_features & GF_OLD256) return; // FIXME
if (_features & GF_SMALL_HEADER)
loadCharset(charsetno);