revision 2
[carveJwlIkooP6JGAAIwe30JlM.git] / vehicle.h
index d61d1e3adf25117eed0938c69cb99aae94307ab1..3e60bb76d6d2b9e7b3cd9a6212da38b39b4982b6 100644 (file)
--- a/vehicle.h
+++ b/vehicle.h
@@ -1,7 +1,4 @@
-#ifndef VEHICLE_H
-#define VEHICLE_H
-
-#include "skaterift.h"
+#pragma once
 #include "vg/vg_rigidbody.h"
 #include "player.h"
 #include "world.h"
@@ -35,16 +32,11 @@ struct drivable_vehicle
    v3f   tangent_vectors[4][2];
    v3f   wheels_local[4];
 }
-static gzoomer =
-{
-   .rb.co = {-2000,-2000,-2000}
-};
-
-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 */
+extern gzoomer;
+
+int spawn_car( int argc, const char *argv[] );
+void vehicle_init(void);
+void vehicle_wheel_force( int index );
+void vehicle_solve_friction(void);
+void vehicle_update_fixed(void);
+void vehicle_update_post(void);