34 methods->
apply = NULL;
52 for (tmp = 0; tmp < OBJECT_TYPE_MAX; tmp++)
63 type_methods[ob_type].
apply = method;
72 type_methods[ob_type].
process = method;
81 type_methods[ob_type].
describe = method;
90 type_methods[ob_type].
move_on = method;
99 type_methods[ob_type].
trigger = method;
void init_ob_types(ob_methods *base_type)
ob_methods type_methods[OBJECT_TYPE_MAX]
void init_ob_method_struct(ob_methods *methods, ob_methods *fallback)
void register_describe(int ob_type, describe_func method)
void(* describe_func)(const ob_methods *, const object *, const object *, int use_media_tags, char *buf, size_t size)
struct ob_methods * fallback
void register_move_on(int ob_type, move_on_func method)
void register_apply(int ob_type, apply_func method)
void register_trigger(int ob_type, trigger_func method)
method_ret(* process_func)(ob_methods *, object *)
method_ret(* apply_func)(ob_methods *, object *, object *, int)
method_ret(* trigger_func)(ob_methods *, object *, object *, int)
void register_process(int ob_type, process_func method)
static ob_methods base_type
method_ret(* move_on_func)(ob_methods *, object *, object *, object *)