annotate 06/anm.xml @ 9:6d47bfc23c64

Document a few more ANM instructions
author Thibaut Girka <thib@sitedethib.com>
date Tue, 23 Aug 2011 15:28:31 +0200
parents 2a7b9d62c0c4
children d0e992b282a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
2 <?xml-stylesheet type="text/xsl" href="../html.xsl"?>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
3 <?xml-stylesheet type="text/css" href="../style.css"?>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
4 <!DOCTYPE html>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
5 <opcodes xmlns="urn:opcodes:description">
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
6 <title>ANM opcodes</title>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
7
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
8 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
9 <num>0</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
10 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
11
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
12 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
13 <num>1</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
14 <name>set_sprite</name>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
15 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
16 <param type="S">Sprite number.</param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
17 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
18 <desc>Displays a certain sprite, or change from the previous sprite.</desc>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
19 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
20
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
21 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
22 <num>2</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
23 <name>set_scale</name>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
24 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
25 <param type="f" default="in the sprite section">X factor.</param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
26 <param type="f" default="in the sprite section">Y factor.</param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
27 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
28 <desc>Resizes the current sprite.</desc>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
29 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
30
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
31 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
32 <num>3</num>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
33 <name>set_alpha</name>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
34 <params>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
35 <param type="S">alpha (0 to 255)</param>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
36 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
37 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
38
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
39 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
40 <num>4</num>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
41 <name>set_color</name>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
42 <params>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
43 <param type="c">g</param>
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
44 <param type="c">b</param>
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
45 <param type="c">r</param>
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
46 <param type="c">padding</param>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
47 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
48 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
49
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
50 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
51 <num>5</num>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
52 <name>jump</name>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
53 <params>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
54 <param type="S">absolute offset within the script of the instruction to jump to</param>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
55 </params>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
56 <desc>Jump to the given instruction and reset the frame counter to the instruction's frame.</desc>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
57 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
58
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
59 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
60 <num>7</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
61 <name>set_mirror</name>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
62 <desc>Performs a scale of -1 on the x axis.</desc>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
63 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
64
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
65 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
66 <num>9</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
67 <name>set_3d_rotation</name>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
68 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
69 <param type="f">-x</param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
70 <param type="f">y</param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
71 <param type="f">-z</param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
72 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
73 <desc>Set a rotation for the current object.</desc>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
74 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
75
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
76 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
77 <num>10</num>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
78 <name>set_3d_rotation_speed</name>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
79 <params>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
80 <param type="f">-x</param>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
81 <param type="f">y</param>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
82 <param type="f">-z</param>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
83 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
84 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
85
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
86 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
87 <num>11</num>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
88 <name>set_scale_speed</name>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
89 <params>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
90 <param type="f">sx speed</param>
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
91 <param type="f">sy speed</param>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
92 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
93 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
94
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
95 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
96 <num>12</num>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
97 <name>fade</name>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
98 <params>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
99 <param type="f">new_alpha</param>
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
100 <param type="S">duration</param>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
101 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
102 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
103
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
104 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
105 <num>13</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
106 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
107
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
108 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
109 <num>14</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
110 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
111
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
112 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
113 <num>15</num>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
114 <name>keep_still</name>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
115 <desc>When this instruction is called, the sprite is a still image: the script stops without the sprite disappearing.</desc>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
116 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
117
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
118 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
119 <num>16</num>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
120 <name>set_random_sprite</name>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
121 <params>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
122 <param type="S">id of the first sprite</param>
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
123 <param type="S">number of sprites</param>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
124 </params>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
125 <desc>Select a sprite in the [[id, id+number)) range.</desc>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
126 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
127
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
128 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
129 <num>17</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
130 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
131 <param type="f"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
132 <param type="f"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
133 <param type="f"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
134 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
135 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
136
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
137 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
138 <num>18</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
139 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
140 <param type="f"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
141 <param type="f"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
142 <param type="S"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
143 <param type="S"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
144 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
145 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
146
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
147 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
148 <num>19</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
149 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
150 <param type="f"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
151 <param type="f"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
152 <param type="S"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
153 <param type="S"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
154 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
155 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
156
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
157 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
158 <num>20</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
159 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
160 <param type="f"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
161 <param type="f"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
162 <param type="f"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
163 <param type="S"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
164 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
165 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
166
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
167 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
168 <num>21</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
169 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
170
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
171 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
172 <num>22</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
173 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
174 <param type="S"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
175 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
176 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
177
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
178 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
179 <num>23</num>
2
0a7e6e3d5327 Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents: 1
diff changeset
180 <name>set_bottom_left_as_origin</name>
0a7e6e3d5327 Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents: 1
diff changeset
181 <desc>Set the sprite's bottom-left corner as its origin (otherwise, the sprite's origin is its center).
0a7e6e3d5327 Improve anm and std documentation.
Thibaut Girka <thib@sitedethib.com>
parents: 1
diff changeset
182 This parameter effectively translates the sprite by (width / 2., height / 2., 0.) once every other sprite operation has been executed.</desc>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
183 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
184
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
185 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
186 <num>24</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
187 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
188
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
189 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
190 <num>25</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
191 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
192 <param type="S"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
193 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
194 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
195
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
196 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
197 <num>26</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
198 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
199 <param type="S"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
200 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
201 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
202
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
203 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
204 <num>27</num>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
205 <name>shift_texture_x</name>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
206 <params>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
207 <param type="f">dx</param>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
208 </params>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
209 <desc>Add dx to the x coordinates of the texture, causing the texture to "move".</desc>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
210 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
211
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
212 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
213 <num>28</num>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
214 <name>shift_texture_y</name>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
215 <params>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
216 <param type="f">dy</param>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
217 </params>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 2
diff changeset
218 <desc>Add dy to the y coordinates of the texture, causing the texture to "move".</desc>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
219 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
220
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
221 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
222 <num>29</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
223 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
224 <param type="S"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
225 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
226 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
227
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
228 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
229 <num>30</num>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
230 <name>scale_in</name>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
231 <params>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
232 <param type="f">new_sx</param>
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
233 <param type="f">new_sy</param>
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
234 <param type="S">duration</param>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
235 </params>
9
6d47bfc23c64 Document a few more ANM instructions
Thibaut Girka <thib@sitedethib.com>
parents: 7
diff changeset
236 <desc>Sets the scale factor to (new_sx, new_sy) in duration frames.</desc>
1
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
237 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
238
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
239 <op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
240 <num>31</num>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
241 <params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
242 <param type="S"></param>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
243 </params>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
244 </op>
b1bec4b5ccf3 Add anm and pbg3 file formats, and improve the std one.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
245 </opcodes>