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.24 by root, Wed Mar 14 15:44:47 2007 UTC vs.
Revision 1.48 by root, Sat Nov 17 23:40:01 2018 UTC

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
1/* image.c */ 24/* image.c */
2int is_valid_faceset(int fsn); 25int is_valid_faceset(int fsn);
3void free_socket_images(void); 26void free_socket_images();
4void read_client_images(void); 27void read_client_images();
5void SetFaceMode(char *buf, int len, client *ns); 28void SetFaceMode(char *buf, int len, client *ns);
6void AskFaceCmd(char *buf, int len, client *ns); 29void AskFaceCmd(char *buf, int len, client *ns);
7void send_image_info(client *ns, char *params); 30void send_image_info(client *ns, char *params);
8void send_image_sums(client *ns, char *params); 31void send_image_sums(client *ns, char *params);
9/* info.c */ 32/* info.c */
10void flush_output_element(const object *pl, Output_Buf *outputs);
11void new_draw_info(int flags, int pri, const object *pl, const char *buf); 33void new_draw_info(int flags, int pri, const object *pl, const char *buf);
12void new_draw_info_format(int flags, int pri, const object *pl, const char *format, ...); 34void new_draw_info_format(int flags, int pri, const object *pl, const char *format, ...);
13void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage);
14void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...);
15void new_info_map_except(int color, maptile *map, object *op, const char *str); 35void new_info_map_except(int color, maptile *map, object *op, const char *str);
16void new_info_map_except2(int color, maptile *map, object *op1, object *op2, const char *str);
17void new_info_map(int color, maptile *map, const char *str); 36void new_info_map(int color, maptile *map, const char *str);
18void clear_win_info(object *op);
19void rangetostring(object *pl, char *obuf);
20void set_title(object *pl, char *buf); 37void set_title(object *pl, char *buf);
21void magic_mapping_mark(object *pl, char *map_mark, int strength);
22void draw_magic_map(object *pl); 38void draw_magic_map(object *pl);
23void Log_Kill(const char *Who, const char *What, int WhatType, const char *With, int WithType);
24/* init.c */ 39/* init.c */
25void init_ericserver(void); 40void init_ericserver();
26void free_all_newserver(void); 41void free_all_newserver();
27void final_free_player(player *pl); 42void final_free_player(player *pl);
28/* item.c */ 43/* item.c */
29unsigned int query_flags(object *op);
30void esrv_draw_look(object *pl); 44void esrv_draw_look(player *pl);
31void esrv_send_inventory(object *pl, object *op); 45void esrv_send_inventory(object *pl, object *op);
32void esrv_update_item(int flags, object *pl, object *op); 46void esrv_update_item(int flags, object *pl, object *op);
33void esrv_send_item(object *pl, object *op); 47void esrv_send_item(object *pl, object *op);
34void esrv_del_item(player *pl, int tag); 48void esrv_del_item(player *pl, int tag);
35object *esrv_get_ob_from_count(object *pl, tag_t count);
36void ExamineCmd(char *buf, int len, player *pl); 49void ExamineCmd(char *buf, int len, player *pl);
50void ExCmd(char *buf, int len, player *pl);
37void ApplyCmd(char *buf, int len, player *pl); 51void ApplyCmd(char *buf, int len, player *pl);
38void LockItem(char *data, int len, player *pl); 52void LockItem(char *data, int len, player *pl);
39void MarkItem(char *data, int len, player *pl); 53void MarkItem(char *data, int len, player *pl);
40void look_at(object *op, int dx, int dy);
41void LookAt(char *buf, int len, player *pl); 54void LookAt(char *buf, int len, player *pl);
42void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof); 55void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof);
43/* loop.c */ 56/* loop.c */
44void RequestInfo(char *buf, int len, client *ns); 57void RequestInfo(char *buf, int len, client *ns);
45void watchdog(void); 58void watchdog();
46void flush_sockets(void);
47void doeric_server(void);
48/* lowlevel.c */ 59/* lowlevel.c */
49void write_cs_stats(void); 60void write_cs_stats();
50/* request.c */ 61/* request.c */
51void SetUp(char *buf, int len, client *ns); 62void SetUp(char *buf, int len, client *ns);
52void AddMeCmd(char *buf, int len, client *ns); 63void AddMeCmd(char *buf, int len, client *ns);
53void ToggleExtendedInfos(char *buf, int len, client *ns); 64void ToggleExtendedInfos(char *buf, int len, client *ns);
54void ToggleExtendedText (char *buf, int len, client *ns);
55void AskSmooth(char *buf, int len, client *ns); 65void AskSmooth(char *buf, int len, client *ns);
56void PlayerCmd(char *buf, int len, player *pl); 66void PlayerCmd(char *buf, int len, player *pl);
57void NewPlayerCmd(char *buf, int len, player *pl); 67void NewPlayerCmd(char *buf, int len, player *pl);
58void ReplyCmd(char *buf, int len, client *ns); 68void ReplyCmd(char *buf, int len, client *ns);
59void VersionCmd(char *buf, int len, client *ns); 69void VersionCmd(char *buf, int len, client *ns);
61void MapRedrawCmd(char *buff, int len, player *pl); 71void MapRedrawCmd(char *buff, int len, player *pl);
62void ExtCmd(char *buff, int len, player *pl); 72void ExtCmd(char *buff, int len, player *pl);
63void ExtiCmd(char *buff, int len, client *ns); 73void ExtiCmd(char *buff, int len, client *ns);
64void MapInfoCmd(char *buff, int len, player *pl); 74void MapInfoCmd(char *buff, int len, player *pl);
65void MoveCmd(char *buf, int len, player *pl); 75void MoveCmd(char *buf, int len, player *pl);
66void send_query(client *ns, uint8 flags, char *text); 76void send_query(client *ns, uint8 flags, const char *text);
67void esrv_update_stats(player *pl); 77void esrv_update_stats(player *pl);
68void esrv_new_player(player *pl, uint32 weight); 78void esrv_new_player(player *pl);
69int getExtendedMapInfoSize(client *ns); 79int getExtendedMapInfoSize(client *ns);
70void draw_client_map(object *pl); 80void draw_client_map(player *pl);
71void draw_client_map1(object *pl);
72void send_plugin_custom_message(object *pl, char *buf);
73void send_skill_info(client *ns, char *params);
74void send_spell_paths (client *ns, char *params);
75void esrv_update_spells(player *pl); 81void esrv_update_spells(player *pl);
76void esrv_remove_spell(player *pl, object *spell); 82void esrv_remove_spell(player *pl, object *spell);
77void esrv_add_spells(player *pl, object *spell); 83void esrv_add_spells(player *pl, object *spell);
78/* sounds.c */
79void play_sound_player_only(player *pl, short soundnum, sint8 x, sint8 y);
80void play_sound_map(maptile *map, int x, int y, short sound_num);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines