From a8f8e4b69eab768f38d5cd73ceecce03bd096a4d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 19 Apr 2016 22:00:47 -0400 Subject: TITANIC: Clarified UI color methods & tables --- engines/titanic/pet_control/pet_section.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'engines/titanic/pet_control/pet_section.h') 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 -- cgit v1.2.3