… | |
… | |
46 | /* loop.c */ |
46 | /* loop.c */ |
47 | void RequestInfo(char *buf, int len, NewSocket *ns); |
47 | void RequestInfo(char *buf, int len, NewSocket *ns); |
48 | void Handle_Oldsocket(NewSocket *ns); |
48 | void Handle_Oldsocket(NewSocket *ns); |
49 | void HandleClient(NewSocket *ns, player *pl); |
49 | void HandleClient(NewSocket *ns, player *pl); |
50 | void watchdog(void); |
50 | void watchdog(void); |
|
|
51 | void flush_sockets(void); |
51 | void doeric_server(void); |
52 | void doeric_server(void); |
52 | /* lowlevel.c */ |
53 | /* lowlevel.c */ |
|
|
54 | void Socket_Flush (NewSocket *ns); |
53 | void SockList_Init(SockList *sl); |
55 | void SockList_Init(SockList *sl); |
54 | void SockList_AddChar(SockList *sl, char c); |
56 | void SockList_AddChar(SockList *sl, char c); |
55 | void SockList_AddShort(SockList *sl, uint16 data); |
57 | void SockList_AddShort(SockList *sl, uint16 data); |
56 | void SockList_AddInt(SockList *sl, uint32 data); |
58 | void SockList_AddInt(SockList *sl, uint32 data); |
57 | void SockList_AddInt64(SockList *sl, uint64 data); |
59 | void SockList_AddInt64(SockList *sl, uint64 data); |
… | |
… | |
77 | void NewPlayerCmd(uint8 *buf, int len, player *pl); |
79 | void NewPlayerCmd(uint8 *buf, int len, player *pl); |
78 | void ReplyCmd(char *buf, int len, player *pl); |
80 | void ReplyCmd(char *buf, int len, player *pl); |
79 | void VersionCmd(char *buf, int len, NewSocket *ns); |
81 | void VersionCmd(char *buf, int len, NewSocket *ns); |
80 | void SetSound(char *buf, int len, NewSocket *ns); |
82 | void SetSound(char *buf, int len, NewSocket *ns); |
81 | void MapRedrawCmd(char *buff, int len, player *pl); |
83 | void MapRedrawCmd(char *buff, int len, player *pl); |
|
|
84 | void ExtCmd(char *buff, int len, player *pl); |
82 | void MapInfoCmd(char *buff, int len, player *pl); |
85 | void MapInfoCmd(char *buff, int len, player *pl); |
83 | void MapNewmapCmd(player *pl); |
86 | void MapNewmapCmd(player *pl); |
84 | void MoveCmd(char *buf, int len, player *pl); |
87 | void MoveCmd(char *buf, int len, player *pl); |
85 | void send_query(NewSocket *ns, uint8 flags, char *text); |
88 | void send_query(NewSocket *ns, uint8 flags, char *text); |
86 | void esrv_update_stats(player *pl); |
89 | void esrv_update_stats(player *pl); |