1 | /* |
1 | /* |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
2 | * This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 | * |
3 | * |
4 | * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
4 | * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
5 | * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
6 | * Copyright (©) 1992,2007 Frank Tore Johansen |
7 | * |
7 | * |
8 | * Deliantra is free software: you can redistribute it and/or modify |
8 | * Deliantra is free software: you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by |
9 | * it under the terms of the GNU General Public License as published by |
… | |
… | |
18 | * You should have received a copy of the GNU General Public License |
18 | * You should have received a copy of the GNU General Public License |
19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
20 | * |
20 | * |
21 | * The authors can be reached via e-mail to <support@deliantra.net> |
21 | * The authors can be reached via e-mail to <support@deliantra.net> |
22 | */ |
22 | */ |
|
|
23 | |
|
|
24 | #ifndef LIBPROTO_H_ |
|
|
25 | #define LIBPROTO_H_ |
23 | |
26 | |
24 | /* anim.c */ |
27 | /* anim.c */ |
25 | extern void free_all_anim(); |
28 | extern void free_all_anim(); |
26 | extern void init_anim(); |
29 | extern void init_anim(); |
27 | extern int find_animation(const char *name); |
30 | extern int find_animation(const char *name); |
… | |
… | |
309 | extern void make_list_like(char *input); |
312 | extern void make_list_like(char *input); |
310 | /* loader.c */ |
313 | /* loader.c */ |
311 | extern int set_variable(object *op, char *buf); |
314 | extern int set_variable(object *op, char *buf); |
312 | extern void init_vars(); |
315 | extern void init_vars(); |
313 | extern char *get_ob_diff(object *op, object *op2); |
316 | extern char *get_ob_diff(object *op, object *op2); |
|
|
317 | |
|
|
318 | /* former funcpoint.h */ |
|
|
319 | /* |
|
|
320 | * These function-pointers are defined in common/glue.c |
|
|
321 | * The functions used to set and initialise them are also there. |
|
|
322 | * |
|
|
323 | * Massive change. Those functions are just defined, no callback, and they should be implemented. |
|
|
324 | * This means glue.c code & such can go away almost entirely. |
|
|
325 | * Ryo 2005-07-15 |
|
|
326 | */ |
|
|
327 | |
|
|
328 | extern void move_apply(object *, object *, object *); |
|
|
329 | extern void draw_info(int, int, object *, const char *); |
|
|
330 | extern void clean_tmp_files(void); |
|
|
331 | extern void fix_auto_apply(maptile *); |
|
|
332 | extern void init_blocksview_players(void); |
|
|
333 | extern void monster_check_apply(object *, object *); |
|
|
334 | extern void process_active_maps(void); |
|
|
335 | extern void remove_friendly_object(object *); |
|
|
336 | extern void update_buttons(maptile *); |
|
|
337 | extern void move_teleporter(object *); |
|
|
338 | extern void move_firewall(object *); |
|
|
339 | extern void move_creator(object *); |
|
|
340 | extern void move_marker(object *); |
|
|
341 | extern void move_duplicator(object *); |
|
|
342 | extern void trap_adjust(object *, int); |
|
|
343 | extern void esrv_send_item(object *, object *); |
|
|
344 | extern void esrv_del_item(player *, int); |
|
|
345 | extern void esrv_update_item(int, object *, object *); |
|
|
346 | extern void esrv_update_spells(player *); |
|
|
347 | extern void set_darkness_map(maptile *m); |
|
|
348 | extern void dragon_ability_gain(object *, int, int); |
|
|
349 | extern void weather_effect(const char *); |
|
|
350 | extern object * find_skill_by_number(object *, int); |
|
|
351 | |
|
|
352 | #endif |
|
|
353 | |