--- deliantra/server/include/sockproto.h 2006/12/16 03:08:26 1.20 +++ deliantra/server/include/sockproto.h 2007/04/23 19:10:17 1.26 @@ -3,8 +3,7 @@ void free_socket_images(void); void read_client_images(void); void SetFaceMode(char *buf, int len, client *ns); -void SendFaceCmd(char *buff, int len, client *ns); -void esrv_send_face(client *ns, short face_num, int nocache); +void AskFaceCmd(char *buf, int len, client *ns); void send_image_info(client *ns, char *params); void send_image_sums(client *ns, char *params); /* info.c */ @@ -23,7 +22,6 @@ void draw_magic_map(object *pl); void Log_Kill(const char *Who, const char *What, int WhatType, const char *With, int WithType); /* init.c */ -bool add_client (int fd, const char *peername); void init_ericserver(void); void free_all_newserver(void); void final_free_player(player *pl); @@ -36,6 +34,7 @@ void esrv_del_item(player *pl, int tag); object *esrv_get_ob_from_count(object *pl, tag_t count); void ExamineCmd(char *buf, int len, player *pl); +void ExCmd(char *buf, int len, player *pl); void ApplyCmd(char *buf, int len, player *pl); void LockItem(char *data, int len, player *pl); void MarkItem(char *data, int len, player *pl); @@ -57,17 +56,17 @@ void AskSmooth(char *buf, int len, client *ns); void PlayerCmd(char *buf, int len, player *pl); void NewPlayerCmd(char *buf, int len, player *pl); -void ReplyCmd(char *buf, int len, player *pl); +void ReplyCmd(char *buf, int len, client *ns); void VersionCmd(char *buf, int len, client *ns); void SetSound(char *buf, int len, client *ns); void MapRedrawCmd(char *buff, int len, player *pl); void ExtCmd(char *buff, int len, player *pl); +void ExtiCmd(char *buff, int len, client *ns); void MapInfoCmd(char *buff, int len, player *pl); void MoveCmd(char *buf, int len, player *pl); -void send_query(client *ns, uint8 flags, char *text); +void send_query(client *ns, uint8 flags, const char *text); void esrv_update_stats(player *pl); void esrv_new_player(player *pl, uint32 weight); -void esrv_send_animation(client *ns, short anim_num); int getExtendedMapInfoSize(client *ns); void draw_client_map(object *pl); void draw_client_map1(object *pl);