1 |
root |
1.1 |
/* |
2 |
|
|
* static char *rcsid_funcpoint_h = |
3 |
|
|
* "$Id: funcpoint.h,v 1.16 2006/01/09 19:35:12 cavesomething Exp $"; |
4 |
|
|
*/ |
5 |
|
|
|
6 |
|
|
/* |
7 |
|
|
CrossFire, A Multiplayer game for X-windows |
8 |
|
|
|
9 |
|
|
Copyright (C) 1992 Frank Tore Johansen |
10 |
|
|
|
11 |
|
|
This program is free software; you can redistribute it and/or modify |
12 |
|
|
it under the terms of the GNU General Public License as published by |
13 |
|
|
the Free Software Foundation; either version 2 of the License, or |
14 |
|
|
(at your option) any later version. |
15 |
|
|
|
16 |
|
|
This program is distributed in the hope that it will be useful, |
17 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 |
|
|
GNU General Public License for more details. |
20 |
|
|
|
21 |
|
|
You should have received a copy of the GNU General Public License |
22 |
|
|
along with this program; if not, write to the Free Software |
23 |
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
24 |
|
|
|
25 |
|
|
The author can be reached via e-mail to mark@pyramid.com. |
26 |
|
|
|
27 |
|
|
This file was made after an idea by vidarl@ifi.uio.no |
28 |
|
|
*/ |
29 |
|
|
|
30 |
|
|
#ifndef FUNCPOINT_H |
31 |
|
|
#define FUNCPOINT_H |
32 |
|
|
|
33 |
|
|
/* |
34 |
|
|
* These function-pointers are defined in common/glue.c |
35 |
|
|
* The functions used to set and initialise them are also there. |
36 |
|
|
* |
37 |
|
|
* Massive change. Those functions are just defined, no callback, and they should be implemented. |
38 |
|
|
* This means glue.c code & such can go away almost entirely. |
39 |
|
|
* Ryo 2005-07-15 |
40 |
|
|
*/ |
41 |
|
|
|
42 |
|
|
extern void move_apply(object *, object *, object *); |
43 |
|
|
extern void draw_info(int, int, object *, const char *); |
44 |
|
|
extern void emergency_save(int); |
45 |
|
|
extern void clean_tmp_files(void); |
46 |
|
|
extern void fix_auto_apply(mapstruct *); |
47 |
|
|
extern void init_blocksview_players(void); |
48 |
|
|
extern void monster_check_apply(object *, object *); |
49 |
|
|
extern void process_active_maps(void); |
50 |
|
|
extern void remove_friendly_object(object *); |
51 |
|
|
extern void update_buttons(mapstruct *); |
52 |
|
|
extern void move_teleporter(object *); |
53 |
|
|
extern void move_firewall(object *); |
54 |
|
|
extern void move_creator(object *); |
55 |
|
|
extern void move_marker(object *); |
56 |
|
|
extern void move_duplicator(object *); |
57 |
|
|
extern void trap_adjust(object *, int); |
58 |
|
|
extern void esrv_send_item(object *, object *); |
59 |
|
|
extern void esrv_del_item(player *, int); |
60 |
|
|
extern void esrv_update_item(int, object *, object *); |
61 |
|
|
extern void esrv_update_spells(player *); |
62 |
|
|
extern void set_darkness_map(mapstruct *m); |
63 |
|
|
extern void dragon_ability_gain(object *, int, int); |
64 |
|
|
extern void weather_effect(const char *); |
65 |
|
|
extern object * find_skill_by_number(object *, int); |
66 |
|
|
|
67 |
|
|
#endif |