3 static const int CHARACTERCAMERA_DEBUG = 0;
4 static const int CHARACTERCAMERA_1ST = 1;
5 static const int CHARACTERCAMERA_1ST_BONE_TRANSFORM = 2;
6 static const int CHARACTERCAMERA_1ST_VEHICLE = 3;
7 static const int CHARACTERCAMERA_1ST_VEHICLE_TRANSITION = 4;
8 static const int CHARACTERCAMERA_1ST_TURRET = 5;
9 static const int CHARACTERCAMERA_1ST_TURRET_TRANSITION = 35;
10 static const int CHARACTERCAMERA_1ST_READY = 6;
11 static const int CHARACTERCAMERA_1ST_FLOAT = 7;
13 static const int CHARACTERCAMERA_3RD_ERC = 10;
14 static const int CHARACTERCAMERA_3RD_ERC_SPR = 11;
15 static const int CHARACTERCAMERA_3RD_CRO = 12;
16 static const int CHARACTERCAMERA_3RD_PRO = 13;
17 static const int CHARACTERCAMERA_3RD_JUMP = 14;
18 static const int CHARACTERCAMERA_3RD_CLIMB = 15;
19 static const int CHARACTERCAMERA_3RD_VEHICLE = 16;
20 static const int CHARACTERCAMERA_3RD_TURRET = 17;
21 static const int CHARACTERCAMERA_3RD_SITTING = 18;
22 static const int CHARACTERCAMERA_3RD_FLOAT = 19;
23 static const int CHARACTERCAMERA_3RD_UNCONSCIOUS = 20;
25 static const int CHARACTERCAMERA_ADS = 30;
26 static const int CHARACTERCAMERA_OPTICS = 31;
27 static const int CHARACTERCAMERA_BINOCULARS = 32;
29 static const int CHARACTERCAMERA_ADS_VEHICLE = 33;
31 static const int CHARACTERCAMERA_1ST_UNCONSCIOUS = 34;
34 static const int DEBUGVIEW_NONE = 0;
35 static const int DEBUGVIEW_FACE = 1;
36 static const int DEBUGVIEW_WEAPON = 2;
37 static const int DEBUGVIEW_LEFT = 3;
38 static const int DEBUGVIEW_RIGHT = 4;
39 static const int DEBUGVIEW_FRONT = 5;
40 static const int DEBUGVIEW_REAR = 6;
41 static const int DEBUGVIEW_TOP = 7;
42 static const int DEBUGVIEW_BOTTOM = 8;
45 static const float TIME_CAMERACHANGE_01 = 0.1;
46 static const float TIME_CAMERACHANGE_02 = 0.2;
47 static const float TIME_CAMERACHANGE_03 = 0.3;
63 RegisterCameraCreator(CHARACTERCAMERA_1ST_BONE_TRANSFORM, CharacterCamera1stPersonBoneTransform);
65 RegisterCameraCreator(CHARACTERCAMERA_1ST_VEHICLE_TRANSITION, CharacterCamera1stPersonVehicleTransition);
66 RegisterCameraCreator(CHARACTERCAMERA_1ST_TURRET, CharacterCamera1stPersonTurret);
67 RegisterCameraCreator(CHARACTERCAMERA_1ST_TURRET_TRANSITION, CharacterCamera1stPersonTurretTransition);
69 RegisterCameraCreator(CHARACTERCAMERA_1ST_FLOAT, CharacterCamera1stPersonFloat);
70 RegisterCameraCreator(CHARACTERCAMERA_1ST_UNCONSCIOUS, CharacterCamera1stPersonUnconscious);
78 RegisterCameraCreator(CHARACTERCAMERA_3RD_PRO, CharacterCamera3rdPersonProne);
80 RegisterCameraCreator(CHARACTERCAMERA_3RD_CLIMB, CharacterCamera3rdPersonClimb);
82 RegisterCameraCreator(CHARACTERCAMERA_3RD_TURRET, CharacterCamera3rdPersonTurret);
83 RegisterCameraCreator(CHARACTERCAMERA_3RD_SITTING, CharacterCamera3rdPersonSitting);
84 RegisterCameraCreator(CHARACTERCAMERA_3RD_FLOAT, CharacterCamera3rdPersonFloat);
85 RegisterCameraCreator(CHARACTERCAMERA_3RD_UNCONSCIOUS, CharacterCamera3rdPersonUnconscious);
93 RegisterCameraCreator(CHARACTERCAMERA_ADS_VEHICLE, CharacterCameraADSVehicle);
97 RegisterTransitionTime(CHARACTERCAMERA_3RD_ERC, CHARACTERCAMERA_3RD_CRO, 0.4,
true);
98 RegisterTransitionTime(CHARACTERCAMERA_3RD_PRO, CHARACTERCAMERA_3RD_CRO, 0.6,
true);
99 RegisterTransitionTime(CHARACTERCAMERA_1ST_VEHICLE, CHARACTERCAMERA_ADS_VEHICLE, 0.0,
true);
100 RegisterTransitionTime(CHARACTERCAMERA_3RD_VEHICLE, CHARACTERCAMERA_ADS_VEHICLE, 0.0,
true);