Go to the documentation of this file.
47 uint16_t oldface =
op->face->number;
63 dir =
op->head->direction;
66 op->state =
op->head->state;
103 if (
op->state >= max_state) {
105 if (
op->temp_animation) {
106 op->temp_animation = 0;
122 if (
op->face->number == 0) {
125 }
else if (
op->temp_animation ?
op->temp_animation->has_blank :
op->animation->has_blank) {
138 if (!
op->head && (oldface !=
op->face->number))
158 if (
who->temp_animation)
167 for (; head != NULL; head = head->
more) {
181 fprintf(stderr,
"id name faces\n");
183 anim->num_animations,
anim->has_blank ?
" (with blank)" :
""); });
void LOG(LogLevel logLevel, const char *format,...)
#define QUERY_FLAG(xyz, p)
StringBuffer * stringbuffer_new(void)
AllAnimations * animations()
#define SET_ANIMATION(ob, newanim)
AssetsManager * getManager()
char * stringbuffer_finish(StringBuffer *sb)
void object_update(object *op, int action)
void object_dump(const object *op, StringBuffer *sb)
void apply_anim_suffix(object *who, const char *suffix)
void each(std::function< void(T *)> op)
const Animations * animation
Animations * try_find_animation(const char *name)
void animate_object(object *op, int dir)
#define CLEAR_FLAG(xyz, p)
#define NUM_ANIMATIONS(ob)
void dump_animations(void)
const Animations * temp_animation