version 1.5 | | version 1.6 |
---|
| | |
/* | | /* |
* static char *rcsid_glue_c = | | * static char *rcsid_glue_c = |
* "$Id: glue.c,v 1.5 2001/12/18 08:58:03 garbled Exp $"; | | * "$Id: glue.c,v 1.6 2002/03/01 21:33:09 avogl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
type_func_player_int esrv_del_item_func; | | type_func_player_int esrv_del_item_func; |
type_func_int_ob_ob esrv_update_item_func; | | type_func_int_ob_ob esrv_update_item_func; |
type_func_map set_darkness_map_func; | | type_func_map set_darkness_map_func; |
| | type_func_dragon_gain dragon_gain_func; |
| | |
static char *fatalmsgs[80]={ | | static char *fatalmsgs[80]={ |
"Failed to allocate memory", | | "Failed to allocate memory", |
| | |
esrv_del_item_func = dummy_function_player_int; | | esrv_del_item_func = dummy_function_player_int; |
esrv_update_item_func = dummy_function_int_ob_ob; | | esrv_update_item_func = dummy_function_int_ob_ob; |
set_darkness_map_func = dummy_function_map; | | set_darkness_map_func = dummy_function_map; |
| | dragon_gain_func = dummy_function_dragongain; |
} | | } |
| | |
/* | | /* |
| | |
set_darkness_map_func = addr; | | set_darkness_map_func = addr; |
} | | } |
| | |
| | void set_dragon_gain_func(type_func_dragon_gain addr) { |
| | dragon_gain_func = addr; |
| | } |
| | |
/* | | /* |
* fatal() is meant to be called whenever a fatal signal is intercepted. | | * fatal() is meant to be called whenever a fatal signal is intercepted. |
* It will call the emergency_save and the clean_tmp_files functions. | | * It will call the emergency_save and the clean_tmp_files functions. |
| | |
void dummy_move_apply_func (object *ob, object *ob2, object *ob3) { | | void dummy_move_apply_func (object *ob, object *ob2, object *ob3) { |
} | | } |
| | |
| | void dummy_function_dragongain (object *ob, int a1, int a2) { |
| | } |
| | |
#endif | | #endif |
| | |