diff options
author | Paul Gilbert | 2016-04-30 18:27:55 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:37:50 -0400 |
commit | 65dbc2a26505e79c51351eda10195e8425460a87 (patch) | |
tree | a6889e4e87459098c85b27f93782a5de25461c87 /engines/titanic/pet_control/pet_text.h | |
parent | a15e299a06c8049cf4332ea2bf4b77ad0bd845e1 (diff) | |
download | scummvm-rg350-65dbc2a26505e79c51351eda10195e8425460a87.tar.gz scummvm-rg350-65dbc2a26505e79c51351eda10195e8425460a87.tar.bz2 scummvm-rg350-65dbc2a26505e79c51351eda10195e8425460a87.zip |
TITANIC: Resolve Pet Text fontNumber fields, getting npc nums
Diffstat (limited to 'engines/titanic/pet_control/pet_text.h')
-rw-r--r-- | engines/titanic/pet_control/pet_text.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/engines/titanic/pet_control/pet_text.h b/engines/titanic/pet_control/pet_text.h index 9b914dcbc1..adbd1401ea 100644 --- a/engines/titanic/pet_control/pet_text.h +++ b/engines/titanic/pet_control/pet_text.h @@ -43,7 +43,7 @@ private: Rect _bounds; int _maxCharsPerLine; int _lineCount; - int _fontNumber1; + int _linesStart; int _field3C; int _field40; int _field44; @@ -53,7 +53,7 @@ private: int _textR; int _textG; int _textB; - int _fontNumber2; + int _fontNumber; int _field64; int _field68; int _field6C; @@ -175,9 +175,9 @@ public: void setNPC(int val1, int npcId); /** - * Get the font + * Get the index into _lines where on-screen text starts */ - int getFontNumber() const { return _fontNumber1; } + int getLinesStart() const { return _linesStart; } /** * Scroll the text up @@ -241,6 +241,8 @@ public: * Removes the cursor attached to the text */ void hideCursor(); + + int getNPCNum(uint npcId, uint startIndex); }; } // End of namespace Titanic |