Mercurial > touhou-doc
annotate 06/std.xhtml @ 13:2925b0e246c6 default tip
Fix a lot of things, and add a TODO.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 17 Feb 2012 12:54:08 +0100 |
parents | 2a7b9d62c0c4 |
children |
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> |
13
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
35 typedef struct { |
1
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. |
13
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
37 uint16_t unknown; //TODO |
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
38 |
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
39 // The bounding box. |
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
40 float x; |
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
41 float y; |
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
42 float z; |
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
43 float width; |
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
44 float height; |
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
45 float depth; |
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
46 } object_header_t; |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
47 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
48 typedef struct { |
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 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
|
50 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
|
51 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
|
52 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
|
53 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
|
54 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
|
55 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
|
56 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
|
57 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
|
58 } 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
|
59 |
13
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
60 typedef struct { |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
61 struct object_header header; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
62 struct object_quad quads[]; // Stop when quads.unknown == 0x0004ff |
13
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
63 } object_t; |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
64 </pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
65 |
0 | 66 |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
67 <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
|
68 <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
|
69 <pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
70 typedef struct { |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
71 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
|
72 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
|
73 float x; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
74 float y; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
75 float z; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
76 } 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
|
77 // 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
|
78 </pre> |
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 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
81 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
82 <h2>Third Section</h2> |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
83 <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
|
84 <pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
85 typedef struct { |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
86 uint32_t frame_num; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
87 uint16_t type; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
88 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
|
89 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
|
90 float arg2; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
91 float arg3; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
92 } thstd_instr_t; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
93 |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
94 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
95 typedef struct { |
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 b; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
97 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
|
98 uint8_t r; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
99 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
|
100 } color_t; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
101 |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
102 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
103 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
|
104 color_t color; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
105 float fog_start; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
106 float fog_end; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
107 } 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
|
108 |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
109 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
110 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
|
111 float x; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
112 float y; |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
113 float z; |
2
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
114 } thstd_viewpos_instr_t; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
115 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
116 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
117 typedef struct { // type == 2 |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
4
diff
changeset
|
118 float center_dx; // x delta between the camera position and its view center |
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
|
119 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
|
120 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
|
121 } thstd_viewpos2_instr_t; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
122 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
123 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
124 typedef struct { // type == 3 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
125 uint32_t duration; // Duration of the interpolation, in frames |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
126 uint32_t unused[2]; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
127 } thstd_start_interpolating_viewpos_instr_t; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
128 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
129 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
130 typedef struct { // type == 4 |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
131 uint32_t duration; // Duration of the interpolation, in frames |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
132 uint32_t unused[2]; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
133 } thstd_start_interpolating_fog_instr_t; |
0a7e6e3d5327
Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents:
1
diff
changeset
|
134 |
1
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
135 // 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
|
136 </pre> |
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 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
143 |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
144 <pre> |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
145 typedef struct { |
b1bec4b5ccf3
Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
146 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
|
147 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
|
148 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
|
149 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
|
150 list_t messages; |
13
2925b0e246c6
Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
151 } thstd_t; |
0 | 152 </pre> |
153 </body> | |
154 </html> |