REDRIVER2/src_rebuild/Game/C/camera.h

49 lines
1.1 KiB
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 short gCameraDefaultScrZ;
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 PointAtTarget(VECTOR* pPosition, VECTOR* pTarget, SVECTOR* pAngleVec);
extern int OK_To_Zoom(); // 0x00020BC0
extern void SetBasePos(VECTOR *pVec); // 0x00020C70
#endif