Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

124 lines
4.6 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. class ConVar;
  3. #include "cbase.h"
  4. #include "convar.h"
  5. #ifdef SIXENSE
  6. //
  7. // general sixense convars
  8. //
  9. extern ConVar sixense_enabled;
  10. extern ConVar sixense_filter_level;
  11. extern ConVar sixense_features_enabled;
  12. extern ConVar sixense_mode;
  13. extern ConVar sixense_ratchet_lesson_angle_threshold;
  14. extern ConVar sixense_ratchet_lesson_angle_end_threshold;
  15. extern ConVar sixense_ratchet_lesson_angle_hold_time;
  16. extern ConVar sixense_disable_ratchet_lesson;
  17. extern ConVar sixense_enable_tutorial_ratchet_lesson;
  18. extern ConVar sixense_disable_scale_reset_lesson;
  19. //
  20. // grab convars
  21. //
  22. extern ConVar sixense_throw_multiplier;
  23. extern ConVar sixense_hold_multiplier;
  24. extern ConVar sixense_hold_z_scale;
  25. extern ConVar sixense_hold_z_min;
  26. extern ConVar sixense_hold_z_max;
  27. extern ConVar sixense_hold_z_min_no_portalgun;
  28. extern ConVar sixense_hold_z_max_no_portalgun;
  29. extern ConVar sixense_throw_max_vel;
  30. extern ConVar sixense_hold_blend;
  31. extern ConVar sixense_hold_offset_x;
  32. extern ConVar sixense_hold_offset_y;
  33. extern ConVar sixense_hold_offset_z;
  34. extern ConVar sixense_velocity_blend_val;
  35. extern ConVar sixense_hold_error_max_noise;
  36. extern ConVar sixense_hold_error_min;
  37. extern ConVar sixense_hold_error_max;
  38. extern ConVar sixense_hold_sound_pitch;
  39. extern ConVar sixense_hold_sound_scaling_pitch;
  40. extern ConVar sixense_hold_sound_error_pitch;
  41. extern ConVar sixense_hold_move_sound_pitch;
  42. extern ConVar sixense_hold_beam_portal_delay_time;
  43. extern ConVar sixense_hold_length_error;
  44. extern ConVar sixense_hold_length_error_fraction;
  45. extern ConVar sixense_drop_cube_button_funnel_velocity_scale;
  46. extern ConVar sixense_hold_color_error_min;
  47. extern ConVar sixense_hold_color_error_max;
  48. extern ConVar sixense_hold_turret_pickup_time;
  49. extern ConVar sixense_hold_turret_distance;
  50. //
  51. // portal tweaking convars
  52. //
  53. extern ConVar sixense_portal_tweaking_enabled;
  54. extern ConVar sixense_portal_tweaking_roll_scale;
  55. extern ConVar sixense_portal_tweaking_grab_radius;
  56. extern ConVar sixense_portal_tweaking_fire_hold_time;
  57. extern ConVar sixense_portal_tweaking_break_cos_angle;
  58. extern ConVar sixense_portal_tweaking_break_distance;
  59. extern ConVar sixense_portal_tweaking_failed_break_distance;
  60. extern ConVar sixense_portal_tweaking_was_delay;
  61. extern ConVar sixense_portal_tweaking_align_blend_time;
  62. extern ConVar sixense_portal_tweaking_strength_noise;
  63. extern ConVar sixense_portal_tweaking_whoosh_pitch;
  64. extern ConVar sixense_portal_tweaking_pitch_1;
  65. extern ConVar sixense_portal_tweaking_pitch_2;
  66. extern ConVar sixense_portal_tweaking_strength_pitch;
  67. extern ConVar sixense_portal_tweaking_velocity_pitch;
  68. extern ConVar sixense_portal_tweaking_roll_velocity_pitch;
  69. extern ConVar sixense_portal_tweaking_velocity_min;
  70. extern ConVar sixense_portal_tweaking_velocity_max;
  71. extern ConVar sixense_portal_tweaking_roll_velocity_min;
  72. extern ConVar sixense_portal_tweaking_roll_velocity_max;
  73. extern ConVar sixense_portal_tweaking_velocity_time;
  74. extern ConVar sixense_portal_tweaking_volume;
  75. extern ConVar sixense_portal_tweaking_move_volume;
  76. extern ConVar sixense_portal_tweaking_disabled_with_scaled_cube;
  77. extern ConVar sixense_portal_tweaking_moved_time;
  78. //
  79. // scaling convars
  80. //
  81. extern ConVar sixense_scaling_hold_radius_mode;
  82. extern ConVar sixense_scaling_hold_radius;
  83. extern ConVar sixense_scaling_hold_radius_base;
  84. extern ConVar sixense_scaling_hold_radius_blend_time;
  85. extern ConVar sixense_scaling_error_blend_time;
  86. extern ConVar sixense_scaling_error_noise;
  87. extern ConVar sixense_scaling_increment_controller_distance;
  88. extern ConVar sixense_scaling_reset_time;
  89. extern ConVar sixense_scaling_increment;
  90. extern ConVar sixense_scaling_min;
  91. extern ConVar sixense_scaling_max;
  92. extern ConVar sixense_scaling_volume;
  93. extern ConVar sixense_scaling_volume_clamped;
  94. extern ConVar sixense_scaling_volume_initial;
  95. extern ConVar sixense_scaling_pitch_clamped_min;
  96. extern ConVar sixense_scaling_pitch_clamped_max;
  97. extern ConVar sixense_scaling_pitch_initial;
  98. extern ConVar sixense_scaling_turret_controller_distance;
  99. extern ConVar sixense_scaling_turret_min;
  100. extern ConVar sixense_scaling_turret_max;
  101. extern ConVar sixense_scaling_turret_increment;
  102. extern ConVar sixense_scaling_turret_beam_min;
  103. extern ConVar sixense_scaling_turret_beam_max;
  104. extern ConVar sixense_scaling_turret_time;
  105. extern ConVar sixense_scaling_turret_model_time;
  106. extern ConVar sixense_scaling_turret_volume;
  107. extern ConVar sixense_scaling_turret_pitch_larger;
  108. extern ConVar sixense_scaling_turret_pitch_smaller;
  109. extern ConVar sixense_scaling_blend;
  110. extern ConVar sixense_scaling_blend_time;
  111. extern ConVar sixense_scaling_controller_pos_offset_z;
  112. #endif // SIXENSE