diff options
author | Paul Gilbert | 2016-04-19 22:00:47 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:11:37 -0400 |
commit | a8f8e4b69eab768f38d5cd73ceecce03bd096a4d (patch) | |
tree | 16411b2115087fbcf5be361b66e1996a32b2b337 /engines/titanic/pet_control/pet_section.h | |
parent | a6e76530b248c6ad61aac0fc4496e126ca6cd77b (diff) | |
download | scummvm-rg350-a8f8e4b69eab768f38d5cd73ceecce03bd096a4d.tar.gz scummvm-rg350-a8f8e4b69eab768f38d5cd73ceecce03bd096a4d.tar.bz2 scummvm-rg350-a8f8e4b69eab768f38d5cd73ceecce03bd096a4d.zip |
TITANIC: Clarified UI color methods & tables
Diffstat (limited to 'engines/titanic/pet_control/pet_section.h')
-rw-r--r-- | engines/titanic/pet_control/pet_section.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_section.h b/engines/titanic/pet_control/pet_section.h index 40a3151304..6cc1c10333 100644 --- a/engines/titanic/pet_control/pet_section.h +++ b/engines/titanic/pet_control/pet_section.h @@ -160,8 +160,16 @@ public: */ CPetControl *getPetControl() const { return _petControl; } - uint getDataIndex(int index); - const uint *getDataTable(int index = -1); + /** + * Get a specified color in the currently active UI color table + */ + uint getColor(uint index); + + /** + * Get one of the game's three UI color tables. If the default + * tableNum of -1 is used, the table is taken from the game state + */ + const uint *getColorTable(int tableNum = -1); }; } // End of namespace Titanic |