diff src/th06/std.rs @ 710:377c241be559

std_vm: Implement SetViewpos, SetViewpos2 and StartInterpolatinvViewpos2.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 08 Sep 2019 18:09:05 +0200
parents ef2dbd676a91
children 13fd434d5d1b
line wrap: on
line diff
--- a/src/th06/std.rs	Sun Sep 08 17:53:13 2019 +0200
+++ b/src/th06/std.rs	Sun Sep 08 18:09:05 2019 +0200
@@ -155,8 +155,8 @@
     0 => fn SetViewpos(x: f32, y: f32, z: f32),
     1 => fn SetFog(r: u8, g: u8, b: u8, a: u8, near: f32, far: f32),
     2 => fn SetViewpos2(x: f32, y: f32, z: f32),
-    3 => fn StartInterpolatingViewpos2(frame: i32, _unused: i32, _unused: i32),
-    4 => fn StartInterpolatingFog(frame: i32, _unused: i32, _unused: i32),
+    3 => fn StartInterpolatingViewpos2(frame: u32, _unused: i32, _unused: i32),
+    4 => fn StartInterpolatingFog(frame: u32, _unused: i32, _unused: i32),
     5 => fn Unknown(_unused: i32, _unused: i32, _unused: i32),
 }