Mercurial > touhou-doc
comparison 06/std.xhtml @ 3:bd0f1253691d
Add documentation of ECL format.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 06 Aug 2011 13:42:40 +0200 |
parents | 0a7e6e3d5327 |
children | 617e7760fd9f |
comparison
equal
deleted
inserted
replaced
2:0a7e6e3d5327 | 3:bd0f1253691d |
---|---|
23 char song4_name[128]; // ? A single blank if unused | 23 char song4_name[128]; // ? A single blank if unused |
24 char song1_path[128]; | 24 char song1_path[128]; |
25 char song2_path[128]; | 25 char song2_path[128]; |
26 char song3_path[128]; // ? A single blank if unused | 26 char song3_path[128]; // ? A single blank if unused |
27 char song4_path[128]; // ? A single blank if unused | 27 char song4_path[128]; // ? A single blank if unused |
28 uint32_t offsets[nb_objects]; // offsets of the start of each object of section 1 | |
28 } thstd_header_t; | 29 } thstd_header_t; |
29 </pre> | 30 </pre> |
30 | 31 |
31 <h2>First section</h2> | 32 <h2>First section</h2> |
32 <p>This section is responsible for creating objects from the stgxbg.anm file.</p> | 33 <p>This section is responsible for creating objects from the stgxbg.anm file.</p> |
56 | 57 |
57 struct object { | 58 struct object { |
58 struct object_header header; | 59 struct object_header header; |
59 struct object_quad quads[]; // Stop when quads.unknown == 0x0004ff | 60 struct object_quad quads[]; // Stop when quads.unknown == 0x0004ff |
60 }; | 61 }; |
61 </pre> | |
62 | |
63 <p>The following description is symbolic.</p> | |
64 <pre> | |
65 struct section1 { | |
66 uint32_t offsets[]; // header.nb_objects offsets towards objects | |
67 };*/ | |
68 </pre> | 62 </pre> |
69 | 63 |
70 | 64 |
71 <h2>Second section</h2> | 65 <h2>Second section</h2> |
72 <p>This section is responsible for placing objects from section 1 in the space.</p> | 66 <p>This section is responsible for placing objects from section 1 in the space.</p> |