From 93cd3eced23dba0099cc713a7d2323a901dbca75 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 27 Feb 2017 08:55:56 -0500 Subject: TITANIC: Implemented CStarControl doAction --- engines/titanic/core/game_object.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'engines/titanic/core/game_object.h') diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h index 2025c574a5..a04860f7a4 100644 --- a/engines/titanic/core/game_object.h +++ b/engines/titanic/core/game_object.h @@ -42,6 +42,11 @@ namespace Titanic { enum Find { FIND_GLOBAL = 1, FIND_ROOM = 2, FIND_PET = 4, FIND_MAILMAN = 8 }; enum Found { FOUND_NONE = 0, FOUND_GLOBAL = 1, FOUND_ROOM = 2, FOUND_PET = 3, FOUND_MAILMAN = 4 }; enum RoomFlagsComparison { RFC_LOCATION = 1, RFC_CLASS_ELEVATOR = 2, RFC_TITANIA = 3 }; +enum StarControlAction { + STAR_SHOW = 0, STAR_HIDE, STAR_2, STAR_RESET_POS, STAR_4, STAR_5, STAR_6, STAR_7, + STAR_8, STAR_9, STAR_10, STAR_11, STAR_12, STAR_13, STAR_SET_REFERENCE, STAR_FADE_IN, + STAR_FADE_OUT, STAR_17, STAR_18, STAR_19 +}; class CDontSaveFileItem; class CMailMan; @@ -948,7 +953,7 @@ public: /** * Executes an action in the StarControl subsystem */ - void starFn(int action); + void starFn(StarControlAction action); /** * Returns true if the starmap puzzle has been solved -- cgit v1.2.3