… | |
… | |
24 | void Log_Kill(const char *Who, const char *What, int WhatType, const char *With, int WithType); |
24 | void Log_Kill(const char *Who, const char *What, int WhatType, const char *With, int WithType); |
25 | /* init.c */ |
25 | /* init.c */ |
26 | bool add_client (int fd, const char *peername); |
26 | bool add_client (int fd, const char *peername); |
27 | void init_ericserver(void); |
27 | void init_ericserver(void); |
28 | void free_all_newserver(void); |
28 | void free_all_newserver(void); |
29 | void free_newsocket(client *ns); |
|
|
30 | void final_free_player(player *pl); |
29 | void final_free_player(player *pl); |
31 | /* item.c */ |
30 | /* item.c */ |
32 | unsigned int query_flags(object *op); |
31 | unsigned int query_flags(object *op); |
33 | void esrv_draw_look(object *pl); |
32 | void esrv_draw_look(object *pl); |
34 | void esrv_send_inventory(object *pl, object *op); |
33 | void esrv_send_inventory(object *pl, object *op); |
… | |
… | |
43 | void look_at(object *op, int dx, int dy); |
42 | void look_at(object *op, int dx, int dy); |
44 | void LookAt(char *buf, int len, player *pl); |
43 | void LookAt(char *buf, int len, player *pl); |
45 | void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof); |
44 | void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof); |
46 | /* loop.c */ |
45 | /* loop.c */ |
47 | void RequestInfo(char *buf, int len, client *ns); |
46 | void RequestInfo(char *buf, int len, client *ns); |
48 | void Handle_Oldsocket(client *ns); |
|
|
49 | void HandleClient(client *ns, player *pl); |
|
|
50 | void watchdog(void); |
47 | void watchdog(void); |
51 | void flush_sockets(void); |
48 | void flush_sockets(void); |
52 | void doeric_server(void); |
49 | void doeric_server(void); |
53 | /* lowlevel.c */ |
50 | /* lowlevel.c */ |
54 | void write_cs_stats(void); |
51 | void write_cs_stats(void); |
… | |
… | |
63 | void ReplyCmd(char *buf, int len, player *pl); |
60 | void ReplyCmd(char *buf, int len, player *pl); |
64 | void VersionCmd(char *buf, int len, client *ns); |
61 | void VersionCmd(char *buf, int len, client *ns); |
65 | void SetSound(char *buf, int len, client *ns); |
62 | void SetSound(char *buf, int len, client *ns); |
66 | void MapRedrawCmd(char *buff, int len, player *pl); |
63 | void MapRedrawCmd(char *buff, int len, player *pl); |
67 | void ExtCmd(char *buff, int len, player *pl); |
64 | void ExtCmd(char *buff, int len, player *pl); |
|
|
65 | void ExtiCmd(char *buff, int len, client *ns); |
68 | void MapInfoCmd(char *buff, int len, player *pl); |
66 | void MapInfoCmd(char *buff, int len, player *pl); |
69 | void MoveCmd(char *buf, int len, player *pl); |
67 | void MoveCmd(char *buf, int len, player *pl); |
70 | void send_query(client *ns, uint8 flags, char *text); |
68 | void send_query(client *ns, uint8 flags, char *text); |
71 | void esrv_update_stats(player *pl); |
69 | void esrv_update_stats(player *pl); |
72 | void esrv_new_player(player *pl, uint32 weight); |
70 | void esrv_new_player(player *pl, uint32 weight); |