New vg pool mode
[carveJwlIkooP6JGAAIwe30JlM.git] / vehicle.h
diff --git a/vehicle.h b/vehicle.h
deleted file mode 100644 (file)
index d61d1e3..0000000
--- a/vehicle.h
+++ /dev/null
@@ -1,50 +0,0 @@
-#ifndef VEHICLE_H
-#define VEHICLE_H
-
-#include "skaterift.h"
-#include "vg/vg_rigidbody.h"
-#include "player.h"
-#include "world.h"
-#include "world_physics.h"
-
-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,
-                k_car_friction_lat = 0.6f,
-                k_car_friction_roll = 0.01f,
-                k_car_drive_force = 1.0f,
-                k_car_air_resistance = 0.1f,
-                k_car_downforce      = 0.5f;
-
-typedef struct drivable_vehicle drivable_vehicle;
-struct drivable_vehicle
-{
-   int alive, inside;
-   rigidbody rb;
-
-   v3f wheels[4];
-
-   float tangent_mass[4][2],
-         normal_forces[4],
-         tangent_forces[4][2];
-
-   float steer, drive;
-   v3f steerv;
-
-   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 */