ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/sockproto.h
Revision: 1.48
Committed: Sat Nov 17 23:40:01 2018 UTC (5 years, 5 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.47: +1 -0 lines
Log Message:
copyright update 2018

File Contents

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