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.30 by root, Sun Jun 3 17:05:36 2007 UTC vs.
Revision 1.36 by root, Tue Apr 22 07:01:47 2008 UTC

1/* 1/*
2 * This file is part of Crossfire TRT, the Multiplayer Online Role Playing Game. 2 * This file is part of Deliantra, the Roguelike Realtime MMORPG.
3 * 3 *
4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Crossfire TRT team 4 * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team
5 * 5 *
6 * Crossfire TRT is free software; you can redistribute it and/or modify it 6 * Deliantra is free software: you can redistribute it and/or modify
7 * under the terms of the GNU General Public License as published by the Free 7 * it under the terms of the GNU General Public License as published by
8 * Software Foundation; either version 2 of the License, or (at your option) 8 * the Free Software Foundation, either version 3 of the License, or
9 * any later version. 9 * (at your option) any later version.
10 * 10 *
11 * This program is distributed in the hope that it will be useful, but 11 * This program is distributed in the hope that it will be useful,
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * 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 along 16 * You should have received a copy of the GNU General Public License
17 * with Crossfire TRT; if not, write to the Free Software Foundation, Inc. 51 17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 * 18 *
20 * The authors can be reached via e-mail to <crossfire@schmorp.de> 19 * The authors can be reached via e-mail to <support@deliantra.net>
21 */ 20 */
22 21
23/* image.c */ 22/* image.c */
24int is_valid_faceset(int fsn); 23int is_valid_faceset(int fsn);
25void free_socket_images(void); 24void free_socket_images(void);
34void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage); 33void draw_ext_info(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* message,const char* oldmessage);
35void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...); 34void draw_ext_info_format(int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char* old_format, char* new_format, ...);
36void 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);
37void new_info_map_except2(int color, maptile *map, object *op1, object *op2, const char *str); 36void new_info_map_except2(int color, maptile *map, object *op1, object *op2, const char *str);
38void new_info_map(int color, maptile *map, const char *str); 37void new_info_map(int color, maptile *map, const char *str);
39void clear_win_info(object *op);
40void set_title(object *pl, char *buf); 38void set_title(object *pl, char *buf);
41void magic_mapping_mark(object *pl, char *map_mark, int strength); 39void magic_mapping_mark(object *pl, char *map_mark, int strength);
42void draw_magic_map(object *pl); 40void draw_magic_map(object *pl);
43void Log_Kill(const char *Who, const char *What, int WhatType, const char *With, int WithType); 41void Log_Kill(const char *Who, const char *What, int WhatType, const char *With, int WithType);
44/* init.c */ 42/* init.c */
56void ExamineCmd(char *buf, int len, player *pl); 54void ExamineCmd(char *buf, int len, player *pl);
57void ExCmd(char *buf, int len, player *pl); 55void ExCmd(char *buf, int len, player *pl);
58void ApplyCmd(char *buf, int len, player *pl); 56void ApplyCmd(char *buf, int len, player *pl);
59void LockItem(char *data, int len, player *pl); 57void LockItem(char *data, int len, player *pl);
60void MarkItem(char *data, int len, player *pl); 58void MarkItem(char *data, int len, player *pl);
61void look_at(object *op, int dx, int dy);
62void LookAt(char *buf, int len, player *pl); 59void LookAt(char *buf, int len, player *pl);
63void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof); 60void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof);
64/* loop.c */ 61/* loop.c */
65void RequestInfo(char *buf, int len, client *ns); 62void RequestInfo(char *buf, int len, client *ns);
66void watchdog(void); 63void watchdog(void);
67void flush_sockets(void);
68void doeric_server(void);
69/* lowlevel.c */ 64/* lowlevel.c */
70void write_cs_stats(void); 65void write_cs_stats(void);
71/* request.c */ 66/* request.c */
72void SetUp(char *buf, int len, client *ns); 67void SetUp(char *buf, int len, client *ns);
73void AddMeCmd(char *buf, int len, client *ns); 68void AddMeCmd(char *buf, int len, client *ns);
84void ExtiCmd(char *buff, int len, client *ns); 79void ExtiCmd(char *buff, int len, client *ns);
85void MapInfoCmd(char *buff, int len, player *pl); 80void MapInfoCmd(char *buff, int len, player *pl);
86void MoveCmd(char *buf, int len, player *pl); 81void MoveCmd(char *buf, int len, player *pl);
87void send_query(client *ns, uint8 flags, const char *text); 82void send_query(client *ns, uint8 flags, const char *text);
88void esrv_update_stats(player *pl); 83void esrv_update_stats(player *pl);
89void esrv_new_player(player *pl, uint32 weight); 84void esrv_new_player(player *pl);
90int getExtendedMapInfoSize(client *ns); 85int getExtendedMapInfoSize(client *ns);
91void draw_client_map(player *pl); 86void draw_client_map(player *pl);
92void send_plugin_custom_message(object *pl, char *buf); 87void send_plugin_custom_message(object *pl, char *buf);
93void send_skill_info(client *ns, char *params); 88void send_skill_info(client *ns, char *params);
94void send_spell_paths (client *ns, char *params); 89void send_spell_paths (client *ns, char *params);
95void esrv_update_spells(player *pl); 90void esrv_update_spells(player *pl);
96void esrv_remove_spell(player *pl, object *spell); 91void esrv_remove_spell(player *pl, object *spell);
97void esrv_add_spells(player *pl, object *spell); 92void esrv_add_spells(player *pl, object *spell);
98/* sounds.c */
99void play_sound_player_only(player *pl, short soundnum, sint8 x, sint8 y);
100void play_sound_map(maptile *map, int x, int y, short sound_num);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines