Crossfire Server, Branches 1.12  R18729
cf_handle.c File Reference
#include <global.h>
#include <ob_methods.h>
#include <ob_types.h>
#include <sounds.h>
#include <sproto.h>
+ Include dependency graph for cf_handle.c:

Go to the source code of this file.

Functions

static method_ret cf_handle_type_apply (ob_methods *context, object *op, object *applier, int aflags)
 
void init_type_cf_handle (void)
 

Detailed Description

The implementation of the CF_Handle class of objects.

Definition in file cf_handle.c.

Function Documentation

static method_ret cf_handle_type_apply ( ob_methods context,
object op,
object applier,
int  aflags 
)
static

Attempts to apply a handle.

Parameters
contextThe method context
opThe handle to apply
applierThe object attempting to apply the handle.
aflagsSpecial flags (always apply/unapply)
Returns
The return value is always METHOD_OK

Definition at line 50 of file cf_handle.c.

References draw_ext_info(), METHOD_OK, MSG_TYPE_APPLY, MSG_TYPE_APPLY_SUCCESS, NDI_UNIQUE, play_sound_map(), push_button(), SET_ANIMATION, SOUND_TYPE_ITEM, UP_OBJ_FACE, update_object(), and obj::value.

Referenced by init_type_cf_handle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: