Go to the documentation of this file.
46 uint16_t oldface =
op->face->number;
62 dir =
op->head->direction;
65 op->state =
op->head->state;
102 if (
op->state >= max_state) {
104 if (
op->temp_animation) {
105 op->temp_animation = 0;
121 if (
op->face->number == 0) {
137 if (!
op->head && (oldface !=
op->face->number))
157 if (
who->temp_animation)
166 for (; head != NULL; head = head->
more) {
177 fprintf(stderr,
"%5d %50s %5d\n",
anim->num,
anim->name,
anim->num_animations);
184 fprintf(stderr,
"id name faces\n");
StringBuffer * stringbuffer_new(void)
void object_update(object *op, int action)
#define QUERY_FLAG(xyz, p)
static void do_anim(const Animations *anim)
void animations_for_each(anim_op op)
#define SET_ANIMATION(ob, newanim)
void animate_object(object *op, int dir)
void object_dump(const object *op, StringBuffer *sb)
char * stringbuffer_finish(StringBuffer *sb)
const Animations * animation
Animations * try_find_animation(const char *name)
const Animations * temp_animation
void apply_anim_suffix(object *who, const char *suffix)
void LOG(LogLevel logLevel, const char *format,...)
void dump_animations(void)
#define CLEAR_FLAG(xyz, p)
#define NUM_ANIMATIONS(ob)