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 */ |
24 | int is_valid_faceset(int fsn); |
23 | int is_valid_faceset(int fsn); |
25 | void free_socket_images(void); |
24 | void free_socket_images(void); |
… | |
… | |
60 | void LookAt(char *buf, int len, player *pl); |
59 | void LookAt(char *buf, int len, player *pl); |
61 | void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof); |
60 | void esrv_move_object(object *pl, tag_t to, tag_t tag, long nrof); |
62 | /* loop.c */ |
61 | /* loop.c */ |
63 | void RequestInfo(char *buf, int len, client *ns); |
62 | void RequestInfo(char *buf, int len, client *ns); |
64 | void watchdog(void); |
63 | void watchdog(void); |
65 | void flush_sockets(void); |
|
|
66 | void doeric_server(void); |
|
|
67 | /* lowlevel.c */ |
64 | /* lowlevel.c */ |
68 | void write_cs_stats(void); |
65 | void write_cs_stats(void); |
69 | /* request.c */ |
66 | /* request.c */ |
70 | void SetUp(char *buf, int len, client *ns); |
67 | void SetUp(char *buf, int len, client *ns); |
71 | void AddMeCmd(char *buf, int len, client *ns); |
68 | void AddMeCmd(char *buf, int len, client *ns); |
… | |
… | |
91 | void send_skill_info(client *ns, char *params); |
88 | void send_skill_info(client *ns, char *params); |
92 | void send_spell_paths (client *ns, char *params); |
89 | void send_spell_paths (client *ns, char *params); |
93 | void esrv_update_spells(player *pl); |
90 | void esrv_update_spells(player *pl); |
94 | void esrv_remove_spell(player *pl, object *spell); |
91 | void esrv_remove_spell(player *pl, object *spell); |
95 | void esrv_add_spells(player *pl, object *spell); |
92 | void esrv_add_spells(player *pl, object *spell); |
96 | /* sounds.c */ |
|
|
97 | void play_sound_player_only(player *pl, short soundnum, sint8 x, sint8 y); |
|
|
98 | void play_sound_map(maptile *map, int x, int y, short sound_num); |
|
|