ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/sockproto.h
Revision: 1.1.1.1 (vendor branch)
Committed: Fri Feb 3 07:12:50 2006 UTC (18 years, 3 months ago) by root
Content type: text/plain
Branch: UPSTREAM
CVS Tags: UPSTREAM_2006_02_03
Changes since 1.1: +0 -0 lines
Log Message:
initial import

File Contents

# Content
1 /* image.c */
2 int is_valid_faceset(int fsn);
3 void free_socket_images(void);
4 void read_client_images(void);
5 void SetFaceMode(char *buf, 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);
8 void send_image_info(NewSocket *ns, char *params);
9 void send_image_sums(NewSocket *ns, char *params);
10 /* info.c */
11 void flush_output_element(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);
14 void new_draw_info_format(int flags, int pri, 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);
16 void draw_ext_info_format(int flags, int pri, 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);
18 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);
20 void clear_win_info(object *op);
21 void rangetostring(object *pl, char *obuf);
22 void set_title(object *pl, char *buf);
23 void magic_mapping_mark(object *pl, char *map_mark, int strength);
24 void draw_magic_map(object *pl);
25 void Log_Kill(const char *Who, const char *What, int WhatType, const char *With, int WithType);
26 /* init.c */
27 void InitConnection(NewSocket *ns, const char *from_ip);
28 void init_ericserver(void);
29 void free_all_newserver(void);
30 void free_newsocket(NewSocket *ns);
31 void final_free_player(player *pl);
32 /* item.c */
33 unsigned int query_flags(object *op);
34 void esrv_draw_look(object *pl);
35 void esrv_send_inventory(object *pl, object *op);
36 void esrv_update_item(int flags, object *pl, object *op);
37 void esrv_send_item(object *pl, object *op);
38 void esrv_del_item(player *pl, int tag);
39 object *esrv_get_ob_from_count(object *pl, tag_t count);
40 void ExamineCmd(char *buf, int len, player *pl);
41 void ApplyCmd(char *buf, int len, player *pl);
42 void LockItem(uint8 *data, int len, player *pl);
43 void MarkItem(uint8 *data, int len, player *pl);
44 void look_at(object *op, int dx, int dy);
45 void LookAt(char *buf, int len, player *pl);
46 void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof);
47 /* loop.c */
48 void RequestInfo(char *buf, int len, NewSocket *ns);
49 void Handle_Oldsocket(NewSocket *ns);
50 void HandleClient(NewSocket *ns, player *pl);
51 void watchdog(void);
52 void doeric_server(void);
53 /* lowlevel.c */
54 void SockList_Init(SockList *sl);
55 void SockList_AddChar(SockList *sl, char c);
56 void SockList_AddShort(SockList *sl, uint16 data);
57 void SockList_AddInt(SockList *sl, uint32 data);
58 void SockList_AddInt64(SockList *sl, uint64 data);
59 int GetInt_String(unsigned char *data);
60 short GetShort_String(unsigned char *data);
61 int SockList_ReadPacket(int fd, SockList *sl, int len);
62 void write_socket_buffer(NewSocket *ns);
63 void Write_To_Socket(NewSocket *ns, unsigned char *buf, int len);
64 void cs_write_string(NewSocket *ns, const char *buf, int len);
65 void Send_With_Handling(NewSocket *ns, SockList *msg);
66 void Write_String_To_Socket(NewSocket *ns, char *buf, int len);
67 void write_cs_stats(void);
68 /* metaserver.c */
69 void metaserver_init(void);
70 void metaserver_update(void);
71 /* request.c */
72 void SetUp(char *buf, int len, NewSocket *ns);
73 void AddMeCmd(char *buf, int len, NewSocket *ns);
74 void ToggleExtendedInfos(char *buf, int len, NewSocket *ns);
75 void ToggleExtendedText (char *buf, int len, NewSocket *ns);
76 void AskSmooth(char *buf, int len, NewSocket *ns);
77 void PlayerCmd(char *buf, int len, player *pl);
78 void NewPlayerCmd(uint8 *buf, int len, player *pl);
79 void ReplyCmd(char *buf, int len, player *pl);
80 void VersionCmd(char *buf, int len, NewSocket *ns);
81 void SetSound(char *buf, int len, NewSocket *ns);
82 void MapRedrawCmd(char *buff, int len, player *pl);
83 void MapNewmapCmd(player *pl);
84 void MoveCmd(char *buf, int len, player *pl);
85 void send_query(NewSocket *ns, uint8 flags, char *text);
86 void esrv_update_stats(player *pl);
87 void esrv_new_player(player *pl, uint32 weight);
88 void esrv_send_animation(NewSocket *ns, short anim_num);
89 int getExtendedMapInfoSize(NewSocket *ns);
90 void draw_client_map1(object *pl);
91 void draw_client_map(object *pl);
92 void esrv_map_scroll(NewSocket *ns, int dx, int dy);
93 void send_plugin_custom_message(object *pl, char *buf);
94 void send_skill_info(NewSocket *ns, char *params);
95 void send_spell_paths (NewSocket *ns, char *params);
96 void esrv_update_spells(player *pl);
97 void esrv_remove_spell(player *pl, object *spell);
98 void esrv_add_spells(player *pl, object *spell);
99 /* sounds.c */
100 void play_sound_player_only(player *pl, short soundnum, sint8 x, sint8 y);
101 void play_sound_map(mapstruct *map, int x, int y, short sound_num);