build system revision
[carveJwlIkooP6JGAAIwe30JlM.git] / vehicle.h
index bdd12f02329cfe6169912ccb9fe89e3bb5a53de0..d61d1e3adf25117eed0938c69cb99aae94307ab1 100644 (file)
--- a/vehicle.h
+++ b/vehicle.h
@@ -2,7 +2,7 @@
 #define VEHICLE_H
 
 #include "skaterift.h"
-#include "rigidbody.h"
+#include "vg/vg_rigidbody.h"
 #include "player.h"
 #include "world.h"
 #include "world_physics.h"
@@ -21,7 +21,7 @@ typedef struct drivable_vehicle drivable_vehicle;
 struct drivable_vehicle
 {
    int alive, inside;
-   rb_object obj;
+   rigidbody rb;
 
    v3f wheels[4];
 
@@ -37,8 +37,7 @@ struct drivable_vehicle
 }
 static gzoomer =
 {
-   .obj = { .type = k_rb_shape_sphere, .inf.sphere.radius = 1.0f,
-            .rb.co = {-2000,-2000,-2000}}
+   .rb.co = {-2000,-2000,-2000}
 };
 
 static int spawn_car( int argc, const char *argv[] );