… | |
… | |
6 | void SendFaceCmd(char *buff, int len, NewSocket *ns); |
6 | void SendFaceCmd(char *buff, int len, NewSocket *ns); |
7 | void esrv_send_face(NewSocket *ns, short face_num, int nocache); |
7 | void esrv_send_face(NewSocket *ns, short face_num, int nocache); |
8 | void send_image_info(NewSocket *ns, char *params); |
8 | void send_image_info(NewSocket *ns, char *params); |
9 | void send_image_sums(NewSocket *ns, char *params); |
9 | void send_image_sums(NewSocket *ns, char *params); |
10 | /* info.c */ |
10 | /* info.c */ |
11 | void flush_output_element(object *pl, Output_Buf *outputs); |
11 | void flush_output_element(const object *pl, Output_Buf *outputs); |
12 | void check_output_buffers(object *pl, const char *buf); |
|
|
13 | void new_draw_info(int flags, int pri, object *pl, const char *buf); |
12 | void new_draw_info(int flags, int pri, const object *pl, const char *buf); |
14 | void new_draw_info_format(int flags, int pri, object *pl, const char *format, ...); |
13 | void new_draw_info_format(int flags, int pri, const object *pl, const char *format, ...); |
15 | void draw_ext_info(int flags, int pri, object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage); |
14 | void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage); |
16 | void draw_ext_info_format(int flags, int pri, object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...); |
15 | void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...); |
17 | void new_info_map_except(int color, mapstruct *map, object *op, const char *str); |
16 | void new_info_map_except(int color, mapstruct *map, object *op, const char *str); |
18 | void new_info_map_except2(int color, mapstruct *map, object *op1, object *op2, const char *str); |
17 | void new_info_map_except2(int color, mapstruct *map, object *op1, object *op2, const char *str); |
19 | void new_info_map(int color, mapstruct *map, const char *str); |
18 | void new_info_map(int color, mapstruct *map, const char *str); |
20 | void clear_win_info(object *op); |
19 | void clear_win_info(object *op); |
21 | void rangetostring(object *pl, char *obuf); |
20 | void rangetostring(object *pl, char *obuf); |
… | |
… | |
47 | /* loop.c */ |
46 | /* loop.c */ |
48 | void RequestInfo(char *buf, int len, NewSocket *ns); |
47 | void RequestInfo(char *buf, int len, NewSocket *ns); |
49 | void Handle_Oldsocket(NewSocket *ns); |
48 | void Handle_Oldsocket(NewSocket *ns); |
50 | void HandleClient(NewSocket *ns, player *pl); |
49 | void HandleClient(NewSocket *ns, player *pl); |
51 | void watchdog(void); |
50 | void watchdog(void); |
|
|
51 | void flush_sockets(void); |
52 | void doeric_server(void); |
52 | void doeric_server(void); |
53 | /* lowlevel.c */ |
53 | /* lowlevel.c */ |
|
|
54 | void Socket_Flush (NewSocket *ns); |
54 | void SockList_Init(SockList *sl); |
55 | void SockList_Init(SockList *sl); |
55 | void SockList_AddChar(SockList *sl, char c); |
56 | void SockList_AddChar(SockList *sl, char c); |
56 | void SockList_AddShort(SockList *sl, uint16 data); |
57 | void SockList_AddShort(SockList *sl, uint16 data); |
57 | void SockList_AddInt(SockList *sl, uint32 data); |
58 | void SockList_AddInt(SockList *sl, uint32 data); |
58 | void SockList_AddInt64(SockList *sl, uint64 data); |
59 | void SockList_AddInt64(SockList *sl, uint64 data); |
… | |
… | |
78 | void NewPlayerCmd(uint8 *buf, int len, player *pl); |
79 | void NewPlayerCmd(uint8 *buf, int len, player *pl); |
79 | void ReplyCmd(char *buf, int len, player *pl); |
80 | void ReplyCmd(char *buf, int len, player *pl); |
80 | void VersionCmd(char *buf, int len, NewSocket *ns); |
81 | void VersionCmd(char *buf, int len, NewSocket *ns); |
81 | void SetSound(char *buf, int len, NewSocket *ns); |
82 | void SetSound(char *buf, int len, NewSocket *ns); |
82 | void MapRedrawCmd(char *buff, int len, player *pl); |
83 | void MapRedrawCmd(char *buff, int len, player *pl); |
|
|
84 | void MapInfoCmd(char *buff, int len, player *pl); |
83 | void MapNewmapCmd(player *pl); |
85 | void MapNewmapCmd(player *pl); |
84 | void MoveCmd(char *buf, int len, player *pl); |
86 | void MoveCmd(char *buf, int len, player *pl); |
85 | void send_query(NewSocket *ns, uint8 flags, char *text); |
87 | void send_query(NewSocket *ns, uint8 flags, char *text); |
86 | void esrv_update_stats(player *pl); |
88 | void esrv_update_stats(player *pl); |
87 | void esrv_new_player(player *pl, uint32 weight); |
89 | void esrv_new_player(player *pl, uint32 weight); |