active ragdolls
[carveJwlIkooP6JGAAIwe30JlM.git] / vehicle.c
index d9c6d30081ca2820515f8aca925e8a356ebd4025..3d68d1152793b2fbaeb29bf48460e12df055d78b 100644 (file)
--- a/vehicle.c
+++ b/vehicle.c
@@ -3,7 +3,7 @@
 
 #include "vehicle.h"
 
-VG_STATIC int spawn_car( int argc, const char *argv[] ){
+static int spawn_car( int argc, const char *argv[] ){
    v3f ra, rb, rx;
    v3_copy( skaterift.cam.pos, ra );
    v3_muladds( ra, skaterift.cam.transform[2], -10.0f, rb );
@@ -30,7 +30,7 @@ VG_STATIC int spawn_car( int argc, const char *argv[] ){
    return 0;
 }
 
-VG_STATIC void vehicle_init(void)
+static void vehicle_init(void)
 {
    q_identity( gzoomer.obj.rb.q );
    v3_zero( gzoomer.obj.rb.w );
@@ -58,7 +58,7 @@ VG_STATIC void vehicle_init(void)
    v3_copy((v3f){  1.0f, -0.25f,  1.5f }, gzoomer.wheels_local[3] );
 }
 
-VG_STATIC void vehicle_wheel_force( int index )
+static void vehicle_wheel_force( int index )
 {
    v3f pa, pb, n;
    m4x3_mulv( gzoomer.obj.rb.to_world, gzoomer.wheels_local[index], pa );
@@ -165,7 +165,7 @@ VG_STATIC void vehicle_wheel_force( int index )
    }
 }
 
-VG_STATIC void vehicle_solve_friction(void)
+static void vehicle_solve_friction(void)
 {
    rigidbody *rb = &gzoomer.obj.rb;
    for( int i=0; i<4; i++ ){
@@ -198,7 +198,7 @@ VG_STATIC void vehicle_solve_friction(void)
    }
 }
 
-VG_STATIC void vehicle_update_fixed(void)
+static void vehicle_update_fixed(void)
 {
    if( !gzoomer.alive )
       return;
@@ -249,7 +249,7 @@ VG_STATIC void vehicle_update_fixed(void)
    rb_update_transform( rb );
 }
 
-VG_STATIC void vehicle_update_post(void)
+static void vehicle_update_post(void)
 {
    if( !gzoomer.alive )
       return;