version 1.2 | | version 1.3 |
---|
| | |
/* | | /* |
* static char *rcsid_glue_c = | | * static char *rcsid_glue_c = |
* "$Id: glue.c,v 1.2 1999/07/13 06:02:41 cvs Exp $"; | | * "$Id: glue.c,v 1.3 2000/05/26 09:50:45 jec Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
type_func_void process_active_maps_func; | | type_func_void process_active_maps_func; |
type_func_map update_buttons_func; | | type_func_map update_buttons_func; |
type_func_int_int_ob_cchar draw_info_func; | | type_func_int_int_ob_cchar draw_info_func; |
type_int_func_ob_ob_int apply_func; | | type_move_apply_func move_apply_func; |
type_func_ob draw_func; | | type_func_ob draw_func; |
type_func_ob_ob monster_check_apply_func; | | type_func_ob_ob monster_check_apply_func; |
type_func_void init_blocksview_players_func; | | type_func_void init_blocksview_players_func; |
| | |
process_active_maps_func = dummy_function; | | process_active_maps_func = dummy_function; |
update_buttons_func = dummy_function_map; | | update_buttons_func = dummy_function_map; |
draw_info_func = dummy_draw_info; | | draw_info_func = dummy_draw_info; |
apply_func = dummy_int_function_ob_ob_int; | | move_apply_func = dummy_move_apply_func; |
draw_func = dummy_function_ob; | | draw_func = dummy_function_ob; |
monster_check_apply_func = dummy_function_ob2; | | monster_check_apply_func = dummy_function_ob2; |
init_blocksview_players_func = dummy_function; | | init_blocksview_players_func = dummy_function; |
| | |
* Specify which function to call to apply an object. | | * Specify which function to call to apply an object. |
*/ | | */ |
| | |
void set_apply(type_int_func_ob_ob_int addr) { | | void set_move_apply(type_move_apply_func addr) { |
apply_func = addr; | | move_apply_func = addr; |
} | | } |
| | |
/* | | /* |
| | |
void dummy_function_int_ob_ob (int n, object *ob, object *ob2) { | | void dummy_function_int_ob_ob (int n, object *ob, object *ob2) { |
} | | } |
| | |
int dummy_int_function_ob_ob_int (object *ob, object *ob2, int n) { | | void dummy_move_apply_func (object *ob, object *ob2, object *ob3) { |
return 0; | | |
} | | } |
| | |
#endif | | #endif |