mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-26 12:22:35 +01:00
43 lines
979 B
C
43 lines
979 B
C
#ifndef CAMERA_H
|
|
#define CAMERA_H
|
|
|
|
#define CAMERA_COLLIDER_CARID (MAX_CARS+1)
|
|
|
|
extern VECTOR camera_position;
|
|
extern char old_camera_change;
|
|
extern char camera_change;
|
|
|
|
extern MATRIX face_camera_work;
|
|
extern MATRIX camera_matrix;
|
|
|
|
extern char cameraview;
|
|
extern char tracking_car;
|
|
extern int CameraCnt;
|
|
|
|
extern int TargetCar;
|
|
extern int CameraCar;
|
|
|
|
extern SVECTOR camera_angle;
|
|
extern int gCameraAngle;
|
|
extern short gCameraDistance;
|
|
extern short gCameraMaxDistance;
|
|
extern VECTOR gCameraOffset;
|
|
|
|
extern int switch_detail_distance;
|
|
|
|
extern void InitCamera(PLAYER *lp); // 0x0001F5F4
|
|
extern void ModifyCamera(); // 0x0001FA20
|
|
|
|
extern int CameraCollisionCheck(); // 0x0001FC18
|
|
|
|
extern void PlaceCameraFollowCar(PLAYER *lp); // 0x0002003C
|
|
extern void PlaceCameraAtLocation(PLAYER *lp, int zoom); // 0x00020904
|
|
extern void PlaceCameraInCar(PLAYER *lp, int BumperCam); // 0x0002050C
|
|
|
|
extern int OK_To_Zoom(); // 0x00020BC0
|
|
|
|
extern void SetBasePos(VECTOR *pVec); // 0x00020C70
|
|
|
|
|
|
#endif
|