blob: 8d6c1e1cbdbad8f38d284a81793928fe87fcf971 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
|