|
Crossfire Server, Branch 1.12
R12190
|
The implementation of detector objects. More...
#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 | detector_type_process (ob_methods *context, object *op) |
| Processes a detector. | |
| void | init_type_detector (void) |
| Initializer for the detector object type. | |
| static void | move_detector (object *op) |
| Move a detector. | |
The implementation of detector objects.
Definition in file detector.c.
| static method_ret detector_type_process | ( | ob_methods * | context, |
| object * | op | ||
| ) | [static] |
Processes a detector.
| context | The method context, ignored |
| op | The detector to process |
| METHOD_OK |
Definition at line 128 of file detector.c.
References METHOD_OK, and move_detector().
Referenced by init_type_detector().


| void init_type_detector | ( | void | ) |
Initializer for the detector object type.
Definition at line 39 of file detector.c.
References DETECTOR, detector_type_process(), and register_process().
Referenced by register_all_ob_types().


| static void move_detector | ( | object * | op | ) | [static] |
Move a detector.
| op | detector to move. |
Definition at line 55 of file detector.c.
References FORCE, GET_MAP_OB, llevError, LOG(), PLAYER, push_button(), SPECIAL_KEY, and update_ob_speed().
Referenced by detector_type_process().


1.7.6.1