view 06/anm.xml @ 2:0a7e6e3d5327

Improve anm and std documentation.
author Thibaut Girka <thib@sitedethib.com>
date Tue, 02 Aug 2011 15:45:13 +0200
parents b1bec4b5ccf3
children 2a7b9d62c0c4
line wrap: on
line source

<?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>
	</op>

	<op>
		<num>1</num>
		<name>set_sprite</name>
		<params>
			<param type="S">Sprite number.</param>
		</params>
		<desc>Displays a certain sprite, or change from the previous sprite.</desc>
	</op>

	<op>
		<num>2</num>
		<name>set_scale</name>
		<params>
			<param type="f" default="in the sprite section">X factor.</param>
			<param type="f" default="in the sprite section">Y factor.</param>
		</params>
		<desc>Resizes the current sprite.</desc>
	</op>

	<op>
		<num>3</num>
		<params>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>4</num>
		<params>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>5</num>
		<params>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>7</num>
		<name>set_mirror</name>
		<desc>Performs a scale of -1 on the x axis.</desc>
	</op>

	<op>
		<num>9</num>
		<name>set_3d_rotation</name>
		<params>
			<param type="f">-x</param>
			<param type="f">y</param>
			<param type="f">-z</param>
		</params>
		<desc>Set a rotation for the current object.</desc>
	</op>

	<op>
		<num>10</num>
		<params>
			<param type="f"></param>
			<param type="S"></param>
			<param type="f"></param>
		</params>
	</op>

	<op>
		<num>11</num>
		<params>
			<param type="f"></param>
			<param type="f"></param>
		</params>
	</op>

	<op>
		<num>12</num>
		<params>
			<param type="S"></param>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>13</num>
	</op>

	<op>
		<num>14</num>
	</op>

	<op>
		<num>15</num>
		<desc>A kind of return</desc>
	</op>

	<op>
		<num>16</num>
		<params>
			<param type="S"></param>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>17</num>
		<params>
			<param type="f"></param>
			<param type="f"></param>
			<param type="f"></param>
		</params>
	</op>

	<op>
		<num>18</num>
		<params>
			<param type="f"></param>
			<param type="f"></param>
			<param type="S"></param>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>19</num>
		<params>
			<param type="f"></param>
			<param type="f"></param>
			<param type="S"></param>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>20</num>
		<params>
			<param type="f"></param>
			<param type="f"></param>
			<param type="f"></param>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>21</num>
	</op>

	<op>
		<num>22</num>
		<params>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>23</num>
		<name>set_bottom_left_as_origin</name>
		<desc>Set the sprite's bottom-left corner as its origin (otherwise, the sprite's origin is its center).
		This parameter effectively translates the sprite by (width / 2., height / 2., 0.) once every other sprite operation has been executed.</desc>
	</op>

	<op>
		<num>24</num>
	</op>

	<op>
		<num>25</num>
		<params>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>26</num>
		<params>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>27</num>
		<params>
			<param type="f"></param>
		</params>
	</op>

	<op>
		<num>28</num>
		<params>
			<param type="f"></param>
		</params>
	</op>

	<op>
		<num>29</num>
		<params>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>30</num>
		<params>
			<param type="f"></param>
			<param type="f"></param>
			<param type="S"></param>
		</params>
	</op>

	<op>
		<num>31</num>
		<params>
			<param type="S"></param>
		</params>
	</op>
</opcodes>