version 1.2 | | version 1.3 |
---|
| | |
/* | | /* |
* static char *rcsid_funcpoint_h = | | * static char *rcsid_funcpoint_h = |
* "$Id: funcpoint.h,v 1.2 1999/07/13 06:02:52 cvs Exp $"; | | * "$Id: funcpoint.h,v 1.3 2000/05/26 09:50:47 jec Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
/* | | /* |
* Some function types | | * Some function types |
*/ | | */ |
| | typedef void (*type_move_apply_func) (object *, object *, object *); |
typedef void (*type_func_int)(int); | | typedef void (*type_func_int)(int); |
typedef void (*type_func_int_int)(int,int); | | typedef void (*type_func_int_int)(int,int); |
typedef void (*type_func_void)(void); | | typedef void (*type_func_void)(void); |
| | |
typedef int (*type_int_func_ob_ob)(object *, object *); | | typedef int (*type_int_func_ob_ob)(object *, object *); |
typedef void (*type_func_char_int)(char *, int); | | typedef void (*type_func_char_int)(char *, int); |
typedef void (*type_func_int_ob_ob)(int, object *, object *); | | typedef void (*type_func_int_ob_ob)(int, object *, object *); |
typedef int (*type_int_func_ob_ob_int)(object *, object *,int); | | |
typedef void (*type_func_player_int)(player *, int); | | typedef void (*type_func_player_int)(player *, 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 int (*apply_func) (object *, object *, int); | | extern void (*move_apply_func) (object *, object *, object *); |
extern void (*draw_func) (object *); | | extern void (*draw_func) (object *); |
extern void (*draw_info_func) (int, int, object *, const char *); | | extern void (*draw_info_func) (int, int, object *, const char *); |
extern void (*emergency_save_func) (int); | | extern void (*emergency_save_func) (int); |