Go to the source code of this file.
Data Structures | |
| struct | ob_methods |
Defines | |
| #define | METHOD_OK 0 |
| #define | METHOD_UNHANDLED 1 |
| #define | METHOD_ERROR 2 |
| #define | METHOD_SILENT_ERROR 3 |
Typedefs | |
| typedef char | method_ret |
| typedef struct ob_methods | ob_methods |
| typedef method_ret(* | apply_func )(ob_methods *, object *, object *, int) |
| typedef method_ret(* | process_func )(ob_methods *, object *) |
| typedef void(* | describe_func )(const ob_methods *, const object *, const object *, char *buf, size_t size) |
| typedef method_ret(* | move_on_func )(ob_methods *, object *, object *, object *) |
| typedef method_ret(* | trigger_func )(ob_methods *, object *, object *, int) |
Definition in file ob_methods.h.
| #define METHOD_ERROR 2 |
Definition at line 44 of file ob_methods.h.
| #define METHOD_OK 0 |
Definition at line 42 of file ob_methods.h.
| #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.
| #define METHOD_UNHANDLED 1 |
Definition at line 43 of file ob_methods.h.
| 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.
1.5.8