Go to the documentation of this file.
66 if (
op->map == NULL) {
67 LOG(
llevError,
"mood floor not in a map but in %s\n",
op->env ?
op->env->name :
"null??");
80 switch (
op->last_sp) {
87 tmp->attack_movement = 0;
129 if (tmp2->
above == NULL)
#define GET_MAP_OB(M, X, Y)
object * object_get_owner(object *op)
void object_clear_owner(object *op)
void remove_friendly_object(object *op)
void LOG(LogLevel logLevel, const char *format,...)
static void do_mood_floor(object *op, object *op2)
#define QUERY_FLAG(xyz, p)
void object_set_enemy(object *op, object *enemy)
void object_set_owner(object *op, object *owner)
void register_process(int ob_type, process_func method)
void init_type_mood_floor(void)
static method_ret mood_floor_type_trigger(object *op, object *cause, int state)
object * ranges[range_size]
void object_update_speed(object *op)
static method_ret mood_floor_type_process(object *op)
#define FLAG_UNAGGRESSIVE
object * map_find_by_flag(mapstruct *map, int x, int y, int flag)
void register_trigger(int ob_type, trigger_func method)
void add_friendly_object(object *op)
#define CLEAR_FLAG(xyz, p)