diff src/th06/ecl.rs @ 682:d6cc9086058c

ecl_vm: more instructions
author Gauvain "GovanifY" Roussel-Tarbouriech <gauvain@govanify.com>
date Fri, 16 Aug 2019 21:31:00 +0200
parents 826c16e5f909
children 8c50a7b19425
line wrap: on
line diff
--- a/src/th06/ecl.rs
+++ b/src/th06/ecl.rs
@@ -221,7 +221,7 @@ declare_sub_instructions!{
     48 => fn SetAcceleration(acceleration: f32),
     49 => fn SetRandomAngle(min: f32, max: f32),
     50 => fn SetRandomAngleEx(min: f32, max: f32),
-    51 => fn TargetPlayer(TODO: f32, speed: f32),
+    51 => fn TargetPlayer(angle: f32, speed: f32),
     52 => fn MoveInDecel(duration: i32, angle: f32, speed: f32),
     56 => fn MoveToLinear(duration: i32, x: f32, y: f32, z: f32),
     57 => fn MoveToDecel(duration: i32, x: f32, y: f32, z: f32),