update build script
[carveJwlIkooP6JGAAIwe30JlM.git] / vehicle.h
index b1f5a2855565332c03e167b93bafe1c03a8b6e11..bdd12f02329cfe6169912ccb9fe89e3bb5a53de0 100644 (file)
--- a/vehicle.h
+++ b/vehicle.h
@@ -7,7 +7,7 @@
 #include "world.h"
 #include "world_physics.h"
 
-VG_STATIC float k_car_spring = 1.0f,
+static float k_car_spring = 1.0f,
                 k_car_spring_damp = 0.001f,
                 k_car_spring_length = 0.5f,
                 k_car_wheel_radius = 0.2f,
@@ -37,14 +37,15 @@ struct drivable_vehicle
 }
 static gzoomer =
 {
-   .obj = { .type = k_rb_shape_sphere, .inf.sphere.radius = 1.0f }
+   .obj = { .type = k_rb_shape_sphere, .inf.sphere.radius = 1.0f,
+            .rb.co = {-2000,-2000,-2000}}
 };
 
-VG_STATIC int spawn_car( int argc, const char *argv[] );
-VG_STATIC void vehicle_init(void);
-VG_STATIC void vehicle_wheel_force( int index );
-VG_STATIC void vehicle_solve_friction(void);
-VG_STATIC void vehicle_update_fixed(void);
-VG_STATIC void vehicle_update_post(void);
+static int spawn_car( int argc, const char *argv[] );
+static void vehicle_init(void);
+static void vehicle_wheel_force( int index );
+static void vehicle_solve_friction(void);
+static void vehicle_update_fixed(void);
+static void vehicle_update_post(void);
 
 #endif /* VEHICLE_H */