X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=inline;f=common.h;h=fbcb7cf24cb127b56ccf1d92e1cd81cb3368b0d1;hb=9d5997f1e611b66c7220f7eb388f427032d8da79;hp=c1f325e232f5d9f57b2f41f6cd71fc85d13f88f2;hpb=e61356f70eddb79f05d7b9e329e91963ec74f817;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index c1f325e..fbcb7cf 100644 --- a/common.h +++ b/common.h @@ -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, @@ -114,7 +114,9 @@ VG_STATIC int k_ragdoll_div = 1, k_ragdoll_debug_collider = 1, k_ragdoll_debug_constraints = 0; -VG_STATIC int k_debug_light_index = 1; +VG_STATIC int k_debug_light_indices = 0, + k_debug_light_complexity = 0, + k_light_preview = 0; VG_STATIC int freecam = 0; VG_STATIC int walk_grid_iterations = 1; @@ -151,11 +153,13 @@ VG_STATIC void common_var_temp(void) VG_VAR_I32( cl_thirdperson ); VG_VAR_F32_PERSISTENT( fc_speed ); - /* TODO: NOT PERSISTENT */ VG_VAR_F32( k_ragdoll_limit_scale ); VG_VAR_I32( k_ragdoll_div ); VG_VAR_I32( k_ragdoll_debug_collider ); VG_VAR_I32( k_ragdoll_debug_constraints ); + VG_VAR_I32( k_debug_light_indices ); + VG_VAR_I32( k_debug_light_complexity ); + VG_VAR_I32( k_light_preview ); VG_VAR_F32( k_friction_lat );