diff options
author | Gregory Montoir | 2007-04-15 20:36:44 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-04-15 20:36:44 +0000 |
commit | 642fa67da9c271244de373431166f23449ec8543 (patch) | |
tree | dbd138e5ebd40f8fa55ed67c049e6e8f0b6eea4a /engines/scumm/scumm.h | |
parent | f8067d54e53084c9fd7ef848fd855967d0641465 (diff) | |
download | scummvm-rg350-642fa67da9c271244de373431166f23449ec8543.tar.gz scummvm-rg350-642fa67da9c271244de373431166f23449ec8543.tar.bz2 scummvm-rg350-642fa67da9c271244de373431166f23449ec8543.zip |
Added code for decodeParseString.SO_PRINT_WRAP and rewrote the CHARSET_1 function in order to match the original V8 interpreter. This should fix bugs #1036707 and #1662610 (subtitles word wrapping issues).
svn-id: r26516
Diffstat (limited to 'engines/scumm/scumm.h')
-rw-r--r-- | engines/scumm/scumm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/scumm/scumm.h b/engines/scumm/scumm.h index 90cb14de1f..76b36fe935 100644 --- a/engines/scumm/scumm.h +++ b/engines/scumm/scumm.h @@ -243,6 +243,7 @@ struct StringSlot { bool center; bool overhead; bool no_talk_anim; + bool wrapping; }; struct StringTab : StringSlot { @@ -1169,7 +1170,7 @@ protected: virtual void printString(int m, const byte *msg); virtual bool handleNextCharsetCode(Actor *a, int *c); - void CHARSET_1(); + virtual void CHARSET_1(); void drawString(int a, const byte *msg); void debugMessage(const byte *msg); void showMessageDialog(const byte *msg); |