Go to the documentation of this file.
57 LOG(
llevError,
"Detector with no slaying set at %s (%d,%d)\n",
op->map->path,
op->x,
op->y);
75 if (
op->slaying ==
tmp->name) {
79 if (
tmp->type ==
PLAYER && !strcmp(
op->slaying,
"player")) {
90 if (
op->stats.sp == 1) {
91 if (detected && last == 0) {
95 if (!detected && last == 1) {
100 if (detected && last == 1) {
104 if (!detected && last == 0) {
static void move_detector(object *op)
#define GET_MAP_OB(M, X, Y)
void register_process(int ob_type, process_func method)
object * object_find_by_type_and_slaying(const object *who, int type, const char *slaying)
void LOG(LogLevel logLevel, const char *format,...)
void object_update_speed(object *op)
object * object_find_by_name(const object *who, const char *name)
void init_type_detector(void)
static method_ret detector_type_process(object *op)