diff 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
line wrap: on
line diff
--- a/06/anm.xml
+++ b/06/anm.xml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="utf-8"?>
 <?xml-stylesheet type="text/xsl" href="../html.xsl"?>
 <?xml-stylesheet type="text/css" href="../style.css"?>
-<!DOCTYPE html>
 <opcodes xmlns="urn:opcodes:description">
 	<title>ANM opcodes</title>
 
 	<op>
 		<num>0</num>
+		<name>delete</name>
 	</op>
 
 	<op>
@@ -96,17 +96,19 @@
 		<num>12</num>
 		<name>fade</name>
 		<params>
-			<param type="f" name="new_alpha"/>
+			<param type="S" name="new_alpha"/>
 			<param type="S" name="duration" unit="frames"/>
 		</params>
 	</op>
 
 	<op>
 		<num>13</num>
+		<name>set_blendfunc_alphablend</name>
 	</op>
 
 	<op>
 		<num>14</num>
+		<name>set_blendfunc_add</name>
 	</op>
 
 	<op>
@@ -127,6 +129,7 @@
 
 	<op>
 		<num>17</num>
+		<name>set_3d_translation</name>
 		<params>
 			<param type="f"/>
 			<param type="f"/>
@@ -136,43 +139,53 @@
 
 	<op>
 		<num>18</num>
+		<name>move_to_linear</name>
 		<params>
-			<param type="f"/>
-			<param type="f"/>
-			<param type="S"/>
-			<param type="S"/>
+			<param type="f" name="x"/>
+			<param type="f" name="y"/>
+			<param type="f" name="y"/>
+			<param type="S" name="duration"/>
 		</params>
+		<desc>Move the sprite in the indicated coordinates in `duration` seconds.</desc>
 	</op>
 
 	<op>
 		<num>19</num>
+		<name>move_to_decel</name>
 		<params>
-			<param type="f"/>
-			<param type="f"/>
-			<param type="S"/>
-			<param type="S"/>
+			<param type="f" name="x"/>
+			<param type="f" name="y"/>
+			<param type="f" name="z"/>
+			<param type="S" name="duration"/>
 		</params>
+		<desc>Move the sprite in the indicated coordinates in `duration` seconds.</desc>
 	</op>
 
 	<op>
 		<num>20</num>
+		<name>move_to_accel</name>
 		<params>
-			<param type="f"/>
-			<param type="f"/>
-			<param type="f"/>
-			<param type="S"/>
+			<param type="f" name="x"/>
+			<param type="f" name="y"/>
+			<param type="f" name="z"/>
+			<param type="S" name="duration"/>
 		</params>
+		<desc>Move the sprite in the indicated coordinates in `duration` seconds.</desc>
 	</op>
 
 	<op>
 		<num>21</num>
+		<name>wait_event</name>
+		<desc>Wait for an event.</desc>
 	</op>
 
 	<op>
 		<num>22</num>
+		<name>set_event</name>
 		<params>
 			<param type="S"/>
 		</params>
+		<desc>Set the event number to wait for.</desc>
 	</op>
 
 	<op>
@@ -184,13 +197,17 @@
 
 	<op>
 		<num>24</num>
+		<name>?_event</name>
+		<desc>Has something to do with events.</desc>
 	</op>
 
 	<op>
 		<num>25</num>
+		<name>set_allow_dest_offset</name>
 		<params>
 			<param type="S"/>
 		</params>
+		<desc></desc>
 	</op>
 
 	<op>
@@ -222,9 +239,11 @@
 
 	<op>
 		<num>29</num>
+		<name></name>
 		<params>
 			<param type="S"/>
 		</params>
+		<desc></desc>
 	</op>
 
 	<op>
@@ -240,8 +259,10 @@
 
 	<op>
 		<num>31</num>
+		<name></name>
 		<params>
 			<param type="S"/>
 		</params>
+		<desc></desc>
 	</op>
 </opcodes>