--- deliantra/server/socket/info.C 2009/11/06 13:11:28 1.57 +++ deliantra/server/socket/info.C 2010/03/26 00:59:22 1.59 @@ -2,8 +2,8 @@ * This file is part of Deliantra, the Roguelike Realtime MMORPG. * * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team - * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team - * Copyright (©) 1992,2007 Frank Tore Johansen + * Copyright (©) 2002 Mark Wedel & Crossfire Development Team + * Copyright (©) 1992 Frank Tore Johansen * * Deliantra is free software: you can redistribute it and/or modify it under * the terms of the Affero GNU General Public License as published by the @@ -53,21 +53,6 @@ } /** - * Draws an extended message on the client. - * ns the socket to send message to - * color color informations (used mainly if client does not support message type) - * type, - * subtype type and subtype of text message - * intro Intro message to send with main message if client does not support the message type - * message The main message - */ -static void -esrv_print_ext_msg (client *ns, int color, uint8 type, uint8 subtype, const char *message) -{ - ns->send_packet_printf ("drawextinfo %d %u %u %s", color, type, subtype, message); -} - -/** * Frontend for esrv_print_msg * \param colr message color * \param pl player to send to. Can be NULL @@ -197,17 +182,6 @@ new_draw_info (color, 0, pl->ob, str); } -/** - * Writes to everyone on the map except op1 and op2 - */ -static void -new_info_map_except2 (int color, maptile * map, object *op1, object *op2, const char *str) -{ - for_all_players (pl) - if (pl->ob->map == map && pl->ob != op1 && pl->ob != op2) - new_draw_info (color, 0, pl->ob, str); -} - /** * Writes to everyone on the specified map */