Mercurial > touhou-doc
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 |
rev | line source |
---|---|
0 | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <?xml-stylesheet type="text/xsl" href="../html.xsl"?> | |
3 <?xml-stylesheet type="text/css" href="../style.css"?> | |
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 < -10000) |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
19 return *(TYPE*) &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 | 66 |
67 <op> | |
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 | 71 </op> |
72 | |
73 <op> | |
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 | 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 | 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 | 80 </op> |
81 | |
82 <op> | |
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 | 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 | 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 | 90 </op> |
91 | |
92 <op> | |
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 | 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 | 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 | 101 </op> |
102 | |
103 <op> | |
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 | 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 | 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 | 111 </op> |
112 | |
113 <op> | |
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 | 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 | 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 | 121 </op> |
122 | |
123 <op> | |
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 | 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 | 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 | 131 </op> |
132 | |
133 <op> | |
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 | 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 | 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 | 141 </op> |
142 | |
143 <op> | |
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 | 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 | 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 | 152 </op> |
153 | |
154 <op> | |
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 | 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 | 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 | 161 </op> |
162 | |
163 <op> | |
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 | 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 | 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 | 172 </op> |
173 | |
174 <op> | |
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 | 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 | 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 | 183 </op> |
184 | |
185 <op> | |
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 | 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 | 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 | 194 </op> |
195 | |
196 <op> | |
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 | 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 | 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 | 205 </op> |
206 | |
207 <op> | |
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 | 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 | 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 | 216 </op> |
217 | |
218 <op> | |
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 | 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 | 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 | 225 </op> |
226 | |
227 <op> | |
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 | 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 | 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 | 236 </op> |
237 | |
238 <op> | |
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 | 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 | 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 | 247 </op> |
248 | |
249 <op> | |
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 | 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 | 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 | 258 </op> |
259 | |
260 <op> | |
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 | 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 | 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 | 271 </op> |
272 | |
273 <op> | |
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 | 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 | 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 | 280 </op> |
281 | |
282 <op> | |
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 | 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 | 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 < b, 0 if a == b, 1 if a > b) in the "comparison register".</desc> |
0 | 290 </op> |
291 | |
292 <op> | |
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 | 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 | 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 | 300 </op> |
301 | |
302 <op> | |
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 | 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 | 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 | 310 </op> |
311 | |
312 <op> | |
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 | 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 | 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 | 320 </op> |
321 | |
322 <op> | |
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 | 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 | 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 | 330 </op> |
331 | |
332 <op> | |
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 | 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 | 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 | 340 </op> |
341 | |
342 <op> | |
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 | 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 | 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 | 350 </op> |
351 | |
352 <op> | |
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 | 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 | 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 | 360 </op> |
361 | |
362 <op> | |
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 | 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 | 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 | 371 </op> |
372 | |
373 <op> | |
374 <num>36</num> | |
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 | 377 </op> |
378 | |
379 <op> | |
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 | 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 | 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 | 390 </op> |
391 | |
392 <op> | |
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 | 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 | 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 | 401 </op> |
402 | |
403 <op> | |
404 <num>45</num> | |
405 <name>set_angle_speed</name> | |
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 | 409 </params> |
410 <desc>Set the angular trajectory and speed of the enemy.</desc> | |
411 </op> | |
412 | |
413 <op> | |
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 | 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 | 418 </params> |
419 <desc>Change the angular trajectory of the enemy. It continues to turn until this function is called again.</desc> | |
420 </op> | |
421 | |
422 <op> | |
423 <num>47</num> | |
424 <name>set_speed</name> | |
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 | 427 </params> |
428 <desc>Change the speed of the enemy.</desc> | |
429 </op> | |
430 | |
431 <op> | |
432 <num>48</num> | |
433 <name>set_acceleration</name> | |
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 | 436 </params> |
437 <desc>Change the speed of the enemy step by step, at each frame.</desc> | |
438 </op> | |
439 | |
440 <op> | |
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 | 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 | 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 | 448 </op> |
449 | |
450 <op> | |
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 | 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 | 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 | 458 </op> |
459 | |
460 <op> | |
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 | 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 | 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 | 468 </op> |
469 | |
470 <op> | |
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 | 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 | 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 | 479 </op> |
480 | |
481 <op> | |
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 | 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 | 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 | 503 </op> |
504 | |
505 <op> | |
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 | 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 | 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 | 515 </op> |
516 | |
517 <op> | |
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 | 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 | 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 | 524 </op> |
525 | |
526 <op> | |
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 | 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 | 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 | 533 </op> |
534 | |
535 <op> | |
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 | 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 | 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 | 545 </op> |
546 | |
547 <op> | |
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 | 551 </op> |
552 | |
553 <op> | |
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 | 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 | 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 | 568 </op> |
569 | |
570 <op> | |
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 | 575 </op> |
576 | |
577 <op> | |
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 | 582 </op> |
583 | |
584 <op> | |
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 | 589 </op> |
590 | |
591 <op> | |
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 | 596 </op> |
597 | |
598 <op> | |
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 | 603 </op> |
604 | |
605 <op> | |
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 | 610 </op> |
611 | |
612 <op> | |
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 | 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 | 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 | 619 </op> |
620 | |
621 <op> | |
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 | 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 | 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 | 628 </op> |
629 | |
630 <op> | |
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 | 634 </op> |
635 | |
636 <op> | |
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 | 640 </op> |
641 | |
642 <op> | |
643 <num>81</num> | |
644 <name>bullet_launch_offset</name> | |
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 | 649 </params> |
650 <desc>Change the offset of the launch of bullets.</desc> | |
651 </op> | |
652 | |
653 <op> | |
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 | 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 | 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 | 695 </op> |
696 | |
697 <op> | |
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 | 701 </op> |
702 | |
703 <op> | |
704 <num>84</num> | |
705 <name></name> | |
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 | 708 </params> |
709 <desc></desc> | |
710 </op> | |
711 | |
712 <op> | |
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 | 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 < 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 | 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 | 732 </op> |
733 | |
734 <op> | |
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 | 739 </op> |
740 | |
741 <op> | |
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 | 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 | 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 | 748 </op> |
749 | |
750 <op> | |
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 | 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 | 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 | 758 </op> |
759 | |
760 <op> | |
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 | 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 | 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 | 770 </op> |
771 | |
772 <op> | |
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 | 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 | 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 | 779 </op> |
780 | |
781 <op> | |
782 <num>93</num> | |
783 <name>set_spellcard</name> | |
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 | 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 | 798 </op> |
799 | |
800 <op> | |
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 | 812 </op> |
813 | |
814 <op> | |
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 | 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 | 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 | 827 </op> |
828 | |
829 <op> | |
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 | 833 </op> |
834 | |
835 <op> | |
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 | 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 | 840 </params> |
841 <desc>Set a sprite (taken from current anm) for the enemy.</desc> | |
842 </op> | |
843 | |
844 <op> | |
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 | 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 | 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 | 856 </op> |
857 | |
858 <op> | |
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 | 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 | 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 | 866 </op> |
867 | |
868 <op> | |
869 <num>100</num> | |
870 <name>set_death_anim</name> | |
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 | 873 </params> |
874 <desc>When the enemy is destroyed, the animation used.</desc> | |
875 </op> | |
876 | |
877 <op> | |
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 | 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 | 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 | 884 </op> |
885 | |
886 <op> | |
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 | 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 | 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 | 897 </op> |
898 | |
899 <op> | |
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 | 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 | 906 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
907 <desc></desc> |
0 | 908 </op> |
909 | |
910 <op> | |
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 | 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 | 915 </params> |
12
79dfd9765a67
I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
916 <desc>if x & 1, the enemy can collide with the player, else it cannot.</desc> |
0 | 917 </op> |
918 | |
919 <op> | |
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 | 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 | 924 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
925 <desc>if x & 1, the enemy can take damage, else it cannot.</desc> |
0 | 926 </op> |
927 | |
928 <op> | |
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 | 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 | 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 | 939 </op> |
940 | |
941 <op> | |
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 | 944 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
945 <param type="S"/> |
0 | 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 | 955 </op> |
956 | |
957 <op> | |
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 | 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 | 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 | 964 </op> |
965 | |
966 <op> | |
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 | 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 | 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 | 982 </op> |
983 | |
984 <op> | |
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 | 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 | 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 | 991 </op> |
992 | |
993 <op> | |
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 | 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 | 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 | 1000 </op> |
1001 | |
1002 <op> | |
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 | 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 | 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 | 1009 </op> |
1010 | |
1011 <op> | |
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 | 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 | 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 | 1018 </op> |
1019 | |
1020 <op> | |
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 | 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 | 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 | 1027 </op> |
1028 | |
1029 <op> | |
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 | 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 | 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 | 1036 </op> |
1037 | |
1038 <op> | |
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 | 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 | 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 | 1045 </op> |
1046 | |
1047 <op> | |
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 | 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 | 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 | 1056 </op> |
1057 | |
1058 <op> | |
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 | 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 | 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 | 1065 </op> |
1066 | |
1067 <op> | |
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 | 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 | 1072 </params> |
12
79dfd9765a67
I *really* should commit more often.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
7
diff
changeset
|
1073 <desc>if x & 1, rotate the sprite according to the angle of the enemy.</desc> |
0 | 1074 </op> |
1075 | |
1076 <op> | |
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 | 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 | 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 | 1104 </op> |
1105 | |
1106 <op> | |
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 | 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 | 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 | 1124 </op> |
1125 | |
1126 <op> | |
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 | 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 | 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 | 1133 </op> |
1134 | |
1135 <op> | |
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 | 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 | 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 | 1142 </op> |
1143 | |
1144 <op> | |
1145 <num>125</num> | |
1146 <name></name> | |
1147 <desc></desc> | |
1148 </op> | |
1149 | |
1150 <op> | |
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 | 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 | 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 | 1157 </op> |
1158 | |
1159 <op> | |
1160 <num>127</num> | |
1161 <name></name> | |
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 | 1164 </params> |
1165 <desc></desc> | |
1166 </op> | |
1167 | |
1168 <op> | |
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 | 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 | 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 | 1175 </op> |
1176 | |
1177 <op> | |
1178 <num>129</num> | |
1179 <name></name> | |
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 | 1183 </params> |
1184 <desc></desc> | |
1185 </op> | |
1186 | |
1187 <op> | |
1188 <num>130</num> | |
1189 <name></name> | |
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 | 1192 </params> |
1193 <desc></desc> | |
1194 </op> | |
1195 | |
1196 <op> | |
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 | 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 | 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 | 1208 </op> |
1209 | |
1210 <op> | |
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 | 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 | 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 & 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 | 1219 </op> |
1220 | |
1221 <op> | |
1222 <num>133</num> | |
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 | 1225 </op> |
1226 | |
1227 <op> | |
1228 <num>134</num> | |
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 | 1231 </op> |
1232 | |
1233 <op> | |
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 | 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 | 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 & 1</code>, FIXME. Enabled is the default.</desc> |
0 | 1240 </op> |
1241 </opcodes> |