version 1.7 | | version 1.8 |
---|
| | |
/* | | /* |
* static char *rcsid_glue_c = | | * static char *rcsid_glue_c = |
* "$Id: glue.c,v 1.7 2002/07/15 04:25:39 mwedel Exp $"; | | * "$Id: glue.c,v 1.8 2002/11/08 08:50:44 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
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; | | type_func_dragon_gain dragon_gain_func; |
| | type_func_char weather_effect_func; |
| | |
static char *fatalmsgs[80]={ | | static char *fatalmsgs[80]={ |
"Failed to allocate memory", | | "Failed to allocate memory", |
| | |
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; | | dragon_gain_func = dummy_function_dragongain; |
| | weather_effect_func = dummy_function_char; |
} | | } |
| | |
/* | | /* |
| | |
dragon_gain_func = addr; | | dragon_gain_func = addr; |
} | | } |
| | |
| | void set_weather_effect_func(type_func_char addr) { |
| | weather_effect_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_function_dragongain (object *ob, int a1, int a2) { | | void dummy_function_dragongain (object *ob, int a1, int a2) { |
} | | } |
| | |
#endif | | void dummy_function_char (char *filename) { |
| | } |
| | |
| | #endif |