version 1.9 | | version 1.10 |
---|
| | |
/* | | /* |
* static char *rcsid_glue_c = | | * static char *rcsid_glue_c = |
* "$Id: glue.c,v 1.9 2003/01/17 04:38:35 garbled Exp $"; | | * "$Id: glue.c,v 1.10 2003/03/24 06:58:07 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
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_move_apply_func move_apply_func; | | type_move_apply_func move_apply_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; |
type_func_int_map_char info_map_func; | | type_func_int_map_char info_map_func; |
| | |
update_buttons_func = dummy_function_map; | | update_buttons_func = dummy_function_map; |
draw_info_func = dummy_draw_info; | | draw_info_func = dummy_draw_info; |
move_apply_func = dummy_move_apply_func; | | move_apply_func = dummy_move_apply_func; |
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; |
info_map_func = dummy_function_mapstr; | | info_map_func = dummy_function_mapstr; |
| | |
} | | } |
| | |
/* | | /* |
* Specify which function to call to draw on the graphic-window | | |
* of a player. | | |
*/ | | |
| | |
void set_draw(type_func_ob addr) { | | |
draw_func = addr; | | |
} | | |
| | |
/* | | |
* Specify which function to call to check if a monster can | | * Specify which function to call to check if a monster can |
* apply an object. | | * apply an object. |
*/ | | */ |