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