Crossfire Server, Trunk
|
#include "global.h"
#include <string.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 | detector_type_process (object *op) |
void | init_type_detector (void) |
static void | move_detector (object *op) |
The implementation of detector objects.
Definition in file detector.cpp.
|
static |
Processes a detector.
op | The detector to process |
METHOD_OK |
Definition at line 116 of file detector.cpp.
References METHOD_OK, move_detector(), and give::op.
Referenced by init_type_detector().
void init_type_detector | ( | void | ) |
Initializer for the detector object type.
Definition at line 33 of file detector.cpp.
References DETECTOR, detector_type_process(), and register_process().
Referenced by register_all_ob_types().
|
static |
Move a detector.
op | detector to move. |
Definition at line 49 of file detector.cpp.
References FORCE, GET_MAP_OB, llevError, LOG(), object_find_by_name(), object_find_by_type_and_slaying(), object_update_speed(), give::op, PLAYER, push_button(), SPECIAL_KEY, and Ice::tmp.
Referenced by detector_type_process().