ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/sockproto.h
(Generate patch)

Comparing deliantra/server/include/sockproto.h (file contents):
Revision 1.6 by root, Thu Aug 17 20:23:31 2006 UTC vs.
Revision 1.12 by root, Thu Dec 14 01:21:58 2006 UTC

11void flush_output_element(const object *pl, Output_Buf *outputs); 11void flush_output_element(const object *pl, Output_Buf *outputs);
12void new_draw_info(int flags, int pri, const object *pl, const char *buf); 12void new_draw_info(int flags, int pri, const object *pl, const char *buf);
13void new_draw_info_format(int flags, int pri, const object *pl, const char *format, ...); 13void new_draw_info_format(int flags, int pri, const object *pl, const char *format, ...);
14void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage); 14void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage);
15void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...); 15void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...);
16void new_info_map_except(int color, mapstruct *map, object *op, const char *str); 16void new_info_map_except(int color, maptile *map, object *op, const char *str);
17void new_info_map_except2(int color, mapstruct *map, object *op1, object *op2, const char *str); 17void new_info_map_except2(int color, maptile *map, object *op1, object *op2, const char *str);
18void new_info_map(int color, mapstruct *map, const char *str); 18void new_info_map(int color, maptile *map, const char *str);
19void clear_win_info(object *op); 19void clear_win_info(object *op);
20void rangetostring(object *pl, char *obuf); 20void rangetostring(object *pl, char *obuf);
21void set_title(object *pl, char *buf); 21void set_title(object *pl, char *buf);
22void magic_mapping_mark(object *pl, char *map_mark, int strength); 22void magic_mapping_mark(object *pl, char *map_mark, int strength);
23void draw_magic_map(object *pl); 23void draw_magic_map(object *pl);
50void watchdog(void); 50void watchdog(void);
51void flush_sockets(void); 51void flush_sockets(void);
52void doeric_server(void); 52void doeric_server(void);
53/* lowlevel.c */ 53/* lowlevel.c */
54void Socket_Flush (NewSocket *ns); 54void Socket_Flush (NewSocket *ns);
55void SockList_Init(SockList *sl);
56void SockList_AddChar(SockList *sl, char c);
57void SockList_AddShort(SockList *sl, uint16 data);
58void SockList_AddInt(SockList *sl, uint32 data);
59void SockList_AddInt64(SockList *sl, uint64 data);
60int GetInt_String(unsigned char *data);
61short GetShort_String(unsigned char *data);
62int SockList_ReadPacket(int fd, SockList *sl, int len);
63void write_socket_buffer(NewSocket *ns); 55void write_socket_buffer(NewSocket *ns);
64void Write_To_Socket(NewSocket *ns, char *buf, int len); 56void Write_To_Socket(NewSocket *ns, char *buf, int len);
65void cs_write_string(NewSocket *ns, const char *buf, int len);
66void Send_With_Handling(NewSocket *ns, SockList *msg); 57void Send_With_Handling(NewSocket *ns, packet *msg);
67void Write_String_To_Socket(NewSocket *ns, char *buf, int len);
68void write_cs_stats(void); 58void write_cs_stats(void);
69/* metaserver.c */
70void metaserver_init(void);
71void metaserver_update(void);
72/* request.c */ 59/* request.c */
73void SetUp(char *buf, int len, NewSocket *ns); 60void SetUp(char *buf, int len, NewSocket *ns);
74void AddMeCmd(char *buf, int len, NewSocket *ns); 61void AddMeCmd(char *buf, int len, NewSocket *ns);
75void ToggleExtendedInfos(char *buf, int len, NewSocket *ns); 62void ToggleExtendedInfos(char *buf, int len, NewSocket *ns);
76void ToggleExtendedText (char *buf, int len, NewSocket *ns); 63void ToggleExtendedText (char *buf, int len, NewSocket *ns);
97void esrv_update_spells(player *pl); 84void esrv_update_spells(player *pl);
98void esrv_remove_spell(player *pl, object *spell); 85void esrv_remove_spell(player *pl, object *spell);
99void esrv_add_spells(player *pl, object *spell); 86void esrv_add_spells(player *pl, object *spell);
100/* sounds.c */ 87/* sounds.c */
101void play_sound_player_only(player *pl, short soundnum, sint8 x, sint8 y); 88void play_sound_player_only(player *pl, short soundnum, sint8 x, sint8 y);
102void play_sound_map(mapstruct *map, int x, int y, short sound_num); 89void play_sound_map(maptile *map, int x, int y, short sound_num);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines