version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_funcpoint_h = | | * static char *rcsid_funcpoint_h = |
* "$Id: funcpoint.h,v 1.13 2005/07/17 11:00:04 ryo_saeba Exp $"; | | * "$Id: funcpoint.h,v 1.14 2005/08/12 13:46:34 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
#define FUNCPOINT_H | | #define FUNCPOINT_H |
| | |
/* | | /* |
* Some function types | | |
*/ | | |
| | |
typedef void (*type_move_apply_func) (object *, object *, object *); | | |
typedef void (*type_func_int)(int); | | |
typedef void (*type_func_int_int)(int,int); | | |
typedef void (*type_func_void)(void); | | |
typedef void (*type_func_map)(mapstruct *); | | |
typedef void (*type_func_map_char)(mapstruct *, char *); | | |
typedef void (*type_func_int_map_char)(int, mapstruct *, char *); | | |
typedef void (*type_func_ob)(object *); | | |
typedef void (*type_func_ob_char)(object *, char *); | | |
typedef void (*type_func_ob_cchar)(object *, const char *); | | |
typedef void (*type_func_int_int_ob_cchar)(int, int, object *, const char *); | | |
typedef void (*type_func_ob_ob)(object *, object *); | | |
typedef void (*type_func_ob_int)(object *, int); | | |
typedef int (*type_int_func_ob_ob)(object *, object *); | | |
typedef void (*type_func_char_int)(char *, int); | | |
typedef void (*type_func_int_ob_ob)(int, object *, object *); | | |
typedef void (*type_func_player_int)(player *, int); | | |
typedef void (*type_func_dragon_gain)(object *who, int atnr, int level); | | |
typedef void (*type_func_char)(char *); | | |
typedef object* (*type_ob_func_ob_int)(object *, int); | | |
| | |
/* | | |
* These function-pointers are defined in common/glue.c | | * These function-pointers are defined in common/glue.c |
* The functions used to set and initialise them are also there. | | * The functions used to set and initialise them are also there. |
* | | * |
| | |
extern void process_active_maps(); | | extern void process_active_maps(); |
extern void remove_friendly_object(object *); | | extern void remove_friendly_object(object *); |
extern void update_buttons(mapstruct *); | | extern void update_buttons(mapstruct *); |
extern void info_map(int, mapstruct *, char *); | | |
extern void move_teleporter(object *); | | extern void move_teleporter(object *); |
extern void move_firewall(object *); | | extern void move_firewall(object *); |
extern void move_creator(object *); | | extern void move_creator(object *); |