Mercurial > touhou-doc
annotate 06/std.xhtml @ 4:617e7760fd9f
Fix thstd_viewpos2_instr_t.center_dy as well as a link with incorrect description.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Fri, 05 Aug 2011 21:28:14 +0200 |
parents | bd0f1253691d |
children | 2a7b9d62c0c4 |
rev | line source |
---|---|
0 | 1 <?xml version="1.0" encoding="utf-8"?> |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
2 <?xml-stylesheet type="text/css" href="../style.css"?> |
0 | 3 <!DOCTYPE html> |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
0 | 5 <head> |
6 <title>STD format</title> | |
7 </head> | |
8 <body> | |
9 <h1>STD format</h1> | |
10 | |
11 <h2>Header</h2> | |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
12 <pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
13 typedef struct { |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
14 uint16_t nb_objects; // Number of background objects contained in the file |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
15 uint16_t nb_faces; // Number of faces/quads for the aforementioned objects |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
16 uint32_t faces_offset; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
17 uint32_t script_offset; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
18 uint32_t unknown; // Always 0 |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
19 char stage_name[128]; // Name of the stage in SHIFT_JIS |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
20 char song1_name[128]; // Name of the first song in SHIFT_JIS |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
21 char song2_name[128]; // Name of the second song in SHIFT_JIS |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
22 char song3_name[128]; // ? A single blank if unused |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
23 char song4_name[128]; // ? A single blank if unused |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
24 char song1_path[128]; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
25 char song2_path[128]; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
26 char song3_path[128]; // ? A single blank if unused |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
27 char song4_path[128]; // ? A single blank if unused |
3
bd0f1253691d
Add documentation of ECL format.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
2
diff
changeset
|
28 uint32_t offsets[nb_objects]; // offsets of the start of each object of section 1 |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
29 } thstd_header_t; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
30 </pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
31 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
32 <h2>First section</h2> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
33 <p>This section is responsible for creating objects from the stgxbg.anm file.</p> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
34 <pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
35 struct object_header { |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
36 uint16_t id; // Always equal to the object's number. Not used by the game. |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
37 uint16_t unknown1; //TODO |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
38 float unknown2; //TODO |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
39 uint32_t unknown3; //TODO |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
40 float unknown4; //TODO |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
41 float unknown5; //TODO |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
42 float unknown6; //TODO |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
43 float unknown7; //TODO |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
44 }; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
45 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
46 typedef struct { |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
47 uint16_t unknown; // 0 means a quad, 0xffff means the end. |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
48 uint16_t size; // 0x1c for a quad, 4 for the end marker. |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
49 uint16_t script_index; // Index of a script entry in the corresponding anm file |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
50 uint16_t _padding; // Unused, padding |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
51 float x; // x coordinate of the bottom-left corner of the quad |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
52 float y; // y coordinate of the bottom-left corner of the quad |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
53 float z; // z coordinate of the bottom-left corner of the quad |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
54 float width; // If not 0, override the sprite's width (else, use anm info) |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
55 float height; // If not 0, override the sprite's height (else, use anm info) |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
56 } thstd_object_t; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
57 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
58 struct object { |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
59 struct object_header header; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
60 struct object_quad quads[]; // Stop when quads.unknown == 0x0004ff |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
61 }; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
62 </pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
63 |
0 | 64 |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
65 <h2>Second section</h2> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
66 <p>This section is responsible for placing objects from section 1 in the space.</p> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
67 <pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
68 typedef struct { |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
69 uint16_t object_id; // must not exceed header.nb_objects |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
70 uint16_t unknown1; // Always 256, doesn't seem to change anything |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
71 float x; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
72 float y; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
73 float z; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
74 } thstd_object_instance_t; |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
75 // ends with 16 \xFF |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
76 </pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
77 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
78 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
79 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
80 <h2>Third Section</h2> |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
81 <p>This section is responsible for camera movement, fog effects, and such things.</p> |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
82 <pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
83 typedef struct { |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
84 uint32_t frame_num; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
85 uint16_t type; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
86 uint16_t size; // always 0x0c, ignored by the game |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
87 uint32_t arg1; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
88 float arg2; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
89 float arg3; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
90 } thstd_instr_t; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
91 |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
92 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
93 typedef struct { |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
94 uint8_t b; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
95 uint8_t g; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
96 uint8_t r; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
97 uint8_t unknown; //TODO: Seems useless. padding? Alpha? |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
98 } color_t; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
99 |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
100 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
101 typedef struct { // .type == 1 |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
102 color_t color; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
103 float fog_start; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
104 float fog_end; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
105 } thstd_fog_instr_t; |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
106 |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
107 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
108 typedef struct { // type == 0 |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
109 float x; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
110 float y; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
111 float z; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
112 } thstd_viewpos_instr_t; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
113 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
114 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
115 typedef struct { // type == 2 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
116 uint32_t unknown_x; //TODO |
4
617e7760fd9f
Fix thstd_viewpos2_instr_t.center_dy as well as a link with incorrect description.
Thibaut Girka <thib@sitedethib.com>
parents:
3
diff
changeset
|
117 float center_dy; // y delta between the camera position and its view center |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
118 float dz; // z coordinate of the camera, divided by -835.979370 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
119 } thstd_viewpos2_instr_t; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
120 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
121 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
122 typedef struct { // type == 3 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
123 uint32_t duration; // Duration of the interpolation, in frames |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
124 uint32_t unused[2]; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
125 } thstd_start_interpolating_viewpos_instr_t; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
126 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
127 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
128 typedef struct { // type == 4 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
129 uint32_t duration; // Duration of the interpolation, in frames |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
130 uint32_t unused[2]; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
131 } thstd_start_interpolating_fog_instr_t; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
132 |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
133 // ends with 20 \xFF |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
134 </pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
135 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
136 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
137 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
138 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
139 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
140 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
141 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
142 <pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
143 typedef struct { |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
144 thstd_header_t header; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
145 uint32_t* offsets; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
146 list_t objects; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
147 list_t faces; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
148 list_t messages; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
149 } PACK_ATTRIBUTE thstd_t; |
0 | 150 </pre> |
151 </body> | |
152 </html> |