diff options
author | Florian Kagerer | 2009-03-17 18:27:56 +0000 |
---|---|---|
committer | Florian Kagerer | 2009-03-17 18:27:56 +0000 |
commit | 769184c483eb58029ba10adda89ed5030ef9c960 (patch) | |
tree | 41d2253d4b332fac430c9e4a9bcbd4fd23babdc0 /engines/kyra/text_lol.h | |
parent | 7697fd9cc7b25f35623a8381376c9168c6b6950e (diff) | |
download | scummvm-rg350-769184c483eb58029ba10adda89ed5030ef9c960.tar.gz scummvm-rg350-769184c483eb58029ba10adda89ed5030ef9c960.tar.bz2 scummvm-rg350-769184c483eb58029ba10adda89ed5030ef9c960.zip |
LOL: added some new drawing code required for some shapes and fixed a minor text displaying bug
svn-id: r39487
Diffstat (limited to 'engines/kyra/text_lol.h')
-rw-r--r-- | engines/kyra/text_lol.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/engines/kyra/text_lol.h b/engines/kyra/text_lol.h index ee747c5f03..950f17cc2c 100644 --- a/engines/kyra/text_lol.h +++ b/engines/kyra/text_lol.h @@ -46,6 +46,9 @@ public: void setupField(bool mode); void expandField(); + int clearDim(int dim); + void resetDimTextPositions(int dim); + void printDialogueText(int dim, char *str, EMCState *script, const uint16 *paramList, int16 paramIndex); void printMessage(uint16 type, char *str, ...); @@ -72,6 +75,7 @@ private: char _scriptParaString[11]; uint16 _lineWidth; + int _lineCount; uint32 _numCharsTotal; uint32 _numCharsLeft; uint32 _numCharsPrinted; @@ -84,14 +88,17 @@ private: bool _animFlag; bool _printFlag; - uint8 _posX; - uint8 _posY; - uint8 _colour1; - uint8 _colour2; - bool _colour1prot; - LoLEngine *_vm; Screen_LoL *_screen; + + struct TextDimData { + uint8 color1; + uint8 color2; + uint8 column; + uint8 line; + }; + + TextDimData _textDimData[14]; }; } // end of namespace Kyra |