Crossfire Server, Branch 1.12
R12190
|
00001 #ifndef DIALOG_H 00002 #define DIALOG_H 00003 00004 typedef enum { 00005 rt_reply, 00006 rt_question 00007 } reply_type; 00008 00009 typedef struct struct_dialog_reply { 00010 char *reply; 00011 char *message; 00012 reply_type type; 00013 struct struct_dialog_reply *next; 00014 } struct_dialog_reply; 00015 00016 typedef struct struct_dialog_message { 00017 char *match; 00018 char *message; 00019 struct struct_dialog_reply *replies; 00020 struct struct_dialog_message *next; 00021 } struct_dialog_message; 00022 00023 typedef struct struct_dialog_information { 00024 struct struct_dialog_reply *all_replies; 00025 struct struct_dialog_message *all_messages; 00026 } struct_dialog_information; 00027 00028 #endif /* DIALOG_H */