diff options
| author | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
|---|---|---|
| committer | Joe Ludwig <[email protected]> | 2013-06-26 15:22:04 -0700 |
| commit | 39ed87570bdb2f86969d4be821c94b722dc71179 (patch) | |
| tree | abc53757f75f40c80278e87650ea92808274aa59 /mp/src/game/shared/vehicle_choreo_generic_shared.h | |
| download | source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip | |
First version of the SOurce SDK 2013
Diffstat (limited to 'mp/src/game/shared/vehicle_choreo_generic_shared.h')
| -rw-r--r-- | mp/src/game/shared/vehicle_choreo_generic_shared.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/mp/src/game/shared/vehicle_choreo_generic_shared.h b/mp/src/game/shared/vehicle_choreo_generic_shared.h new file mode 100644 index 00000000..5f55ebfb --- /dev/null +++ b/mp/src/game/shared/vehicle_choreo_generic_shared.h @@ -0,0 +1,45 @@ +//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef VEHICLE_CHOREO_GENERIC_SHARED_H
+#define VEHICLE_CHOREO_GENERIC_SHARED_H
+
+#if defined( _WIN32 )
+#pragma once
+#endif
+
+
+//-----------------------------------------------------------------------------
+// Purpose:
+//-----------------------------------------------------------------------------
+struct vehicleview_t
+{
+ DECLARE_CLASS_NOBASE( vehicleview_t );
+ DECLARE_EMBEDDED_NETWORKVAR();
+
+#ifndef CLIENT_DLL
+ DECLARE_DATADESC();
+#endif
+
+ CNetworkVar( bool, bClampEyeAngles ); // Perform eye Z clamping
+
+ CNetworkVar( float, flPitchCurveZero ); // Pitch values below this are clamped to zero.
+ CNetworkVar( float, flPitchCurveLinear ); // Pitch values above this are mapped directly.
+ // Spline in between.
+ CNetworkVar( float, flRollCurveZero ); // Pitch values below this are clamped to zero.
+ CNetworkVar( float, flRollCurveLinear ); // Roll values above this are mapped directly.
+ // Spline in between.
+ CNetworkVar( float, flFOV ); // FOV when in the vehicle.
+
+ CNetworkVar( float, flYawMin );
+ CNetworkVar( float, flYawMax );
+
+ CNetworkVar( float, flPitchMin );
+ CNetworkVar( float, flPitchMax );
+};
+
+
+#endif // VEHICLE_CHOREO_GENERIC_SHARED_H
|