--- deliantra/server/include/sockproto.h 2006/02/03 07:12:50 1.1 +++ deliantra/server/include/sockproto.h 2006/04/17 06:11:39 1.2 @@ -8,12 +8,11 @@ void send_image_info(NewSocket *ns, char *params); void send_image_sums(NewSocket *ns, char *params); /* info.c */ -void flush_output_element(object *pl, Output_Buf *outputs); -void check_output_buffers(object *pl, const char *buf); -void new_draw_info(int flags, int pri, object *pl, const char *buf); -void new_draw_info_format(int flags, int pri, object *pl, const char *format, ...); -void draw_ext_info(int flags, int pri, object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage); -void draw_ext_info_format(int flags, int pri, object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...); +void flush_output_element(const object *pl, Output_Buf *outputs); +void new_draw_info(int flags, int pri, const object *pl, const char *buf); +void new_draw_info_format(int flags, int pri, const object *pl, const char *format, ...); +void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage); +void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...); void new_info_map_except(int color, mapstruct *map, object *op, const char *str); void new_info_map_except2(int color, mapstruct *map, object *op1, object *op2, const char *str); void new_info_map(int color, mapstruct *map, const char *str); @@ -80,6 +79,7 @@ void VersionCmd(char *buf, int len, NewSocket *ns); void SetSound(char *buf, int len, NewSocket *ns); void MapRedrawCmd(char *buff, int len, player *pl); +void MapInfoCmd(char *buff, int len, player *pl); void MapNewmapCmd(player *pl); void MoveCmd(char *buf, int len, player *pl); void send_query(NewSocket *ns, uint8 flags, char *text);