Crossfire Server, Branches 1.12
R18729
|
Go to the source code of this file.
Data Structures | |
struct | ob_methods |
Macros | |
#define | METHOD_ERROR 2 |
#define | METHOD_OK 0 |
#define | METHOD_SILENT_ERROR 3 |
#define | METHOD_UNHANDLED 1 |
Typedefs | |
typedef method_ret(* | apply_func )(ob_methods *, object *, object *, int) |
typedef void(* | describe_func )(const ob_methods *, const object *, const object *, char *buf, size_t size) |
typedef char | method_ret |
typedef method_ret(* | move_on_func )(ob_methods *, object *, object *, object *) |
typedef struct ob_methods | ob_methods |
typedef method_ret(* | process_func )(ob_methods *, object *) |
typedef method_ret(* | trigger_func )(ob_methods *, object *, object *, int) |
Object type functions and variables.
Definition in file ob_methods.h.
#define METHOD_ERROR 2 |
Definition at line 44 of file ob_methods.h.
Referenced by altar_type_move_on(), arrow_type_process(), button_type_move_on(), check_inv_type_move_on(), common_ob_move_on(), common_pre_ob_move_on(), common_process_projectile(), common_projectile_move_on(), common_trap_type_move_on(), container_type_move_on(), converter_type_move_on(), deep_swamp_type_move_on(), director_type_move_on(), exit_type_apply(), exit_type_move_on(), hole_type_move_on(), identify_altar_type_move_on(), lamp_type_apply(), legacy_ob_apply(), pedestal_type_move_on(), player_apply(), player_mover_type_move_on(), poisoning_type_process(), potion_type_apply(), shop_mat_type_move_on(), sign_type_move_on(), spell_effect_type_move_on(), spinner_type_move_on(), thrown_object_type_process(), trapdoor_type_move_on(), trigger_altar_type_move_on(), trigger_button_type_move_on(), trigger_pedestal_type_move_on(), and weapon_improver_type_apply().
#define METHOD_OK 0 |
Definition at line 42 of file ob_methods.h.
Referenced by altar_type_move_on(), armour_improver_type_apply(), arrow_type_process(), blindness_type_process(), book_type_apply(), button_type_move_on(), cf_handle_type_apply(), check_inv_type_move_on(), clock_type_apply(), common_ob_move_on(), common_pre_ob_move_on(), common_process_projectile(), common_projectile_move_on(), common_trap_type_move_on(), common_trap_type_process(), container_type_move_on(), converter_type_move_on(), creator_type_process(), creator_type_trigger(), deep_swamp_type_move_on(), deep_swamp_type_process(), detector_type_process(), director_type_move_on(), duplicator_type_trigger(), exit_type_apply(), exit_type_move_on(), food_type_apply(), gate_type_process(), hole_type_move_on(), identify_altar_type_move_on(), lamp_type_apply(), legacy_ob_apply(), legacy_ob_process(), lighter_type_apply(), manual_apply(), marker_type_process(), marker_type_trigger(), mood_floor_type_process(), mood_floor_type_trigger(), peacemaker_type_process(), pedestal_type_move_on(), player_apply(), player_apply_below(), player_changer_type_process(), player_mover_type_move_on(), poison_type_apply(), poisoning_type_process(), potion_type_apply(), power_crystal_type_apply(), process_object(), savebed_type_apply(), scroll_type_apply(), shop_inventory_type_apply(), shop_mat_type_move_on(), sign_type_apply(), sign_type_move_on(), skillscroll_type_apply(), spell_effect_type_move_on(), spell_effect_type_process(), spellbook_type_apply(), spinner_type_move_on(), teleporter_type_process(), teleporter_type_trigger(), thrown_object_type_process(), timed_gate_type_process(), trapdoor_type_move_on(), treasure_type_apply(), trigger_altar_type_move_on(), trigger_button_type_move_on(), trigger_pedestal_type_move_on(), trigger_type_process(), and weapon_improver_type_apply().
#define METHOD_SILENT_ERROR 3 |
Player was warned she can't use the item for now.
Definition at line 45 of file ob_methods.h.
Referenced by manual_apply(), and player_apply().
#define METHOD_UNHANDLED 1 |
Definition at line 43 of file ob_methods.h.
Referenced by armour_improver_type_apply(), book_type_apply(), clock_type_apply(), legacy_ob_apply(), legacy_ob_process(), lighter_type_apply(), ob_apply(), ob_move_on(), ob_process(), ob_trigger(), player_apply(), and shop_inventory_type_apply().
typedef method_ret(* apply_func)(ob_methods *, object *, object *, int) |
Definition at line 66 of file ob_methods.h.
typedef void(* describe_func)(const ob_methods *, const object *, const object *, char *buf, size_t size) |
Definition at line 68 of file ob_methods.h.
typedef char method_ret |
Define some standard return values for callbacks which don't need to return any other results. Later this might be expanded into a more complex return value system if necessary
Definition at line 41 of file ob_methods.h.
typedef method_ret(* move_on_func)(ob_methods *, object *, object *, object *) |
Definition at line 69 of file ob_methods.h.
typedef struct ob_methods ob_methods |
Definition at line 65 of file ob_methods.h.
typedef method_ret(* process_func)(ob_methods *, object *) |
Definition at line 67 of file ob_methods.h.
typedef method_ret(* trigger_func)(ob_methods *, object *, object *, int) |
Definition at line 70 of file ob_methods.h.