From a7ecc6d601f1beabd0f5538d5e1cd7d6e983d2b9 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 28 May 2016 19:52:48 -0400 Subject: TITANIC: Adding CDeskbot message handlers --- engines/titanic/npcs/true_talk_npc.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'engines/titanic/npcs/true_talk_npc.h') diff --git a/engines/titanic/npcs/true_talk_npc.h b/engines/titanic/npcs/true_talk_npc.h index 8277b55e45..a1303c3e5d 100644 --- a/engines/titanic/npcs/true_talk_npc.h +++ b/engines/titanic/npcs/true_talk_npc.h @@ -30,7 +30,9 @@ namespace Titanic { enum NpcFlag { - NPCFLAG_SPEAKING = 1, NPCFLAG_2 = 2, NPCFLAG_4 = 4, NPCFLAG_8 = 8 + NPCFLAG_SPEAKING = 1, NPCFLAG_2 = 2, NPCFLAG_4 = 4, NPCFLAG_8 = 8, + NPCFLAG_10000 = 0x10000, NPCFLAG_20000 = 0x20000, NPCFLAG_40000 = 0x40000, + NPCFLAG_80000 = 0x80000, NPCFLAG_100000 = 0x100000 }; class CViewItem; @@ -60,7 +62,11 @@ protected: int _field104; protected: void processInput(CTextInputMsg *msg, CViewItem *view); - void performAction(int val1, int val2); + + /** + * Perform an action + */ + void performAction(int actionNum, CViewItem *view = nullptr); /** * Start an animation timer -- cgit v1.2.3