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