Mercurial > touhou-doc
comparison 06/anm.xml @ 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 | 79dfd9765a67 |
children |
comparison
equal
deleted
inserted
replaced
12:79dfd9765a67 | 13:2925b0e246c6 |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <?xml-stylesheet type="text/xsl" href="../html.xsl"?> | 2 <?xml-stylesheet type="text/xsl" href="../html.xsl"?> |
3 <?xml-stylesheet type="text/css" href="../style.css"?> | 3 <?xml-stylesheet type="text/css" href="../style.css"?> |
4 <!DOCTYPE html> | |
5 <opcodes xmlns="urn:opcodes:description"> | 4 <opcodes xmlns="urn:opcodes:description"> |
6 <title>ANM opcodes</title> | 5 <title>ANM opcodes</title> |
7 | 6 |
8 <op> | 7 <op> |
9 <num>0</num> | 8 <num>0</num> |
9 <name>delete</name> | |
10 </op> | 10 </op> |
11 | 11 |
12 <op> | 12 <op> |
13 <num>1</num> | 13 <num>1</num> |
14 <name>set_sprite</name> | 14 <name>set_sprite</name> |
94 | 94 |
95 <op> | 95 <op> |
96 <num>12</num> | 96 <num>12</num> |
97 <name>fade</name> | 97 <name>fade</name> |
98 <params> | 98 <params> |
99 <param type="f" name="new_alpha"/> | 99 <param type="S" name="new_alpha"/> |
100 <param type="S" name="duration" unit="frames"/> | 100 <param type="S" name="duration" unit="frames"/> |
101 </params> | 101 </params> |
102 </op> | 102 </op> |
103 | 103 |
104 <op> | 104 <op> |
105 <num>13</num> | 105 <num>13</num> |
106 <name>set_blendfunc_alphablend</name> | |
106 </op> | 107 </op> |
107 | 108 |
108 <op> | 109 <op> |
109 <num>14</num> | 110 <num>14</num> |
111 <name>set_blendfunc_add</name> | |
110 </op> | 112 </op> |
111 | 113 |
112 <op> | 114 <op> |
113 <num>15</num> | 115 <num>15</num> |
114 <name>keep_still</name> | 116 <name>keep_still</name> |
125 <desc>Select a sprite in the [first, first+number) range.</desc> | 127 <desc>Select a sprite in the [first, first+number) range.</desc> |
126 </op> | 128 </op> |
127 | 129 |
128 <op> | 130 <op> |
129 <num>17</num> | 131 <num>17</num> |
132 <name>set_3d_translation</name> | |
130 <params> | 133 <params> |
131 <param type="f"/> | 134 <param type="f"/> |
132 <param type="f"/> | 135 <param type="f"/> |
133 <param type="f"/> | 136 <param type="f"/> |
134 </params> | 137 </params> |
135 </op> | 138 </op> |
136 | 139 |
137 <op> | 140 <op> |
138 <num>18</num> | 141 <num>18</num> |
139 <params> | 142 <name>move_to_linear</name> |
140 <param type="f"/> | 143 <params> |
141 <param type="f"/> | 144 <param type="f" name="x"/> |
142 <param type="S"/> | 145 <param type="f" name="y"/> |
143 <param type="S"/> | 146 <param type="f" name="y"/> |
144 </params> | 147 <param type="S" name="duration"/> |
148 </params> | |
149 <desc>Move the sprite in the indicated coordinates in `duration` seconds.</desc> | |
145 </op> | 150 </op> |
146 | 151 |
147 <op> | 152 <op> |
148 <num>19</num> | 153 <num>19</num> |
149 <params> | 154 <name>move_to_decel</name> |
150 <param type="f"/> | 155 <params> |
151 <param type="f"/> | 156 <param type="f" name="x"/> |
152 <param type="S"/> | 157 <param type="f" name="y"/> |
153 <param type="S"/> | 158 <param type="f" name="z"/> |
154 </params> | 159 <param type="S" name="duration"/> |
160 </params> | |
161 <desc>Move the sprite in the indicated coordinates in `duration` seconds.</desc> | |
155 </op> | 162 </op> |
156 | 163 |
157 <op> | 164 <op> |
158 <num>20</num> | 165 <num>20</num> |
159 <params> | 166 <name>move_to_accel</name> |
160 <param type="f"/> | 167 <params> |
161 <param type="f"/> | 168 <param type="f" name="x"/> |
162 <param type="f"/> | 169 <param type="f" name="y"/> |
163 <param type="S"/> | 170 <param type="f" name="z"/> |
164 </params> | 171 <param type="S" name="duration"/> |
172 </params> | |
173 <desc>Move the sprite in the indicated coordinates in `duration` seconds.</desc> | |
165 </op> | 174 </op> |
166 | 175 |
167 <op> | 176 <op> |
168 <num>21</num> | 177 <num>21</num> |
178 <name>wait_event</name> | |
179 <desc>Wait for an event.</desc> | |
169 </op> | 180 </op> |
170 | 181 |
171 <op> | 182 <op> |
172 <num>22</num> | 183 <num>22</num> |
173 <params> | 184 <name>set_event</name> |
174 <param type="S"/> | 185 <params> |
175 </params> | 186 <param type="S"/> |
187 </params> | |
188 <desc>Set the event number to wait for.</desc> | |
176 </op> | 189 </op> |
177 | 190 |
178 <op> | 191 <op> |
179 <num>23</num> | 192 <num>23</num> |
180 <name>set_bottom_left_as_origin</name> | 193 <name>set_bottom_left_as_origin</name> |
182 This parameter effectively translates the sprite by (width / 2., height / 2., 0.) once every other sprite operation has been executed.</desc> | 195 This parameter effectively translates the sprite by (width / 2., height / 2., 0.) once every other sprite operation has been executed.</desc> |
183 </op> | 196 </op> |
184 | 197 |
185 <op> | 198 <op> |
186 <num>24</num> | 199 <num>24</num> |
200 <name>?_event</name> | |
201 <desc>Has something to do with events.</desc> | |
187 </op> | 202 </op> |
188 | 203 |
189 <op> | 204 <op> |
190 <num>25</num> | 205 <num>25</num> |
191 <params> | 206 <name>set_allow_dest_offset</name> |
192 <param type="S"/> | 207 <params> |
193 </params> | 208 <param type="S"/> |
209 </params> | |
210 <desc></desc> | |
194 </op> | 211 </op> |
195 | 212 |
196 <op> | 213 <op> |
197 <num>26</num> | 214 <num>26</num> |
198 <name>set_automatic_angle</name> | 215 <name>set_automatic_angle</name> |
220 <desc>Add dy to the y coordinates of the texture, causing the texture to "move".</desc> | 237 <desc>Add dy to the y coordinates of the texture, causing the texture to "move".</desc> |
221 </op> | 238 </op> |
222 | 239 |
223 <op> | 240 <op> |
224 <num>29</num> | 241 <num>29</num> |
225 <params> | 242 <name></name> |
226 <param type="S"/> | 243 <params> |
227 </params> | 244 <param type="S"/> |
245 </params> | |
246 <desc></desc> | |
228 </op> | 247 </op> |
229 | 248 |
230 <op> | 249 <op> |
231 <num>30</num> | 250 <num>30</num> |
232 <name>scale_in</name> | 251 <name>scale_in</name> |
238 <desc>Sets the scale factor to (new_sx, new_sy) in duration frames.</desc> | 257 <desc>Sets the scale factor to (new_sx, new_sy) in duration frames.</desc> |
239 </op> | 258 </op> |
240 | 259 |
241 <op> | 260 <op> |
242 <num>31</num> | 261 <num>31</num> |
243 <params> | 262 <name></name> |
244 <param type="S"/> | 263 <params> |
245 </params> | 264 <param type="S"/> |
265 </params> | |
266 <desc></desc> | |
246 </op> | 267 </op> |
247 </opcodes> | 268 </opcodes> |