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.

45 lines
1.3 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef VEHICLE_CHOREO_GENERIC_SHARED_H
  7. #define VEHICLE_CHOREO_GENERIC_SHARED_H
  8. #if defined( _WIN32 )
  9. #pragma once
  10. #endif
  11. //-----------------------------------------------------------------------------
  12. // Purpose:
  13. //-----------------------------------------------------------------------------
  14. struct vehicleview_t
  15. {
  16. DECLARE_CLASS_NOBASE( vehicleview_t );
  17. DECLARE_EMBEDDED_NETWORKVAR();
  18. #ifndef CLIENT_DLL
  19. DECLARE_DATADESC();
  20. #endif
  21. CNetworkVar( bool, bClampEyeAngles ); // Perform eye Z clamping
  22. CNetworkVar( float, flPitchCurveZero ); // Pitch values below this are clamped to zero.
  23. CNetworkVar( float, flPitchCurveLinear ); // Pitch values above this are mapped directly.
  24. // Spline in between.
  25. CNetworkVar( float, flRollCurveZero ); // Pitch values below this are clamped to zero.
  26. CNetworkVar( float, flRollCurveLinear ); // Roll values above this are mapped directly.
  27. // Spline in between.
  28. CNetworkVar( float, flFOV ); // FOV when in the vehicle.
  29. CNetworkVar( float, flYawMin );
  30. CNetworkVar( float, flYawMax );
  31. CNetworkVar( float, flPitchMin );
  32. CNetworkVar( float, flPitchMax );
  33. };
  34. #endif // VEHICLE_CHOREO_GENERIC_SHARED_H