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.38 by root, Tue May 6 16:55:26 2008 UTC vs.
Revision 1.46 by root, Mon Oct 29 23:55:54 2012 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines