comparison src/th06/ecl.rs @ 685:11d7e4d6947a

ecl_vm: nearing the complete list
author Gauvain "GovanifY" Roussel-Tarbouriech <gauvain@govanify.com>
date Fri, 16 Aug 2019 23:27:09 +0200
parents c8bb28961d31
children aefe5b5f481e
comparison
equal deleted inserted replaced
684:c8bb28961d31 685:11d7e4d6947a
187 2 => fn RelativeJump(frame: i32, ip: i32), 187 2 => fn RelativeJump(frame: i32, ip: i32),
188 3 => fn RelativeJumpEx(frame: i32, ip: i32, variable_id: i32), 188 3 => fn RelativeJumpEx(frame: i32, ip: i32, variable_id: i32),
189 4 => fn SetInt(var: i32, value: i32), 189 4 => fn SetInt(var: i32, value: i32),
190 5 => fn SetFloat(var: i32, value: f32), 190 5 => fn SetFloat(var: i32, value: f32),
191 6 => fn SetRandomInt(var: i32, max: i32), 191 6 => fn SetRandomInt(var: i32, max: i32),
192 7 => fn SetRandomIntMin(var: i32, max: i32, min: i32),
192 8 => fn SetRandomFloat(var: i32, max: f32), 193 8 => fn SetRandomFloat(var: i32, max: f32),
193 9 => fn SetRandomFloatMin(var: i32, amplitude: f32, min: f32), 194 9 => fn SetRandomFloatMin(var: i32, amplitude: f32, min: f32),
194 10 => fn StoreX(var: i32), 195 10 => fn StoreX(var: i32),
196 11 => fn StoreY(var: i32),
197 12 => fn StoreZ(var: i32),
195 13 => fn AddInt(var: i32, a: i32, b: i32), 198 13 => fn AddInt(var: i32, a: i32, b: i32),
196 14 => fn SubstractInt(var: i32, a: i32, b: i32), 199 14 => fn SubstractInt(var: i32, a: i32, b: i32),
197 15 => fn MultiplyInt(var: i32, a: i32, b: i32), 200 15 => fn MultiplyInt(var: i32, a: i32, b: i32),
198 16 => fn DivideInt(var: i32, a: i32, b: i32), 201 16 => fn DivideInt(var: i32, a: i32, b: i32),
199 17 => fn ModuloInt(var: i32, a: i32, b: i32), 202 17 => fn ModuloInt(var: i32, a: i32, b: i32),
200 18 => fn Increment(var: i32), 203 18 => fn Increment(var: i32),
204 19 => fn Decrement(var: i32),
201 20 => fn AddFloat(var: i32, a: f32, b: f32), 205 20 => fn AddFloat(var: i32, a: f32, b: f32),
202 21 => fn SubstractFloat(var: i32, a: f32, b: f32), 206 21 => fn SubstractFloat(var: i32, a: f32, b: f32),
207 22 => fn MultiplyFloat(var: i32, a: f32, b: f32),
203 23 => fn DivideFloat(var: i32, a: f32, b: f32), 208 23 => fn DivideFloat(var: i32, a: f32, b: f32),
209 24 => fn ModuloFloat(var: i32, a: f32, b: f32),
204 25 => fn GetDirection(var: i32, x1: f32, y1: f32, x2: f32, y2: f32), 210 25 => fn GetDirection(var: i32, x1: f32, y1: f32, x2: f32, y2: f32),
205 26 => fn FloatToUnitCircle(var: i32), 211 26 => fn FloatToUnitCircle(var: i32),
206 27 => fn CompareInts(a: i32, b: i32), 212 27 => fn CompareInts(a: i32, b: i32),
207 28 => fn CompareFloats(a: f32, b: f32), 213 28 => fn CompareFloats(a: f32, b: f32),
208 29 => fn RelativeJumpIfLowerThan(frame: i32, ip: i32), 214 29 => fn RelativeJumpIfLowerThan(frame: i32, ip: i32),
211 32 => fn RelativeJumpIfGreaterThan(frame: i32, ip: i32), 217 32 => fn RelativeJumpIfGreaterThan(frame: i32, ip: i32),
212 33 => fn RelativeJumpIfGreaterOrEqual(frame: i32, ip: i32), 218 33 => fn RelativeJumpIfGreaterOrEqual(frame: i32, ip: i32),
213 34 => fn RelativeJumpIfNotEqual(frame: i32, ip: i32), 219 34 => fn RelativeJumpIfNotEqual(frame: i32, ip: i32),
214 35 => fn Call(sub: i32, param1: i32, param2: f32), 220 35 => fn Call(sub: i32, param1: i32, param2: f32),
215 36 => fn Return(), 221 36 => fn Return(),
222 37 => fn CallIfSuperior(sub: i32, param1: i32, param2: f32, a: i32, b: i32),
223 38 => fn CallIfSuperiorOrEqual(sub: i32, param1: i32, param2: f32, a: i32, b: i32),
216 39 => fn CallIfEqual(sub: i32, param1: i32, param2: f32, a: i32, b: i32), 224 39 => fn CallIfEqual(sub: i32, param1: i32, param2: f32, a: i32, b: i32),
225 40 => fn CallIfInferior(sub: i32, param1: i32, param2: f32, a: i32, b: i32),
226 41 => fn CallIfInferiorOrEqual(sub: i32, param1: i32, param2: f32, a: i32, b: i32),
227 42 => fn CallIfNotEqual(sub: i32, param1: i32, param2: f32, a: i32, b: i32),
217 43 => fn SetPosition(x: f32, y: f32, z: f32), 228 43 => fn SetPosition(x: f32, y: f32, z: f32),
218 45 => fn SetAngleAndSpeed(angle: f32, speed: f32), 229 45 => fn SetAngleAndSpeed(angle: f32, speed: f32),
219 46 => fn SetRotationSpeed(speed: f32), 230 46 => fn SetRotationSpeed(speed: f32),
220 47 => fn SetSpeed(speed: f32), 231 47 => fn SetSpeed(speed: f32),
221 48 => fn SetAcceleration(acceleration: f32), 232 48 => fn SetAcceleration(acceleration: f32),
252 88 => fn AlterLaserAngle(id: u32, delta: f32), 263 88 => fn AlterLaserAngle(id: u32, delta: f32),
253 90 => fn RepositionLaser(id: u32, ox: f32, oy: f32, oz: f32), 264 90 => fn RepositionLaser(id: u32, ox: f32, oy: f32, oz: f32),
254 91 => fn LaserSetCompare(id: u32), 265 91 => fn LaserSetCompare(id: u32),
255 92 => fn CancelLaser(id: u32), 266 92 => fn CancelLaser(id: u32),
256 93 => fn SetSpellcard(face: i16, number: i16, name: String), 267 93 => fn SetSpellcard(face: i16, number: i16, name: String),
257 94 => fn Endspellcard(), 268 94 => fn EndSpellcard(),
258 95 => fn SpawnEnemy(sub: i32, x: f32, y: f32, z: f32, life: i16, bonus_dropped: i16, die_score: i32), 269 95 => fn SpawnEnemy(sub: i32, x: f32, y: f32, z: f32, life: i16, bonus_dropped: i16, die_score: i32),
259 96 => fn KillAllEnemies(), 270 96 => fn KillAllEnemies(),
260 97 => fn SetAnim(script: i32), 271 97 => fn SetAnim(script: i32),
261 98 => fn SetMultipleAnims(default: i16, end_left: i16, end_right: i16, left: i16, right: i16, UNUSED: i16), 272 98 => fn SetMultipleAnims(default: i16, end_left: i16, end_right: i16, left: i16, right: i16, UNUSED: i16),
262 99 => fn SetAuxAnm(number: i32, script: i32), 273 99 => fn SetAuxAnm(number: i32, script: i32),
269 106 => fn PlaySound(index: i32), 280 106 => fn PlaySound(index: i32),
270 107 => fn SetDeathFlags(death_flags: u32), 281 107 => fn SetDeathFlags(death_flags: u32),
271 108 => fn SetDeathCallback(sub: i32), 282 108 => fn SetDeathCallback(sub: i32),
272 109 => fn MemoryWriteInt(value: i32, index: i32), 283 109 => fn MemoryWriteInt(value: i32, index: i32),
273 111 => fn SetLife(life: i32), 284 111 => fn SetLife(life: i32),
274 112 => fn SetEllapsedTime(frame: i32), 285 112 => fn SetElapsedTime(frame: i32),
275 113 => fn SetLowLifeTrigger(trigger: i32), 286 113 => fn SetLowLifeTrigger(trigger: i32),
276 114 => fn SetLowLifeCallback(sub: i32), 287 114 => fn SetLowLifeCallback(sub: i32),
277 115 => fn SetTimeout(timeout: i32), 288 115 => fn SetTimeout(timeout: i32),
278 116 => fn SetTimeoutCallback(sub: i32), 289 116 => fn SetTimeoutCallback(sub: i32),
279 117 => fn SetTouchable(touchable: i32), 290 117 => fn SetTouchable(touchable: i32),