annotate 06/ecl.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
2 <?xml-stylesheet type="text/xsl" href="../html.xsl"?>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
3 <?xml-stylesheet type="text/css" href="../style.css"?>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
4 <opcodes xmlns="urn:opcodes:description">
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
5 <title>ECL Sub format</title>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
6
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
7 <text>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
8 <div xmlns="http://www.w3.org/1999/xhtml">
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
9 <h2>Lvalues and Rvalues / direct vs memory indirect addressing</h2>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
10 <p>In EoSD, most 32-bits arguments passed to instructions may be actual values or variable indexes.<br/>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
11 Values comprised between -10025 and -10001 are variable indexes, whereas other values are actual values.
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
12 Values passed through variable/register indexes are Lvalues, other values are not. Some instructions require some of their operands to be Lvalues.</p>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
13
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
14 <h2>Accessing values</h2>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
15 <p>[TODO: verify] How the game accesses values passed as argument is as follows:<br/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
16 TYPE is the type of the argument (float, int32, ...):</p>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
17
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
18 <pre>if ((TYPE) argument &lt; -10000)
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
19 return *(TYPE*) &amp;variables[(int)(-10000-(TYPE) argument)];
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
20 else
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
21 return (TYPE) argument;</pre>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
22
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
23 <h2>Variables</h2>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
24 <p>Only variables in the range [-10001, -10025] without -10014, -10020 and -10023 are used in the game.</p>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
25
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
26 <h3>Local variables</h3>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
27 <p>Local variables may be read or written by the script, they are local to a subroutine, and put on a stack when a subroutine is called. They are not used by the game engine itself.</p>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
28 <table>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
29 <tr><th>Number</th><th>Type</th></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
30 <tr><td>-10001</td><td>int</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
31 <tr><td>-10002</td><td>int</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
32 <tr><td>-10003</td><td>int</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
33 <tr><td>-10004</td><td>int</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
34 <tr><td>-10005</td><td>float</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
35 <tr><td>-10006</td><td>float</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
36 <tr><td>-10007</td><td>float</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
37 <tr><td>-10008</td><td>float</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
38 <tr><td>-10009</td><td>int</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
39 <tr><td>-10010</td><td>int</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
40 <tr><td>-10011</td><td>int</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
41 <tr><td>-10012</td><td>int</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
42 </table>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
43
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
44 <h3>Special variables</h3>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
45 <p>Special variables are game or enemy-scoped variables and most of them cannot be overriden by the script.</p>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
46 <table>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
47 <tr><th>Number</th><th>Type</th> <th>Name</th> <th>RW/RO</th> <th>Notes</th></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
48 <tr><td>-10013</td><td>int</td> <td>rank</td> <td>ro</td> <td></td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
49 <tr><td>-10014</td><td>int</td> <td>difficulty</td> <td>ro</td> <td>Unused.</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
50 <tr><td>-10015</td><td>float</td> <td>x</td> <td>rw</td> <td></td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
51 <tr><td>-10016</td><td>float</td> <td>y</td> <td>rw</td> <td></td></tr>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
52 <tr><td>-10017</td><td>float</td> <td>z</td> <td>rw</td> <td>Actually used by Flandre. Warning!</td></tr>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
53 <tr><td>-10018</td><td>float</td> <td>player_x</td> <td>ro</td> <td></td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
54 <tr><td>-10019</td><td>float</td> <td>player_y</td> <td>ro</td> <td></td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
55 <tr><td>-10020</td><td>float</td> <td></td> <td>ro</td> <td>Unused.</td></tr>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
56 <tr><td>-10021</td><td>float</td> <td>player_angle</td> <td>ro</td> <td></td></tr>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
57 <tr><td>-10022</td><td>int</td> <td>last_frame</td> <td>rw</td> <td></td></tr>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
58 <tr><td>-10023</td><td>float</td> <td>player_distance</td><td>ro</td> <td>Unused.</td></tr>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
59 <tr><td>-10024</td><td>int</td> <td>life</td> <td>rw</td> <td></td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
60 <tr><td>-10025</td><td>int</td> <td>player</td> <td>ro</td> <td>0 = ReimuA, 1 = ReimuB, 2 = MarisaA, 3 = MarisaB</td></tr>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
61 </table>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
62
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
63 <h2>Opcodes</h2>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
64 </div>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
65 </text>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
66
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
67 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
68 <num>0</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
69 <name>noop</name>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
70 <desc>Do nothing.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
71 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
72
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
73 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
74 <num>1</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
75 <name>delete</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
76 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
77 <param type="S" values="0">Unknown</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
78 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
79 <desc>Delete the sprite and perhaps free the memory used.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
80 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
81
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
82 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
83 <num>2</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
84 <name>relative_jump</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
85 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
86 <param type="S" name="new_frame" unit="frame" values="0 to 360"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
87 <param type="S" name="relative_offset" unit="bytes" values="-2032 to 632">Starting from the start of the current opcode.</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
88 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
89 <desc>Unconditionally jump to relative_offset with new frame counter. Used as a while.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
90 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
91
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
92 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
93 <num>3</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
94 <name>relative_jump_ex</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
95 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
96 <param type="S" name="new_frame" unit="frame" values="0 to 532"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
97 <param type="S" name="relative_offset" unit="bytes" values="-1376 to -12"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
98 <param type="S" name="counter_id" unit="var_id" var="must" values="-10011 to -10009"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
99 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
100 <desc>If the counter is non-null, jump to relative_offset with new frame counter, and decrease counter counter_id by 1. Used as a for.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
101 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
102
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
103 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
104 <num>4</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
105 <name>set_int</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
106 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
107 <param type="S" name="variable" unit="var_id" var="must" values="-10012 to -10001"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
108 <param type="S" name="value" var="can" values="-10005 to -10021, 0 to 300"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
109 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
110 <desc>Assign a value to the variable. Sometimes, value can be another variable.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
111 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
112
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
113 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
114 <num>5</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
115 <name>set_float</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
116 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
117 <param type="S" name="variable" unit="var_id" var="must" values="-10005 to -10017"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
118 <param type="f" name="value" var="can" values="-12.0f to 460.0f"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
119 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
120 <desc>Like <ref>4</ref>, but with a float as value.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
121 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
122
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
123 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
124 <num>6</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
125 <name>set_random_int</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
126 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
127 <param type="S" name="variable" unit="var_id" var="must" values="-10001"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
128 <param type="S" name="value" var="can" values="2, 3"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
129 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
130 <desc>Assign an integer in the [0, value) range to the variable.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
131 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
132
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
133 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
134 <num>8</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
135 <name>set_random_float</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
136 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
137 <param type="S" name="variable" unit="var_id" var="must"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
138 <param type="f" name="maximum" var="can" values="1.0f to 2pi to 384.0f"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
139 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
140 <desc>Like <ref>6</ref>, but with a float as value.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
141 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
142
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
143 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
144 <num>9</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
145 <name>set_random_float2</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
146 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
147 <param type="S" name="variable" unit="var_id" var="must"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
148 <param type="f" name="amplitude"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
149 <param type="f" name="minimum"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
150 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
151 <desc>Assign a float in the [minimum, minimum+amplitude) range to the variable.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
152 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
153
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
154 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
155 <num>10</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
156 <name>store_x</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
157 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
158 <param type="S" name="variable" unit="var_id" var="must" values="-10005"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
159 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
160 <desc>Store the x value of the enemy in the specified variable. Equivalent to <ref>4</ref>(variable, -10015).</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
161 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
162
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
163 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
164 <num>13</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
165 <name>add_int</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
166 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
167 <param type="S" name="variable" unit="var_id" var="must"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
168 <param type="S" name="a" var="can"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
169 <param type="S" name="b" var="can"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
170 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
171 <desc>variable = a + b;</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
172 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
173
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
174 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
175 <num>14</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
176 <name>substract_int</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
177 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
178 <param type="S" name="variable" unit="var_id" var="must"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
179 <param type="S" name="a" var="can"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
180 <param type="S" name="b" var="can"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
181 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
182 <desc>variable = a - b;</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
183 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
184
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
185 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
186 <num>15</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
187 <name>multiply_int</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
188 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
189 <param type="S" name="variable" var="must" values="-10001"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
190 <param type="S" name="a" var="can" values="-10012"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
191 <param type="S" name="b" var="can" values="1 to 5"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
192 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
193 <desc>variable = a * b;</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
194 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
195
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
196 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
197 <num>16</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
198 <name>divide_int</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
199 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
200 <param type="S" name="variable" var="must"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
201 <param type="S" name="a" var="can"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
202 <param type="S" name="b" var="can"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
203 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
204 <desc>variable = a / b;</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
205 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
206
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
207 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
208 <num>17</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
209 <name>modulo</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
210 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
211 <param type="S" name="variable" var="must"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
212 <param type="S" name="a" var="can"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
213 <param type="S" name="b" var="can"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
214 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
215 <desc>variable = a % b;</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
216 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
217
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
218 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
219 <num>18</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
220 <name>increment</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
221 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
222 <param type="S" name="variable" unit="var_id" var="must" values="-10012, -10004, -10002, -10001"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
223 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
224 <desc>Increment the given integer variable of 1.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
225 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
226
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
227 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
228 <num>20</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
229 <name>add_float</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
230 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
231 <param type="S" name="variable" unit="var_id" var="must"/>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
232 <param type="f" var="can" name="a"/>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
233 <param type="f" var="can" name="b"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
234 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
235 <desc>variable = a + b; Warning: a and b will be dereferenced as integers (not converted) if variable is an integer!</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
236 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
237
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
238 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
239 <num>21</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
240 <name>substract_float</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
241 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
242 <param type="S" name="variable" unit="var_id" var="must"/>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
243 <param type="f" var="can" name="a"/>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
244 <param type="f" var="can" name="b"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
245 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
246 <desc>variable = a - b; Warning: a and b will be dereferenced as integers (not converted) if variable is an integer!</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
247 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
248
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
249 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
250 <num>23</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
251 <name>divide_float</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
252 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
253 <param type="S" name="variable" unit="var_id" var="must"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
254 <param type="f" var="can" name="a"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
255 <param type="f" var="can" name="b"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
256 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
257 <desc>variable = a / b;</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
258 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
259
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
260 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
261 <num>25</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
262 <name>get_direction</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
263 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
264 <param type="S" var="must" values="-10005"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
265 <param type="f" name="x1" unit="pixels" var="can"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
266 <param type="f" name="y1" unit="pixels" var="can"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
267 <param type="f" name="x2" unit="pixels" var="can" values="192.0f"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
268 <param type="f" name="y2" unit="pixels" var="can" values="224.0f"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
269 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
270 <desc>Compute the direction between two points. If the first is at the left of the second put 0.0f in the variable, if it is above put pi/2, etc.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
271 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
272
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
273 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
274 <num>26</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
275 <name>float_to_unit_circle</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
276 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
277 <param type="S" var="must" values="float variables"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
278 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
279 <desc>Takes a float and transforms it to be in the [-pi, pi] interval.<br/>3.1415928 -> pi; 3.1415929 -> -pi.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
280 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
281
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
282 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
283 <num>27</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
284 <name>compare_ints</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
285 <params>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
286 <param type="S" var="can" name="a"/>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
287 <param type="S" var="can" name="b"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
288 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
289 <desc>Compare a and b, store the result (-1 if a &lt; b, 0 if a == b, 1 if a > b) in the "comparison register".</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
290 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
291
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
292 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
293 <num>28</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
294 <name>compare_floats</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
295 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
296 <param type="f" var="can" name="a"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
297 <param type="f" var="can" name="b"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
298 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
299 <desc>Like <ref>27</ref>, but with floats.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
300 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
301
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
302 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
303 <num>29</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
304 <name>relative_jump_if_lower_than</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
305 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
306 <param type="S" name="new_frame" unit="frame"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
307 <param type="S" name="relative_offset" unit="bytes"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
308 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
309 <desc>Like <ref>2</ref> but only when the comparison register equals to -1.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
310 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
311
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
312 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
313 <num>30</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
314 <name>relative_jump_if_lower_or_equal</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
315 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
316 <param type="S" name="new_frame" unit="frame" values="0, 60, 65, 120"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
317 <param type="S" name="relative_offset" unit="bytes" values="40, 44, 60, 456"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
318 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
319 <desc>Like <ref>2</ref> but only when the comparison register is different of 1.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
320 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
321
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
322 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
323 <num>31</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
324 <name>relative_jump_if_equal</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
325 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
326 <param type="S" name="new_frame" unit="frame" values="0, 2, 60"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
327 <param type="S" name="relative_offset" unit="bytes" values="44, 176, 324">Starting from the start of the current opcode.</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
328 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
329 <desc>Like <ref>2</ref> but only when the comparison register equals to 0.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
330 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
331
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
332 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
333 <num>32</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
334 <name>relative_jump_if_greater_than</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
335 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
336 <param type="S" name="new_frame" unit="frame" values="120"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
337 <param type="S" name="relative_offset" unit="bytes" values="64"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
338 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
339 <desc>Like <ref>2</ref> but only when the comparison register equals to 1.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
340 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
341
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
342 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
343 <num>33</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
344 <name>relative_jump_if_greater_or_equal</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
345 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
346 <param type="S" name="new_frame" unit="frame"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
347 <param type="S" name="relative_offset" unit="bytes"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
348 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
349 <desc>Like <ref>2</ref> but only when the comparison register is different of -1.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
350 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
351
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
352 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
353 <num>34</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
354 <name>relative_jump_if_not_equal</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
355 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
356 <param type="S" name="new_frame" unit="frame"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
357 <param type="S" name="relative_offset" unit="bytes"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
358 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
359 <desc>Like <ref>2</ref> but only when the comparison register is different of 0.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
360 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
361
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
362 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
363 <num>35</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
364 <name>call</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
365 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
366 <param type="S" name="function" unit="sub"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
367 <param type="S" name="param1"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
368 <param type="f" name="param2" values="-0.31415927f to 0.31415927f"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
369 </params>
6
578e67aa3c03 Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
370 <desc>Call given sub with -10001 = param1, -10005 = param2.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
371 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
372
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
373 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
374 <num>36</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
375 <name>return</name>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
376 <desc>When the sub is called by a <ref>35</ref> or a <ref>39</ref>, returns to the calling sub. If it was called from the main, crash.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
377 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
378
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
379 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
380 <num>39</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
381 <name>call_if_equal</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
382 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
383 <param type="S" name="function" unit="sub"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
384 <param type="S" values="0" name="param1"/>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
385 <param type="f" values="0.0f" name="param2"/>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
386 <param type="S" name="a"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
387 <param type="S" name="b"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
388 </params>
6
578e67aa3c03 Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
389 <desc>Call given sub with -10001 = param1, -10005 = param2 if a == b.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
390 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
391
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
392 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
393 <num>43</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
394 <name>set_pos</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
395 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
396 <param type="f" name="x" var="can"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
397 <param type="f" name="y" var="can"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
398 <param type="f" name="z" var="can" values="0.0f">Ignored</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
399 </params>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
400 <desc>Move the enemy to a new position, used for interpolation.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
401 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
402
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
403 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
404 <num>45</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
405 <name>set_angle_speed</name>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
406 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
407 <param type="f" name="angle" unit="radian">0.0f is left, PI/2 is down.</param>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
408 <param type="f" name="speed" unit="pixels/frame"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
409 </params>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
410 <desc>Set the angular trajectory and speed of the enemy.</desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
411 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
412
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
413 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
414 <num>46</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
415 <name>set_rotation_speed</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
416 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
417 <param type="f" name="speed" unit="radian/frame"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
418 </params>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
419 <desc>Change the angular trajectory of the enemy. It continues to turn until this function is called again.</desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
420 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
421
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
422 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
423 <num>47</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
424 <name>set_speed</name>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
425 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
426 <param type="f" name="speed" unit="pixels/frame"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
427 </params>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
428 <desc>Change the speed of the enemy.</desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
429 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
430
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
431 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
432 <num>48</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
433 <name>set_acceleration</name>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
434 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
435 <param type="f" name="step" unit="pixels/frame"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
436 </params>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
437 <desc>Change the speed of the enemy step by step, at each frame.</desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
438 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
439
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
440 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
441 <num>49</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
442 <name>set_random_angle</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
443 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
444 <param type="f" name="min" unit="radian" values="0.7853982f"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
445 <param type="f" name="max" unit="radian" values="2.3561945f"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
446 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
447 <desc>Set the enemy angle in the [min, max-min) range.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
448 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
449
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
450 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
451 <num>50</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
452 <name>set_random_angle_ex</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
453 <params>
6
578e67aa3c03 Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
454 <param type="f" values="-PI (-3.1415927f)"/>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
455 <param type="f" values="PI (3.1415927f)"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
456 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
457 <desc>Like <ref>49</ref>, but enclosed in boxes. TODO: document that.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
458 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
459
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
460 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
461 <num>51</num>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
462 <name>set_speed_towards_player</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
463 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
464 <param type="S" value="0">Ignored</param>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
465 <param type="f" name="speed" unit="pixels/frame"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
466 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
467 <desc>Sets the speed of the enemy, and change its direction to where the player is at that frame.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
468 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
469
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
470 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
471 <num>52</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
472 <name>move_in_decel</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
473 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
474 <param type="S" name="duration" unit="frames" values="10, 370"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
475 <param type="f" name="angle" unit="radian" values="0.0f to pi"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
476 <param type="f" name="speed" unit="pixels/frame" values="0.8f, 4.0f"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
477 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
478 <desc>Like <ref>45</ref>, but move the enemy in `duration` frames, using an decelerating interpolation function. TODO: find that function.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
479 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
480
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
481 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
482 <num>56</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
483 <name>move_to_linear</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
484 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
485 <param type="S" name="duration" unit="frames"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
486 <param type="f" name="x" unit="pixels"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
487 <param type="f" name="y" unit="pixels"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
488 <param type="f" name="z" unit="pixels" values="0.0f">Ignored</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
489 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
490 <desc>Move the enemy to the new position in `duration` amount of frames, using the <code>x↦x</code> function.</desc>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
491 </op>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
492
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
493 <op>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
494 <num>57</num>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
495 <name>move_to_decel</name>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
496 <params>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
497 <param type="S" name="duration" unit="frames"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
498 <param type="f" name="x" unit="pixels"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
499 <param type="f" name="y" unit="pixels"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
500 <param type="f" name="z" unit="pixels" values="0.0f">Ignored</param>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
501 </params>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
502 <desc>Like <ref>56</ref>, but with <code>x↦2x-x²</code>.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
503 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
504
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
505 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
506 <num>59</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
507 <name>move_to_accel</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
508 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
509 <param type="S" name="duration" unit="frames"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
510 <param type="f" name="x" unit="pixels" values="192.0f"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
511 <param type="f" name="y" unit="pixels" values="-64.0f, 150.0f"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
512 <param type="f" name="z" unit="pixels" values="0.0f"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
513 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
514 <desc>Like <ref>56</ref>, but with <code>x↦x²</code>.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
515 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
516
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
517 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
518 <num>61</num>
6
578e67aa3c03 Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
519 <name>stop_in_decel</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
520 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
521 <param type="S" name="duration" unit="frames"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
522 </params>
6
578e67aa3c03 Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
523 <desc>Keep a straight trajectory with decelerating speed to stop in duration frames.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
524 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
525
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
526 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
527 <num>63</num>
6
578e67aa3c03 Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
528 <name>stop_in_accel</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
529 <params>
6
578e67aa3c03 Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
530 <param type="S" name="duration" unit="frames"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
531 </params>
6
578e67aa3c03 Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 5
diff changeset
532 <desc>Like <ref>61</ref> but with acceleration instead of deceleration.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
533 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
534
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
535 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
536 <num>65</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
537 <name>set_screen_box</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
538 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
539 <param type="f" name="x1" unit="pixels"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
540 <param type="f" name="y1" unit="pixels"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
541 <param type="f" name="x2" unit="pixels"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
542 <param type="f" name="y2" unit="pixels"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
543 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
544 <desc>Disallow an enemy to quit the defined rectangle. If it goes outside it is destroyed. By default this rectangle is the displayed screen.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
545 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
546
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
547 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
548 <num>66</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
549 <name>clear_screen_box</name>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
550 <desc>Remove the limit set in <ref>65</ref>.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
551 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
552
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
553 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
554 <num>67</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
555 <name>set_bullet_attributes_towards_player</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
556 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
557 <param type="s" name="anim" unit="script"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
558 <param type="s" name="sprite_index_offset" unit="script"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
559 <param type="S" name="bullets_per_shot" var="can"/>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
560 <param type="S" name="number_of_shots"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
561 <param type="f" name="speed" unit="pixels/frame"/>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
562 <param type="f" name="speed2" unit="pixels/frame">speed + (speed2 - speed) * salve / nb_salve</param>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
563 <param type="f" name="launch_angle" unit="radian"/>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
564 <param type="f" name="angle" unit="radian"/>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
565 <param type="S" name="flags">>= 64, freezed</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
566 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
567 <desc>Modify the attributes of the next enemy attack. Directs it to the player.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
568 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
569
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
570 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
571 <num>68</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
572 <name>set_bullet_attributes_to_the_right</name>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
573 <params ref="67"/>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
574 <desc>The same as <ref>67</ref>, except the 0.0f launch angle is to the right of the enemy, instead of towards the player.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
575 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
576
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
577 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
578 <num>69</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
579 <name>set_bullet_attributes_towards_player_equally_distributed</name>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
580 <params ref="67"/>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
581 <desc>Like <ref>67</ref>, except bullets of a shot are distributed equally all around the enemy, computing the angle by itself.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
582 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
583
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
584 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
585 <num>70</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
586 <name>set_bullet_attributes_to_the_right_equally_distributed</name>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
587 <params ref="67"/>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
588 <desc>Like <ref>68</ref>, except bullets of a shot are distributed equally all around the enemy, computing the angle by itself.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
589 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
590
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
591 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
592 <num>71</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
593 <name>set_bullet_attributes_towards_player_equally_distributed_and_rotated</name>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
594 <params ref="67"/>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
595 <desc>Like <ref>69</ref>, but with a rotation of pi/bullets_per_shot.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
596 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
597
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
598 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
599 <num>74</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
600 <name>set_bullet_attributes_towards_player_randomly_distributed</name>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
601 <params ref="67"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
602 <desc>Like <ref>70</ref> but with some alea (?) in the angle.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
603 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
604
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
605 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
606 <num>75</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
607 <name>set_bullet_attributes_to_the_right_with_some_random_angle</name>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
608 <params ref="67"/>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
609 <desc>Like <ref>68</ref>, but with some random angle.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
610 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
611
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
612 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
613 <num>76</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
614 <name>bullet_interval</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
615 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
616 <param type="S" name="interval" unit="frames" values="0 to 70"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
617 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
618 <desc>Time between two shots, 0 is infinite.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
619 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
620
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
621 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
622 <num>77</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
623 <name>bullet_interval_random</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
624 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
625 <param type="S" name="interval" unit="frames" values="0 to 300"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
626 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
627 <desc>Like <ref>76</ref>, but with a random delay of [0, interval) frames at the start.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
628 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
629
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
630 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
631 <num>78</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
632 <name>delay_attack</name>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
633 <desc>If present, delays the first attack of the amount of frames defined by <ref>77</ref>. If not, the enemy shoots instantly after setting the bullets attributes.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
634 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
635
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
636 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
637 <num>79</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
638 <name>no_delay_attack</name>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
639 <desc>Instantly start to attack.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
640 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
641
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
642 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
643 <num>81</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
644 <name>bullet_launch_offset</name>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
645 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
646 <param type="f" name="x" unit="pixels" var="can"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
647 <param type="f" name="y" unit="pixels" var="can"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
648 <param type="f" name="z" unit="pixels" var="can" values="0.0f">Ignored</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
649 </params>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
650 <desc>Change the offset of the launch of bullets.</desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
651 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
652
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
653 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
654 <num>82</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
655 <name>set_extended_bullet_attributes</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
656 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
657 <param type="S" values="-1, 1, 2, 40 to 240"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
658 <param type="S" values="-1, 1, 2"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
659 <param type="S" values="-1">Unused</param>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
660 <param type="S" values="-1">Unused</param>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
661 <param type="f" var="can" values="-100021.0f, variables, -1.0f, -3.6651914f to 2.443461f"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
662 <param type="f" var="can" values="variables, -999.0f, -1.0f, -0.03141593f to 4.0f"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
663 <param type="f" values="-1.0f">Unused</param>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
664 <param type="f" values="-1.0f">Unused</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
665 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
666 <desc>Heavily linked to 67-75 last parameter, the flags:<dl>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
667 <dt>1:</dt>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
668 <dd>TODO: changes the bullet's speed in a strange way</dd>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
669
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
670 <dt>2:</dt>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
671 <dd>TODO: Whatever 2 does, it is in the same group as, and takes precedence over 4 and 8</dd>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
672 <dt>4:</dt>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
673 <dd>TODO: Whatever 4 does, it is in the same group as, and takes precedence over 8</dd>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
674 <dt>8:</dt>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
675 <dd>TODO</dd>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
676
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
677 <dt>16: <code><ref>82</ref>(int duration,,,, float length, float angle,,)</code></dt>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
678 <dd>for `duration` frames, add (cos(angle) * length, sin(angle) * length) to the speed vector at each frame?</dd>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
679 <dt>32: <code><ref>82</ref>(int duration, int count,,, float acceleration, float angular_speed,,)</code></dt>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
680 <dd>for `duration` frames, add acceleration to speed, and angular_speed to angle at each frame. Do that count times.</dd>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
681 <dt>64: <code><ref>82</ref>(int nb_frames, int count,,, float angle, float speed,,)</code></dt>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
682 <dd>stop the bullet in nb_frames, then add angle to its angle, and sets its speed to speed. Do that count times.</dd>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
683 <dt>128: <code><ref>82</ref>(int nb_frames, int count,,, float angle, float speed,,)</code></dt>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
684 <dd>stop the bullet in nb_frames, then directs the bullet towards the player, add angle to its angle, and sets its speed to speed. Do that count times.</dd>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
685 <dt>256: <code><ref>82</ref>(int nb_frames, int count,,, float angle, float speed,,)</code></dt>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
686 <dd>stop the bullet in nb_frames, then sets the bullet's angle and speed to angle and speed. Do that count times.</dd>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
687
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
688 <dt>512:</dt>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
689 <dd>TODO: doesn't seem to change anything?</dd>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
690
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
691 <dt>1024: <code><ref>82</ref>(int nb_bounces,,,, float speed,,,)</code></dt>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
692 <dd>Bullets “bounce”, reentering the screen as soon as they leave it, with a new speed set.</dd>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
693 <dt>2048:</dt>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
694 <dd>Like 1024, except it only bounces when colliding with the left, upper and right edges.</dd></dl></desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
695 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
696
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
697 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
698 <num>83</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
699 <name>change_bullets_in_star_bonus</name>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
700 <desc>Isn’t called for every boss, there should be another way to do that.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
701 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
702
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
703 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
704 <num>84</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
705 <name></name>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
706 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
707 <param type="S" values="-1, 7, 22, 23, 25, 27"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
708 </params>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
709 <desc></desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
710 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
711
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
712 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
713 <num>85</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
714 <name>laser</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
715 <params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
716 <param type="s" name="laser_type" unit="script"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
717 <param type="s" name="sprite_index_offset" unit="script"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
718 <param type="f" name="angle" unit="radian">clockwise</param>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
719 <param type="S" name="speed" unit="pixels/frame">speed of the laser along its axis</param>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
720 <param type="f" name="start_offset" unit="pixels">offset along the laser axis, relative to the enemy. If negative, it is considered as 0.</param>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
721 <param type="f" name="end_offset" unit="pixels">offset along the laser axis, relative to the enemy. Can be negative. In case end_offset &lt; start_offset, the laser will be in the oposite direction.</param>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
722 <param type="f" name="max_length" unit="pixels">TODO: Not really a length, something really odd. The laser starts at max(start_offset, end_offset - length) and ends at end_offset.</param>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
723 <param type="f" name="width" unit="pixels"/>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
724 <param type="S" name="start_duration" unit="frames"/>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
725 <param type="S" name="duration" unit="frames"/>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
726 <param type="S" name="stop_duration" unit="frames"/>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
727 <param type="S" name="grazing_dealy" unit="frames">how long to wait before allowing grazing</param>
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
728 <param type="S" name="grazing_extra_duration" unit="frames">how long to allow grazing after the laser started to disappear</param>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
729 <param type="S" values="0"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
730 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
731 <desc>Spawn a laser and set its attributes.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
732 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
733
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
734 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
735 <num>86</num>
7
2a7b9d62c0c4 Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents: 6
diff changeset
736 <name>laser_towards_player</name>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
737 <params ref="85"/>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
738 <desc>Like <ref>85</ref>, with the default direction towards the player.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
739 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
740
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
741 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
742 <num>87</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
743 <name>set_upcoming_id</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
744 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
745 <param type="S" name="laser" unit="laser_id"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
746 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
747 <desc>Sets upcoming laser to a given id, in order to manipulate it later.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
748 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
749
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
750 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
751 <num>88</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
752 <name>alter_laser_angle</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
753 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
754 <param type="S" name="laser" unit="laser_id"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
755 <param type="f" name="delta" unit="radian"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
756 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
757 <desc>Adds delta to the laser's angle.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
758 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
759
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
760 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
761 <num>90</num>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
762 <name>translate_laser</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
763 <params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
764 <param type="S" values="0 to 3" name="laser" unit="laser_id"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
765 <param type="f" values="0.0f" name="x" unit="pixels"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
766 <param type="f" values="0.0f" name="y" unit="pixels"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
767 <param type="f" values="0.0f" name="z" unit="pixels">Ignored</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
768 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
769 <desc>Translate a laser with the current position of the launching enemy as origin, but don’t follow her after that.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
770 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
771
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
772 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
773 <num>92</num>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
774 <name>cancel_laser</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
775 <params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
776 <param type="S" values="0 to 3" name="laser" unit="laser_id"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
777 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
778 <desc>Cancel a laser before its normal duration.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
779 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
780
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
781 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
782 <num>93</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
783 <name>set_spellcard</name>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
784 <params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
785 <param type="s" name="face" value="0 to 3">If greater than 3, it’s the character faces that are used.</param>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
786 <param type="s" name="number">As in the captured spellcards screen, minus 1.</param>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
787 <param type="z" name="name">In SHIFT_JIS</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
788 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
789 <desc>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
790 <p>Start a spellcard and</p>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
791 <ul>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
792 <li>Display the name of the spellcard in the screen.</li>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
793 <li>Change the background to the eff one.</li>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
794 <li>Make the enemies more resistant or the attacks weaker. The damage caused by a bullet is reduced to 6 instead of 48.</li>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
795 <li>Clear all the bullets and transform them in star bonus.</li>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
796 </ul>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
797 </desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
798 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
799
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
800 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
801 <num>94</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
802 <name>end_spellcard</name>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
803 <desc>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
804 <p>Finish the current spellcard and</p>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
805 <ul>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
806 <li>Remove its name.</li>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
807 <li>Put back the normal background.</li>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
808 <li>Return the damages to the normal.</li>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
809 <li>Clear all the bullets and transform them in star bonus.</li>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
810 </ul>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
811 </desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
812 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
813
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
814 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
815 <num>95</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
816 <name>spawn_enemy</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
817 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
818 <param type="S" name="function" unit="sub" values="1, 20 to 66"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
819 <param type="f" name="x" unit="pixels" var="can" values="-10015.0f, -10005.0f, -32.0f to 416.0f"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
820 <param type="f" name="y" unit="pixels" var="can" values="-10016.0f, -32.0f to 464.0f"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
821 <param type="f" name="z" unit="pixels" var="can" values="-10017.0f, -1.5707964f to 3.3379421f, 160.0f, 288.0f"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
822 <param type="s" name="resistance" values="-5536, 2 to 2000"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
823 <param type="s" name="drop_type" values="-2, 0, 1, 2"/>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
824 <param type="S" name="die_score" values="0, 10, 2000"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
825 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
826 <desc>Spawns an enemy, see <a href="ecl.xhtml#enemy_sub">the main creation of an enemy</a>.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
827 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
828
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
829 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
830 <num>96</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
831 <name>kill_all_enemies</name>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
832 <desc>Instantly kill all enemies presents in the screen, dropping their bonus as if they were killed by the player. Seems to not kill if the enemy is not touchable (see <ref>117</ref>) or a boss (see <ref>101</ref>).</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
833 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
834
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
835 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
836 <num>97</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
837 <name>set_enemy_anim</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
838 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
839 <param type="S" name="anim" unit="script" var="no"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
840 </params>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
841 <desc>Set a sprite (taken from current anm) for the enemy.</desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
842 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
843
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
844 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
845 <num>98</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
846 <name>set_boss_anims</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
847 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
848 <param type="s" name="default" unit="script" var="no"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
849 <param type="s" name="far_left" unit="script" var="no"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
850 <param type="s" name="far_right" unit="script" var="no"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
851 <param type="s" name="left" unit="script" var="no"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
852 <param type="s" name="right" unit="script" var="no"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
853 <param type="s" name="padding"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
854 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
855 <desc>Give a set of animations for a boss deplacements.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
856 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
857
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
858 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
859 <num>99</num>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
860 <name>set_aux_anim</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
861 <params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
862 <param type="S" name="number" values="0, 4"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
863 <param type="S" name="animation" unit="script" values="16 to 18, 66"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
864 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
865 <desc>Add an auxiliary animation (up to 8) with always the same coordinates as the enemy.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
866 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
867
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
868 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
869 <num>100</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
870 <name>set_death_anim</name>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
871 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
872 <param type="S" name="anim" unit="script" var="no" values="768, 769, 258">In fact, any 256n+[0-2] works and is the same; other values make the program crash.</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
873 </params>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
874 <desc>When the enemy is destroyed, the animation used.</desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
875 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
876
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
877 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
878 <num>101</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
879 <name>set_boss_mode</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
880 <params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
881 <param type="S" name="x" values="-1, 0">0 is activate, -1 is deactivate.</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
882 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
883 <desc>Activates the boss mode, with her life bar and lives number displayed on the top. Doesn't do anything before calling <ref>126</ref> (TODO: really?). If there are multiple boss, spawned by a <ref>95</ref>, only the last one has her life displayed, but standard enemies are blocked only until any of them is killed.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
884 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
885
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
886 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
887 <num>102</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
888 <name>create_squares</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
889 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
890 <param type="S" values="0 to 11, 16, 22, 25"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
891 <param type="f" name="x_rotate" values="-1.0f to 1.1f"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
892 <param type="f" name="y_rotate" values="-1.0f to -0.1f"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
893 <param type="f" name="z_rotate" values="-0.3f, -0.5f"/>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
894 <param type="f" values="48.0f"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
895 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
896 <desc>Create the squares turning around some boss. They stay even after the destruction of the enemy.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
897 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
898
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
899 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
900 <num>103</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
901 <name>set_enemy_hitbox</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
902 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
903 <param type="f" name="width" unit="pixels" values="16 to 56"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
904 <param type="f" name="height" unit="pixels" values="16 to 56"/>
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
905 <param type="f" name="depth" unit="pixels" values="32.0f">Ignored</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
906 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
907 <desc></desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
908 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
909
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
910 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
911 <num>104</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
912 <name>set_collidable</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
913 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
914 <param type="S" name="x" values="0, 1">Bitfield</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
915 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
916 <desc>if x &amp; 1, the enemy can collide with the player, else it cannot.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
917 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
918
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
919 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
920 <num>105</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
921 <name>set_damageable</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
922 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
923 <param type="S" name="x" values="0, 1">Bitfield</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
924 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
925 <desc>if x &amp; 1, the enemy can take damage, else it cannot.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
926 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
927
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
928 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
929 <num>106</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
930 <name>play_sound</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
931 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
932 <param type="S" values="5 to 9, 14, 16 to 18, 22, 24 to 27">
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
933 0 = crash,
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
934 1 = crash,
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
935 /11
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
936 </param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
937 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
938 <desc>Play a sound.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
939 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
940
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
941 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
942 <num>107</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
943 <name>set_death_flags</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
944 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
945 <param type="S"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
946 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
947 <desc>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
948 <p>Control what to do when life falls to zero, only in the [0, 7] interval:</p>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
949 <p>0 = normal;<br/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
950 1 = die once and unset touchable/collidable;<br/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
951 2 = die in loop (drop an item each time, start a new die animation), but keep being here, touchable/collidable;<br/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
952 3 = die once and keep being touchable/collidable if killed by the normal attack, else die as in normal (with a bomb, a collision, a <ref>96</ref>…), even after dying once from a normal attack;<br/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
953 4-7 (unused) = die in loop, with lot of sparks, but don't drop bonus.</p>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
954 </desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
955 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
956
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
957 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
958 <num>108</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
959 <name>call_when_killed</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
960 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
961 <param type="S" name="function" unit="sub"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
962 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
963 <desc>Specify the subroutine to call when the enemy is killed. Only if the death flag is not null.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
964 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
965
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
966 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
967 <num>109</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
968 <name>memory_write_int32</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
969 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
970 <param type="S" name="value"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
971 <param type="S" name="offset" values="0"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
972 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
973 <desc>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
974 <pre>int32_t memory *= enemy->data;
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
975 memory[offset] = value;</pre>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
976 <p>Eight variables (indexes 0 to 7) seems to be available, the following data is enemy state, with:<br/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
977 9: x, 10: y, 11: z, 12: hitbox width, 13: hitbox height, 14: hitbox depth, ...<br/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
978 TODO: see 0x00409532</p>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
979
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
980 <p>This is used to set a sub to call once the MSG has finished.</p>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
981 </desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
982 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
983
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
984 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
985 <num>111</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
986 <name>set_life</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
987 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
988 <param type="S" name="life"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
989 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
990 <desc>Equivalent to <ref>4</ref>(-10024, life).</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
991 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
992
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
993 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
994 <num>112</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
995 <name>set_elapsed_time</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
996 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
997 <param type="S" name="time" unit="frames" values="0, 99999"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
998 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
999 <desc>Equivalent to <ref>4</ref>(-10022, time).</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1000 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1001
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1002 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1003 <num>113</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1004 <name>set_boss_lower_life_limit</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1005 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1006 <param type="S" name="limit" unit="life" values="-1, 500-3400"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1007 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1008 <desc>When enemy's life gets lower or equal to the limit, the callback set by <ref>114</ref> is called.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1009 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1010
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1011 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1012 <num>114</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1013 <name>set_boss_life_callback</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1014 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1015 <param type="S" name="callback" unit="sub" values="9-68"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1016 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1017 <desc>Specify the sub to call when the enemy's life gets below a certain amount set by a <ref>113</ref>.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1018 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1019
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1020 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1021 <num>115</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1022 <name>set_timeout</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1023 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1024 <param type="S" name="timeout" unit="frame"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1025 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1026 <desc>Set the timeout of the current boss attack.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1027 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1028
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1029 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1030 <num>116</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1031 <name>set_timeout_callback</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1032 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1033 <param type="S" name="function" unit="sub" values="6 to 68"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1034 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1035 <desc>Like <ref>114</ref>, but when timeouted.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1036 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1037
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1038 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1039 <num>117</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1040 <name>set_touchable</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1041 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1042 <param type="S" name="x" values="0, 1">Bitfield</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1043 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1044 <desc>If 0, the player's attacks don't do anything to the enemy. RumiaA's homing attack is no more attracted by that enemy. <ref>96</ref> won’t kill it. 1 restores the usual comportment.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1045 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1046
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1047 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1048 <num>118</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1049 <name>quot_explosion_quot</name> <!-- TODO: find a better name. -->
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1050 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1051 <param type="S" values="3, 4, 12, 17, 18"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1052 <param type="S" values="1, 2, 6"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1053 <param type="S" values="1, 0xffffffff, 0xffffff80, 0xffff8080, 0xff80ff80, 0xff8080ff"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1054 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1055 <desc>"Explosion" (dying boss), Meiling’s moves, and various graphical effects like that.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1056 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1057
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1058 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1059 <num>119</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1060 <name>drop_bonus</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1061 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1062 <param type="S" name="number" values="3, 4, 5, 6, 8, 10, 12, 20"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1063 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1064 <desc>Drop a certain number of bonus at the frame it is called, in a square around the enemy (TODO: check its dimensions). If the power is not max, drop power items, else drop point items.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1065 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1066
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1067 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1068 <num>120</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1069 <name>set_automatic_rotate</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1070 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1071 <param type="S" name="x" values="0, 1">Bitfield</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1072 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1073 <desc>if x &amp; 1, rotate the sprite according to the angle of the enemy.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1074 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1075
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1076 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1077 <num>121</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1078 <name>call_special_function_with_param</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1079 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1080 <param type="S" name="function" values="0, 1, 3, 4, 7 to 9, 11 to 14, 16"/>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1081 <param type="S" name="param" values="0 to 3, 5, 6, 128"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1082 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1083 <desc>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1084 <p>Call an hardcoded function in this list:</p>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1085 <table>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1086 <tr><th>Function</th><th>Description</th></tr>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1087 <tr><td>0</td><td>Freeze all the bullets in the screen if the parameter is 0, else unfreeze them. Do an explosion animation too.</td></tr>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1088 <tr><td>1</td><td>Launch a bullet immediately, with a launch_offset of [-param, param] for each coordinate.</td></tr>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1089 <tr><td>3</td><td>Change the -10002, -10003 and -10004 variables according to the character. [0, 3, 1] for ReimuA, [2, 3, 4] for ReimuB, [1, 4, 0] for MarisaA and [4, 2, 3] for MarisaB. Used to choose the dual-sign spellcards of Patchouli. The parameter is unused.</td></tr>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1090 <tr><td>4</td><td>If 0, unfreeze time and do an explosion animation. If 1, freeze time for the player, the bullets, the texts, but let the ECL run normally, also do an explosion animation. Else do nothing.</td></tr>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1091 <tr><td>7</td><td>If 0, make a lasers web, and remove any previous. Else, a crapload of bullets directed towards the player (TODO: find their origin).</td></tr>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1092 <tr><td>8</td><td>Do nothing?</td></tr>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1093 <tr><td>9</td><td>Do an explosion animation.</td></tr>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1094 <tr><td>11</td><td>Do an explosion animation.</td></tr>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1095 <tr><td>12</td><td>Do nothing?</td></tr>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1096 <tr><td>13</td><td>Fire `param` times the configured attack in circle, as if the enemy was at the center of the screen with:<ul>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1097 <li>-10006 that overrides the launch_angle set in 67-75;</li>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1098 <li>-10007 the rotation of the launch points with the center of the screen as origin;</li>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1099 <li>-10008 the distance between the center of the screen and the launch points.</li></ul>Seems to be launched only each 6 frames, even if the call is each frame.</td></tr>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1100 <tr><td>14</td><td>Do nothing?</td></tr>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1101 <tr><td>16</td><td>Used in QED: Ripples of 495 Years and probably do a temporization and modify launch_offset.</td></tr>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1102 </table>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1103 </desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1104 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1105
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1106 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1107 <num>122</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1108 <name>call_special_function_without_param</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1109 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1110 <param type="S" name="function"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1111 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1112 <desc>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1113 <p>Call an hardcoded function in this list:</p>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1114 <table>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1115 <tr><th>Function</th><th>Description</th></tr>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1116 <tr><td>-1</td><td>Stop</td></tr>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1117 <tr><td>2</td><td>Do nothing?</td></tr>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1118 <tr><td>5</td><td>Sakuya’s knives, each 12 frames.</td></tr>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1119 <tr><td>6</td><td>Add a wings flapping animation. Used by the Scarlet sisters.</td></tr>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1120 <tr><td>10</td><td>Some graphic animation.</td></tr>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1121 <tr><td>15</td><td>The bullets 6, 7, 8 and 9 push the 1, 2, 3, 4 and 5 bullets. Also do some graphic animation.</td></tr>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1122 </table>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1123 </desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1124 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1125
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1126 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1127 <num>123</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1128 <name>skip_frames</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1129 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1130 <param type="S" name="number" unit="frames" var="can"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1131 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1132 <desc>Skip a certain amount of frames, while keeping the current instruction pointer in place.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1133 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1134
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1135 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1136 <num>124</num>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1137 <name>drop_specific_bonus</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1138 <params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1139 <param type="S" name="type" var="no">0 = power, 1 = point, 2 = big power, 3 = bomb, 4 = full power, 5 = 1up, 6 = star bonus, greater drop nothing.</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1140 </params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1141 <desc>Drop a bonus vertically. Can be called multiple times to drop more items, but they'll be superposed.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1142 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1143
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1144 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1145 <num>125</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1146 <name></name>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1147 <desc></desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1148 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1149
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1150 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1151 <num>126</num>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1152 <name>set_boss_lives</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1153 <params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1154 <param type="S" name="lives">Can even be negative. :D</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1155 </params>
5
b3644dff344c Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 3
diff changeset
1156 <desc>Sets the remaining lives of a boss. Should be called at the start of each round.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1157 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1158
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1159 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1160 <num>127</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1161 <name></name>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1162 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1163 <param type="S" var="can/must" values="integer variables"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1164 </params>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1165 <desc></desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1166 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1167
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1168 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1169 <num>128</num>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1170 <name>interrupt_anm</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1171 <params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1172 <param type="S" name="interruption" values="1"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1173 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1174 <desc>Send this interruption to the anm.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1175 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1176
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1177 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1178 <num>129</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1179 <name></name>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1180 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1181 <param type="S" values="0">Bitfield?</param>
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1182 <param type="S" values="1">Bitfield?</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1183 </params>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1184 <desc></desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1185 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1186
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1187 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1188 <num>130</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1189 <name></name>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1190 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1191 <param type="S" values="1">Bitfield?</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1192 </params>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1193 <desc></desc>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1194 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1195
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1196 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1197 <num>131</num>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1198 <name>set_difficulty_influence</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1199 <params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1200 <param type="f" name="speed_low" values="-1.0f, -0.5f, -0.3f, 0.0f"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1201 <param type="f" name="speed_high" values="0.0f, 0.3f, 0.8f, 1.0f"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1202 <param type="S" name="delay_low" values="-3, -2, -1, 0"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1203 <param type="S" name="delay_high" values="0, 2, 4, 5, 6"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1204 <param type="S" name="shots_low" values="0"/>
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1205 <param type="S" name="shots_high" values="0"/>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1206 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1207 <desc>Change the influence of the difficulty on the attacks. The defaults are (-0.5f, 0.5f, 0, 0, 0, 0).</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1208 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1209
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1210 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1211 <num>132</num>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1212 <name>set_invisible</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1213 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1214 <param type="S" values="0, 1">Bitfield</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1215 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1216 <desc><div xmlns="http://www.w3.org/1999/xhtml">
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1217 If <code>x &amp; 1</code>, disable drawing of the sprite <strong>and</strong> destroy it. While it isn’t set to 0, loading a new sprite won’t make it reappear.
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1218 </div></desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1219 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1220
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1221 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1222 <num>133</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1223 <name></name>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1224 <desc>Do not influence on the game itself. TODO: what is its utility?</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1225 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1226
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1227 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1228 <num>134</num>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1229 <name></name>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1230 <desc>Do not influence on the game itself. TODO: what is its utility?</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1231 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1232
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1233 <op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1234 <num>135</num>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1235 <name>enable_spellcard_bonus</name>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1236 <params>
12
79dfd9765a67 I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 7
diff changeset
1237 <param type="S" values="0, 1">Bitfield</param>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1238 </params>
13
2925b0e246c6 Fix a lot of things, and add a TODO.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 12
diff changeset
1239 <desc>If <code>x &amp; 1</code>, FIXME. Enabled is the default.</desc>
0
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1240 </op>
f82309a9465e Initial commit.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
diff changeset
1241 </opcodes>