X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=vehicle.h;h=3e60bb76d6d2b9e7b3cd9a6212da38b39b4982b6;hb=refs%2Fheads%2Fmenu2;hp=d61d1e3adf25117eed0938c69cb99aae94307ab1;hpb=ffc664de040aab29a4fbeec14307996d8e9ae2ec;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/vehicle.h b/vehicle.h index d61d1e3..3e60bb7 100644 --- 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);