<?xml version="1.0" encoding="UTF-8"?>
<oakxmlfile>
	<struct name="anim" trailing_data="true"> // 1024 total bytes
		<long name="flags"/> //8 bytes
        <short name="number_of_frames"/> //4 bytes
        <short name="ticks_per_frame"/> // 4 bytes
        <substruct struct="model_animation_frame_definition" name="model_frames" count="31" runtime_count="number_of_frames"/> // 124 bytes&gt;
        <byte count="444"/>
        <byte count="12"/>
        <tag name="forward_sound_tag" group="soun"/> // 4 bytes
        <tag name="backward_sound_tag" group="soun"/> // 4 bytes
        <byte count="56"/>
        <!--byte count="1008" /> //above bytes total 24-->
        <!--long name="get_model_animation_definition_tag_header_user_data" /-->
	</struct>
	<structedit struct="anim" layout="horizontal">
		<frame stretch="true">
			<!--left column-->
			<!--frame text="General" layout="table" stretch="true"-->
			<frame text="Frames" layout="horizontal" align="left">
				<item target="model_frames" text_target="model_tag"/>
			</frame>
			<!--right column-->
		</frame>
		<frame layout="table" stretch="true" align="right">
			<row>
				<frame text="" layout="vertical" stretch="false" align="left">
					<frame layout="horizontal">
						<label text="Ticks per frame:"/>
						<item target="ticks_per_frame"/>
					</frame>
				</frame>
			</row>
			<row>
				<frame text="Flags" layout="vertical" stretch="false" align="left">
					<item target="flags" bit="0" text="Random Initial Frame"/>
					<item target="flags" bit="1" text="Animation Cycles"/>
					<item target="flags" bit="2" text="Animates back and Forth"/>
					<item target="flags" bit="3" text="Animation Initially Running"/>
				</frame>
			</row>
			<row>
				<frame text="Sound" layout="vertical" stretch="false" align="right">
					<label text="Forward:"/>
					<item target="forward_sound_tag"/>
					<label text="Backward:"/>
					<item target="backward_sound_tag"/>
				</frame>
			</row>
		</frame>
		<!--/frame-->
	</structedit>
</oakxmlfile>
