Ticket #8461: iq-hack-alt.diff

File iq-hack-alt.diff, 888 bytes (added by eriktorbjorn, 19 years ago)

Alternative patch (using our GUI) against an October 10 CVS snapshot

  • input.cpp

    ? iq-hack-alt.diff
    RCS file: /cvsroot/scummvm/scummvm/scumm/input.cpp,v
    retrieving revision 2.37
    diff -u -r2.37 input.cpp
     
    485485                        VAR(VAR_CHARINC) = _defaultTalkDelay;
    486486        } else if (_lastKeyHit == '~' || _lastKeyHit == '#') { // Debug console
    487487                _debugger->attach();
     488        } else if (_gameId == GID_INDY3 && _lastKeyHit == 'i') {
     489                char buf[40];
     490
     491                // TODO: Verify that this works on all versions of Indy 3
     492                // TODO: Don't hard-code English strings
     493
     494                sprintf(buf, "Episode: %d   Series: %d", _scummVars[244], _scummVars[245]);
     495
     496                InfoDialog dialog(this, buf);
     497                runDialog(dialog);
    488498        } else if (_version <= 2) {
    489499                // Store the input type. So far we can't distinguish
    490500                // between 1, 3 and 5.