diff options
Diffstat (limited to 'src/map/npc.h')
-rw-r--r-- | src/map/npc.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/map/npc.h b/src/map/npc.h index 4f0c43cba..2f81345d7 100644 --- a/src/map/npc.h +++ b/src/map/npc.h @@ -8,6 +8,10 @@ #define WARP_DEBUG_CLASS 722 #define INVISIBLE_CLASS 32767 +#ifdef PCRE_SUPPORT +void npc_chat_finalize(struct npc_data *nd); +#endif +int npc_chat_sub(struct block_list *bl, va_list ap); int npc_event_dequeue(struct map_session_data *sd); int npc_event_timer(int tid,unsigned int tick,int id,int data); int npc_event(struct map_session_data *sd,const char *npcname,int); @@ -22,6 +26,7 @@ int npc_buylist(struct map_session_data *,int,unsigned short *); int npc_selllist(struct map_session_data *,int,unsigned short *); int npc_parse_mob(char *w1,char *w2,char *w3,char *w4); int npc_parse_warp(char *w1,char *w2,char *w3,char *w4); +int npc_globalmessage(const char *name,char *mes); int npc_enable(const char *name,int flag); struct npc_data* npc_name2id(const char *name); @@ -37,16 +42,21 @@ void npc_delsrcfile(char *); int do_final_npc(void); int do_init_npc(void); int npc_event_do_oninit(void); -int npc_do_ontimer(int,struct map_session_data *,int); +int npc_do_ontimer(int,int); int npc_event_doall(const char *name); int npc_event_do(const char *name); +int npc_event_doall_id(const char *name, int id); -int npc_timerevent_start(struct npc_data *nd); +int npc_timerevent_start(struct npc_data *nd, int rid); int npc_timerevent_stop(struct npc_data *nd); int npc_gettimerevent_tick(struct npc_data *nd); int npc_settimerevent_tick(struct npc_data *nd,int newtimer); -int npc_delete(struct npc_data *nd); +int npc_remove_map(struct npc_data *nd); +int npc_unload(struct npc_data *nd); +int npc_reload(void); + +extern char *current_file; #endif |