--- deliantra/server/include/sockproto.h 2007/04/30 04:25:30 1.28 +++ deliantra/server/include/sockproto.h 2007/06/05 13:05:02 1.31 @@ -1,3 +1,25 @@ +/* + * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game. + * + * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team + * + * Crossfire TRT is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the Free + * Software Foundation; either version 2 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51 + * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + * + * The authors can be reached via e-mail to + */ + /* image.c */ int is_valid_faceset(int fsn); void free_socket_images(void); @@ -14,7 +36,6 @@ void new_info_map_except(int color, maptile *map, object *op, const char *str); void new_info_map_except2(int color, maptile *map, object *op1, object *op2, const char *str); void new_info_map(int color, maptile *map, const char *str); -void clear_win_info(object *op); void set_title(object *pl, char *buf); void magic_mapping_mark(object *pl, char *map_mark, int strength); void draw_magic_map(object *pl); @@ -25,7 +46,7 @@ void final_free_player(player *pl); /* item.c */ unsigned int query_flags(object *op); -void esrv_draw_look(object *pl); +void esrv_draw_look(player *pl); void esrv_send_inventory(object *pl, object *op); void esrv_update_item(int flags, object *pl, object *op); void esrv_send_item(object *pl, object *op); @@ -36,7 +57,6 @@ void ApplyCmd(char *buf, int len, player *pl); void LockItem(char *data, int len, player *pl); void MarkItem(char *data, int len, player *pl); -void look_at(object *op, int dx, int dy); void LookAt(char *buf, int len, player *pl); void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof); /* loop.c */ @@ -66,8 +86,7 @@ void esrv_update_stats(player *pl); void esrv_new_player(player *pl, uint32 weight); int getExtendedMapInfoSize(client *ns); -void draw_client_map(object *pl); -void draw_client_map1(object *pl); +void draw_client_map(player *pl); void send_plugin_custom_message(object *pl, char *buf); void send_skill_info(client *ns, char *params); void send_spell_paths (client *ns, char *params);