1<html>
2
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
6<meta name="ProgId" content="FrontPage.Editor.Document">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8
9<title>CLUTHeader</title>
10</head>
11
12<body>
13
14<h1>CLUTHeader</h1>
15
16<h2>C Specification</h2>
17
18<p>
19<dl>
20  <dd><pre><code>
21typedef struct
22{
23    u16        numEntries;
24    u8         unpacked;
25    u8         pad8;
26    GXTlutFmt  format;
27    Ptr        data;
28
29} CLUTHeader, *CLUTHeaderPtr;
30</code></pre>
31  </dd>
32</dl>
33</p>
34
35<h2>Description</h2>
36
37<p>The color lookup table (CLUT) structure used by the TPL library.</p>
38
39<table cellSpacing="0" cellPadding="3" border="1">
40  <tr>
41<td><code>numEntries</code></td>
42<td>Number of palette entries.</td>
43  </tr>
44  <tr>
45<td><code>unpacked</code></td>
46<td>Internal flag used for unpacking files.</td>
47  </tr>
48  <tr>
49<td><code>format</code></td>
50<td>CLUT data format.</td>
51  </tr>
52  <tr>
53<td><code>data</code></td>
54<td>Pointer to CLUT data.</td>
55  </tr>
56</table>
57
58<h2>See Also</h2>
59
60<P>
61<a href="TPLDescriptor.html"><CODE>TPLDescriptor</CODE></a><BR>
62</P>
63
64<h2>Revision History</h2>
65
66<p>06/20/2006 Initial version.</p>
67
68</body>
69</html>