X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=common.h;h=9eda6f67ae0e59dfcf76c8fd39b0f26d46d7d8ae;hb=2673c575386c604fc2c0603dba2480eda05cf97a;hp=be210a5d49ff89046aafe263a7475857b163d9a8;hpb=a9e3181f697ab37fc74f072cfcfdf44e2d659468;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index be210a5..9eda6f6 100644 --- a/common.h +++ b/common.h @@ -47,7 +47,7 @@ VG_STATIC float k_steer_ground = 2.5f, k_steer_air = 3.6f, - k_jump_charge_speed = (1.0f/1.0f), + k_jump_charge_speed = (1.0f/0.4f), k_jump_force = 5.0f, k_pitch_limit = 1.5f, @@ -77,7 +77,7 @@ VG_STATIC float k_board_interia = 8.0f, k_grind_decayxy = 30.0f, - k_grind_axel_min_vel = 3.0f, + k_grind_axel_min_vel = 1.0f, k_grind_axel_max_angle = 0.95f, /* cosine(|a|) */ k_grind_axel_max_vangle = 0.4f, k_grind_max_friction = 3.0f, @@ -86,7 +86,9 @@ VG_STATIC float k_board_length = 0.45f, k_board_width = 0.13f, k_board_end_radius = 0.1f, - k_board_radius = 0.14f; /* 0.07 */ + k_board_radius = 0.14f, /* 0.07 */ + + k_grind_balance = -40.0f; VG_STATIC float k_walkspeed = 10.0f, @@ -119,7 +121,6 @@ VG_STATIC int k_debug_light_indices = 0, k_light_preview = 0; VG_STATIC int freecam = 0; -VG_STATIC int debug_logic_bricks = 0; VG_STATIC int walk_grid_iterations = 1; VG_STATIC float fc_speed = 10.0f; VG_STATIC int cl_thirdperson = 0; @@ -142,6 +143,7 @@ VG_STATIC void common_var_temp(void) VG_VAR_F32( k_grind_axel_min_vel ); VG_VAR_F32( k_grind_axel_max_angle ); VG_VAR_F32( k_grind_max_friction ); + VG_VAR_F32( k_grind_balance ); VG_VAR_F32( k_walkspeed ); VG_VAR_F32( k_stopspeed ); @@ -151,7 +153,6 @@ VG_STATIC void common_var_temp(void) VG_VAR_F32( k_walk_accel ); VG_VAR_I32( freecam ); - VG_VAR_F32_PERSISTENT( debug_logic_bricks ); VG_VAR_I32( cl_thirdperson ); VG_VAR_F32_PERSISTENT( fc_speed );