pack anim+animflags into a single struct