1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" />
7    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48    <title>nw::lyt::res::AnimationBlock</title>
49  </head>
50  <body>
51    <h1><CODE><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/lyt/Overview.html">lyt</a>::<a href="../../../../nw/lyt/res/Overview.html">res</a>::AnimationBlock</CODE> Structure</h1>
52    <h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">struct AnimationBlock
55{
56   <a href="../../../../nw/ut/BinaryBlockHeader/Overview.html">ut::BinaryBlockHeader</a> blockHeader;
57   <a href="../../../../nw/ut/ResU16.html">ut::ResU16</a> frameSize;
58   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> loop;
59   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> padding[1];
60   <a href="../../../../nw/ut/ResU16.html">ut::ResU16</a> fileNum;
61   <a href="../../../../nw/ut/ResU16.html">ut::ResU16</a> animContNum;
62   <a href="../../../../nw/ut/ResU32.html">ut::ResU32</a> animContOffsetsOffset;
63};
64</pre>
65    </div>
66    <h2>Description</h2>
67    <div class="section">
68      <p>Data block for defining an animation.</p><p><a href="../../../../nw/lyt/res/DATABLOCKKIND_PANEANIMINFO.html">res::DATABLOCKKIND_PANEANIMINFO</a> is specified for <CODE>kind</CODE> in <CODE>blockHeader</CODE>. </p><p>The following data structure follows this structure.</p><p>・ <a href="../../../../nw/ut/ResU32.html">ut::ResU32</a> fileNameOffsets[fileNum]<br /> ・ u8 namePool[]<br /> ・ <a href="../../../../nw/ut/ResU32.html">ut::ResU32</a> animContOffsets[animContNum]<br /> ・ <a href="../../../../nw/lyt/res/AnimationContent/Overview.html">AnimationContent</a> animCont0<br /> ・ …</p><p>The structure stores offsets to the texture resource names being referenced (from fileNameOffsets) in the fileNameOffsets array.</p><p>The structure stores offsets to the animation content (from the start of the data block) in the animContOffsets array.</p></div>
69    <a name="variable" id="variable">
70      <h2>Member Variables</h2>
71      <div class="section">
72        <table class="members">
73          <tr>
74            <td width="100"> </td>
75            <th>
76              <span class="argument">blockHeader</span>
77            </th>
78            <td width="100"><a href="../../../../nw/ut/BinaryBlockHeader/Overview.html">ut::BinaryBlockHeader</a></td>
79            <td>Header.</td>
80          </tr>
81          <tr>
82            <td width="100"> </td>
83            <th>
84              <span class="argument">frameSize</span>
85            </th>
86            <td width="100"><a href="../../../../nw/ut/ResU16.html">ut::ResU16</a></td>
87            <td>The number of frames.</td>
88          </tr>
89          <tr>
90            <td width="100"> </td>
91            <th>
92              <span class="argument">loop</span>
93            </th>
94            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
95            <td>Stores 1 if the animation is looped.</td>
96          </tr>
97          <tr>
98            <td width="100"> </td>
99            <th>
100              <span class="argument">padding</span>
101            </th>
102            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
103            <td>(Not used.)</td>
104          </tr>
105          <tr>
106            <td width="100"> </td>
107            <th>
108              <span class="argument">fileNum</span>
109            </th>
110            <td width="100"><a href="../../../../nw/ut/ResU16.html">ut::ResU16</a></td>
111            <td>The number of texture resources being referenced.</td>
112          </tr>
113          <tr>
114            <td width="100"> </td>
115            <th>
116              <span class="argument">animContNum</span>
117            </th>
118            <td width="100"><a href="../../../../nw/ut/ResU16.html">ut::ResU16</a></td>
119            <td>The number of animation contents.</td>
120          </tr>
121          <tr>
122            <td width="100"> </td>
123            <th>
124              <span class="argument">animContOffsetsOffset</span>
125            </th>
126            <td width="100"><a href="../../../../nw/ut/ResU32.html">ut::ResU32</a></td>
127            <td>Offset to animContOffsets (from the start of the data block).</td>
128          </tr> </table>
129      </div>
130    </a>
131    <h2>See Also</h2>
132    <div class="section">
133      <p class="reference"><a href="../../../../nw/lyt/res/Lan/Overview.html">Lan</a><br /> </p>
134    </div>
135    <h2>Revision History</h2>
136    <div class="section">
137      <dl class="history">
138        <dt>2010/01/26</dt>
139        <dd>Initial version.<br />
140        </dd>
141      </dl>
142    </div>
143  <hr><p>CONFIDENTIAL</p></body>
144</html>
145