From 792dfbb243bcbeee644bd096b7bd925a1e5c1e74 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 11 Jul 2006 20:16:55 +0000 Subject: - Fixed clif_parse not checking for func_parse before sending data to the connected clients. This in turn required various code-rewrites in: - duel related messaging functions (added clif targets DUEL/DUEL_WOS). - intif whisper to gm function - day/night timers - Rewrote the parse_console function to stop allocating/deallocating memory on every call. - Modified chrif_charselectreq to receive the player's ip among the data. - Added function clif_disp_message, which is the same as clif_disp_onlyself, except you can specify the targets (it sends a guild-chat packet) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7617 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/clif.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/map/clif.h') diff --git a/src/map/clif.h b/src/map/clif.h index 472d41de6..53a6332c3 100644 --- a/src/map/clif.h +++ b/src/map/clif.h @@ -43,7 +43,9 @@ enum { GUILD_SAMEMAP_WOS, GUILD_AREA, GUILD_AREA_WOS, // end additions [Valaris] - SELF + SELF, + DUEL, + DUEL_WOS }; extern struct packet_db packet_db[MAX_PACKET_VER + 1][MAX_PACKET_DB]; @@ -297,6 +299,7 @@ int clif_guild_xy_remove(struct map_session_data *sd); // atcommand int clif_displaymessage(const int fd,char* mes); int clif_disp_onlyself(struct map_session_data *sd,char *mes,int len); +void clif_disp_message(struct block_list *src, char *mes, int len, int type); int clif_GMmessage(struct block_list *bl,char* mes,int len,int flag); void clif_MainChatMessage(char* message); //luzza int clif_announce(struct block_list *bl, char* mes, int len, unsigned long color, int flag); -- cgit v1.2.3-60-g2f50