Crossfire Server, Trunk
|
#include <global.h>
#include <ob_methods.h>
#include <ob_types.h>
#include <sounds.h>
#include <sproto.h>
Go to the source code of this file.
Functions | |
static method_ret | cf_handle_type_apply (object *op, object *applier, int aflags) |
void | init_type_cf_handle (void) |
The implementation of the CF_Handle class of objects.
Definition in file cf_handle.c.
|
static |
Attempts to apply a handle.
op | The handle to apply |
applier | The object attempting to apply the handle. |
aflags | Special flags (always apply/unapply) |
Definition at line 49 of file cf_handle.c.
References draw_ext_info(), METHOD_OK, MSG_TYPE_APPLY, MSG_TYPE_APPLY_SUCCESS, NDI_UNIQUE, object_update(), give::op, play_sound_map(), push_button(), SET_ANIMATION, SOUND_TYPE_ITEM, UP_OBJ_FACE, and nlohmann::detail::void().
Referenced by init_type_cf_handle().
void init_type_cf_handle | ( | void | ) |
Initializer for the CF_HANDLE object type.
Definition at line 38 of file cf_handle.c.
References CF_HANDLE, cf_handle_type_apply(), and register_apply().
Referenced by register_all_ob_types().