diff options
author | Paul Gilbert | 2016-04-30 19:47:49 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:37:51 -0400 |
commit | 2fb692321165ec5831877fcb60408dd45610f7bb (patch) | |
tree | 44672f24a09f83083d33de1a8b571f07bfaa5e7e /engines/titanic/pet_control/pet_text.h | |
parent | 65dbc2a26505e79c51351eda10195e8425460a87 (diff) | |
download | scummvm-rg350-2fb692321165ec5831877fcb60408dd45610f7bb.tar.gz scummvm-rg350-2fb692321165ec5831877fcb60408dd45610f7bb.tar.bz2 scummvm-rg350-2fb692321165ec5831877fcb60408dd45610f7bb.zip |
TITANIC: Implement PET Text color remapping
Diffstat (limited to 'engines/titanic/pet_control/pet_text.h')
-rw-r--r-- | engines/titanic/pet_control/pet_text.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_text.h b/engines/titanic/pet_control/pet_text.h index adbd1401ea..930bf3da8b 100644 --- a/engines/titanic/pet_control/pet_text.h +++ b/engines/titanic/pet_control/pet_text.h @@ -242,7 +242,17 @@ public: */ void hideCursor(); + /** + * Get an NPC Number embedded within on-screen text. + * Used by the PET log to encode which NPC spoke + */ int getNPCNum(uint npcId, uint startIndex); + + /** + * Replaces any occurances of line colors that appear in the + * first list with the entry at the same index in the dest list + */ + void remapColors(uint count, uint *srcColors, uint *destColors); }; } // End of namespace Titanic |