diff 06/anm.xml @ 7:2a7b9d62c0c4

Fix details, and details and documentation for a few instructions
author Thibaut Girka <thib@sitedethib.com>
date Tue, 23 Aug 2011 11:58:03 +0200
parents 0a7e6e3d5327
children 6d47bfc23c64
line wrap: on
line diff
--- a/06/anm.xml
+++ b/06/anm.xml
@@ -30,8 +30,9 @@
 
 	<op>
 		<num>3</num>
+		<name>set_alpha</name>
 		<params>
-			<param type="S"></param>
+			<param type="S">alpha (0 to 255)</param>
 		</params>
 	</op>
 
@@ -44,9 +45,11 @@
 
 	<op>
 		<num>5</num>
+		<name>jump</name>
 		<params>
-			<param type="S"></param>
+			<param type="S">relative offset of the instruction to jump to</param>
 		</params>
+		<desc>Jump to the given instruction and reset the frame counter to the instruction's frame.</desc>
 	</op>
 
 	<op>
@@ -68,10 +71,11 @@
 
 	<op>
 		<num>10</num>
+		<name>set_3d_rotation_speed</name>
 		<params>
-			<param type="f"></param>
-			<param type="S"></param>
-			<param type="f"></param>
+			<param type="f">-x</param>
+			<param type="f">y</param>
+			<param type="f">-z</param>
 		</params>
 	</op>
 
@@ -101,7 +105,8 @@
 
 	<op>
 		<num>15</num>
-		<desc>A kind of return</desc>
+		<name>keep_still</name>
+		<desc>When this instruction is called, the sprite is a still image: the script stops without the sprite disappearing.</desc>
 	</op>
 
 	<op>
@@ -189,16 +194,20 @@
 
 	<op>
 		<num>27</num>
+		<name>shift_texture_x</name>
 		<params>
-			<param type="f"></param>
+			<param type="f">dx</param>
 		</params>
+		<desc>Add dx to the x coordinates of the texture, causing the texture to "move".</desc>
 	</op>
 
 	<op>
 		<num>28</num>
+		<name>shift_texture_y</name>
 		<params>
-			<param type="f"></param>
+			<param type="f">dy</param>
 		</params>
+		<desc>Add dy to the y coordinates of the texture, causing the texture to "move".</desc>
 	</op>
 
 	<op>