22 #ifndef TITANIC_TRUE_TALK_NPC_H 23 #define TITANIC_TRUE_TALK_NPC_H 25 #include "titanic/npcs/character.h" 26 #include "titanic/messages/messages.h" 27 #include "titanic/true_talk/tt_talker.h" 32 NPCFLAG_SPEAKING = 1, NPCFLAG_IDLING = 2, NPCFLAG_START_IDLING = 4,
33 NPCFLAG_DOORBOT_IN_HOME = 8, NPCFLAG_MOVING = 0x10000, NPCFLAG_MOVE_START = 0x20000,
34 NPCFLAG_MOVE_LOOP = 0x40000, NPCFLAG_MOVE_FINISH = 0x80000,
35 NPCFLAG_MOVE_LEFT = 0x100000, NPCFLAG_MOVE_RIGHT = 0x200000,
36 NPCFLAG_MOVE_END = 0x400000, NPCFLAG_PECKING = 0x800000,
37 NPCFLAG_CHICKEN_OUTSIDE_CAGE = 0x1000000, NPCFLAG_TAKE_OFF = 0x2000000,
38 NPCFLAG_SUMMON_BELLBOT = 0x4000000, NPCFLAG_DOORBOT_INTRO = 0x8000000
void startTalking(CTrueTalkNPC *npc, uint id, CViewItem *view=nullptr)
Definition: true_talk_npc.h:43
Definition: character.h:29
Definition: simple_file.h:49
Definition: messages.h:387
Definition: messages.h:399
Definition: messages.h:188
Definition: messages.h:327
Definition: messages.h:319
Definition: messages.h:398
Definition: messages.h:396
Definition: messages.h:324
void setView(CViewItem *view)
void performAction(bool startTalking, CViewItem *view=nullptr)
void load(SimpleFile *file) override
Definition: messages.h:275
void save(SimpleFile *file, int indent) override
void startTalker(CViewItem *view)
Definition: view_item.h:32