![]() |
Crossfire Server, Trunk
1.75.0
|
Go to the source code of this file.
Data Structures | |
struct | struct_dialog_information |
Message information for a NPC. More... | |
struct | struct_dialog_message |
One message a NPC can react to. More... | |
struct | struct_dialog_reply |
One reply a NPC can expect. More... | |
struct | talk_info |
Structure used to build up dialog information when a player says something. More... | |
Macros | |
#define | MAX_NPC 5 |
How many NPCs maximum will reply to the player. More... | |
#define | MAX_REPLIES 10 |
How many NPC replies maximum to tell the player. More... | |
Enumerations | |
enum | reply_type { rt_say = 0, rt_reply = 1, rt_question = 2 } |
Various kind of messages a player or NPC can say. More... | |
Functions | |
void | dialog_preparse (object *op) |
Variables | |
const char * | NPC_DIALOG_ARCH |
#define MAX_NPC 5 |
#define MAX_REPLIES 10 |
enum reply_type |
void dialog_preparse | ( | object * | op | ) |
Definition at line 110 of file dialog.cpp.
References BITMASK_VALID, create_archetype(), object::event_bitmask, is_cfdialog(), object::msg, NPC_DIALOG_ARCH, object_find_by_arch_name(), and object_insert_in_ob().
Referenced by monster_talk_to_npc().
const char* NPC_DIALOG_ARCH |
Definition at line 28 of file dialog.cpp.
Referenced by annotate_ob(), and dialog_preparse().