ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/sockproto.h
Revision: 1.37
Committed: Tue May 6 16:44:54 2008 UTC (16 years ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.36: +0 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 /*
2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 *
6 * Deliantra is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 *
19 * The authors can be reached via e-mail to <support@deliantra.net>
20 */
21
22 /* image.c */
23 int is_valid_faceset(int fsn);
24 void free_socket_images(void);
25 void read_client_images(void);
26 void SetFaceMode(char *buf, int len, client *ns);
27 void AskFaceCmd(char *buf, int len, client *ns);
28 void send_image_info(client *ns, char *params);
29 void send_image_sums(client *ns, char *params);
30 /* info.c */
31 void new_draw_info(int flags, int pri, const object *pl, const char *buf);
32 void new_draw_info_format(int flags, int pri, const object *pl, const char *format, ...);
33 void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage);
34 void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...);
35 void new_info_map_except(int color, maptile *map, object *op, const char *str);
36 void new_info_map_except2(int color, maptile *map, object *op1, object *op2, const char *str);
37 void new_info_map(int color, maptile *map, const char *str);
38 void set_title(object *pl, char *buf);
39 void magic_mapping_mark(object *pl, char *map_mark, int strength);
40 void draw_magic_map(object *pl);
41 /* init.c */
42 void init_ericserver(void);
43 void free_all_newserver(void);
44 void final_free_player(player *pl);
45 /* item.c */
46 unsigned int query_flags(object *op);
47 void esrv_draw_look(player *pl);
48 void esrv_send_inventory(object *pl, object *op);
49 void esrv_update_item(int flags, object *pl, object *op);
50 void esrv_send_item(object *pl, object *op);
51 void esrv_del_item(player *pl, int tag);
52 object *esrv_get_ob_from_count(object *pl, tag_t count);
53 void ExamineCmd(char *buf, int len, player *pl);
54 void ExCmd(char *buf, int len, player *pl);
55 void ApplyCmd(char *buf, int len, player *pl);
56 void LockItem(char *data, int len, player *pl);
57 void MarkItem(char *data, int len, player *pl);
58 void LookAt(char *buf, int len, player *pl);
59 void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof);
60 /* loop.c */
61 void RequestInfo(char *buf, int len, client *ns);
62 void watchdog(void);
63 /* lowlevel.c */
64 void write_cs_stats(void);
65 /* request.c */
66 void SetUp(char *buf, int len, client *ns);
67 void AddMeCmd(char *buf, int len, client *ns);
68 void ToggleExtendedInfos(char *buf, int len, client *ns);
69 void ToggleExtendedText (char *buf, int len, client *ns);
70 void AskSmooth(char *buf, int len, client *ns);
71 void PlayerCmd(char *buf, int len, player *pl);
72 void NewPlayerCmd(char *buf, int len, player *pl);
73 void ReplyCmd(char *buf, int len, client *ns);
74 void VersionCmd(char *buf, int len, client *ns);
75 void SetSound(char *buf, int len, client *ns);
76 void MapRedrawCmd(char *buff, int len, player *pl);
77 void ExtCmd(char *buff, int len, player *pl);
78 void ExtiCmd(char *buff, int len, client *ns);
79 void MapInfoCmd(char *buff, int len, player *pl);
80 void MoveCmd(char *buf, int len, player *pl);
81 void send_query(client *ns, uint8 flags, const char *text);
82 void esrv_update_stats(player *pl);
83 void esrv_new_player(player *pl);
84 int getExtendedMapInfoSize(client *ns);
85 void draw_client_map(player *pl);
86 void send_plugin_custom_message(object *pl, char *buf);
87 void send_skill_info(client *ns, char *params);
88 void send_spell_paths (client *ns, char *params);
89 void esrv_update_spells(player *pl);
90 void esrv_remove_spell(player *pl, object *spell);
91 void esrv_add_spells(player *pl, object *spell);