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
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50    <title>nw::lyt::res::AnimationBlock</title>
51  </head>
52  <body>
53    <h1>nw::lyt::res::AnimationBlock Structure</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">struct AnimationBlock
57{
58   <a href="../../../../nw/ut/BinaryBlockHeader/Overview.html">ut::BinaryBlockHeader</a> blockHeader;
59   <a href="../../../../nw/ut/ResU16.html">ut::ResU16</a> frameSize;
60   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> loop;
61   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> padding[1];
62   <a href="../../../../nw/ut/ResU16.html">ut::ResU16</a> fileNum;
63   <a href="../../../../nw/ut/ResU16.html">ut::ResU16</a> animContNum;
64   <a href="../../../../nw/ut/ResU32.html">ut::ResU32</a> animContOffsetsOffset;
65};
66</pre>
67    </div>
68    <h2>Description</h2>
69    <div class="section">
70      <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>
71    <a name="variable" id="variable">
72      <h2>Member Variables</h2>
73      <div class="section">
74        <table class="members">
75          <tr>
76            <td width="100"> </td>
77            <th>
78              <span class="argument">blockHeader</span>
79            </th>
80            <td>Header.</td>
81          </tr>
82          <tr>
83            <td width="100"> </td>
84            <th>
85              <span class="argument">frameSize</span>
86            </th>
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>Stores 1 if the animation is looped.</td>
95          </tr>
96          <tr>
97            <td width="100"> </td>
98            <th>
99              <span class="argument">padding</span>
100            </th>
101            <td>(Not used.)</td>
102          </tr>
103          <tr>
104            <td width="100"> </td>
105            <th>
106              <span class="argument">fileNum</span>
107            </th>
108            <td>The number of texture resources being referenced.</td>
109          </tr>
110          <tr>
111            <td width="100"> </td>
112            <th>
113              <span class="argument">animContNum</span>
114            </th>
115            <td>The number of animation contents.</td>
116          </tr>
117          <tr>
118            <td width="100"> </td>
119            <th>
120              <span class="argument">animContOffsetsOffset</span>
121            </th>
122            <td>Offset to animContOffsets (from the start of the data block).</td>
123          </tr> </table>
124      </div>
125    </a>
126    <h2>See Also</h2>
127    <div class="section">
128      <p class="reference"><a href="../../../../nw/lyt/res/Lan/Overview.html">Lan</a><br /> </p>
129    </div>
130    <h2>Revision History</h2>
131    <div class="section">
132      <dl class="history">
133        <dt>2010/01/26</dt>
134        <dd>Initial version.<br />
135        </dd>
136      </dl>
137    </div>
138  <hr><p>CONFIDENTIAL</p></body>
139</html>