diff options
author | Paul Gilbert | 2016-05-28 19:52:48 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:16:40 -0400 |
commit | a7ecc6d601f1beabd0f5538d5e1cd7d6e983d2b9 (patch) | |
tree | 28069093089951057a2b0ae3db7578711cf3ff53 /engines/titanic/npcs/true_talk_npc.h | |
parent | 1f4eca3d061d85cdc11a8e20834c14de082baedc (diff) | |
download | scummvm-rg350-a7ecc6d601f1beabd0f5538d5e1cd7d6e983d2b9.tar.gz scummvm-rg350-a7ecc6d601f1beabd0f5538d5e1cd7d6e983d2b9.tar.bz2 scummvm-rg350-a7ecc6d601f1beabd0f5538d5e1cd7d6e983d2b9.zip |
TITANIC: Adding CDeskbot message handlers
Diffstat (limited to 'engines/titanic/npcs/true_talk_npc.h')
-rw-r--r-- | engines/titanic/npcs/true_talk_npc.h | 10 |
1 files changed, 8 insertions, 2 deletions
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 |