diff src/th06/ecl.rs @ 683:8c50a7b19425

ecl_vm: more work
author Gauvain "GovanifY" Roussel-Tarbouriech <gauvain@govanify.com>
date Fri, 16 Aug 2019 23:45:28 +0200
parents d6cc9086058c
children c8bb28961d31
line wrap: on
line diff
--- a/src/th06/ecl.rs
+++ b/src/th06/ecl.rs
@@ -248,10 +248,11 @@ declare_sub_instructions!{
     84 => fn UNK_ins84(param: i32),
     85 => fn NewLaser(laser_type: i16, sprite_idx_offset: i16, angle: f32, speed: f32, start_offset: f32, end_offset: f32, max_length: f32, width: f32, start_duration: i32, duration: i32, end_duration: i32, grazing_delay: i32, grazing_extra_duration: i32, UNK1: i32),
     86 => fn NewLaserTowardsPlayer(laser_type: i16, sprite_idx_offset: i16, angle: f32, speed: f32, start_offset: f32, end_offset: f32, max_length: f32, width: f32, start_duration: i32, duration: i32, end_duration: i32, grazing_delay: i32, grazing_extra_duration: i32, UNK1: i32),
-    87 => fn SetUpcomingLaserId(id: i32),
-    88 => fn AlterLaserAngle(id: i32, delta: f32),
-    90 => fn RepositionLaser(id: i32, ox: f32, oy: f32, oz: f32),
-    92 => fn CanceLaser(id: i32),
+    87 => fn SetUpcomingLaserId(id: u32),
+    88 => fn AlterLaserAngle(id: u32, delta: f32),
+    90 => fn RepositionLaser(id: u32, ox: f32, oy: f32, oz: f32),
+    91 => fn LaserSetCompare(u32: id),
+    92 => fn CancelLaser(id: u32),
     93 => fn SetSpellcard(face: i16, number: i16, name: String),
     94 => fn Endspellcard(),
     95 => fn SpawnEnemy(sub: i32, x: f32, y: f32, z: f32, life: i16, bonus_dropped: i16, die_score: i32),