Smooth out camera real good

This commit is contained in:
Miloslav Ciz 2024-09-10 20:11:31 +02:00
parent 0cedae66a9
commit 4754b33dfe
4 changed files with 72 additions and 37 deletions

View file

@ -102,7 +102,7 @@
#ifndef LCR_SETTING_CAMERA_HEIGHT
/** Base height of the car follow camera, in 4ths of map block height. */
#define LCR_SETTING_CAMERA_HEIGHT 7
#define LCR_SETTING_CAMERA_HEIGHT 5
#endif
#ifndef LCR_SETTING_CAMERA_HEIGHT_BAND
@ -110,10 +110,15 @@
#define LCR_SETTING_CAMERA_HEIGHT_BAND 1
#endif
#ifndef LCR_SETTING_CAMERA_MAX_DISTANCE
/** Maximum horizontal distance of the car follow camera, in 4ths of map block
#ifndef LCR_SETTING_CAMERA_DISTANCE
/** Base horizontal distance of the car follow camera, in 4ths of map block
width. */
#define LCR_SETTING_CAMERA_MAX_DISTANCE 5
#define LCR_SETTING_CAMERA_DISTANCE 4
#endif
#ifndef LCR_SETTING_CAMERA_DISTANCE_BAND
/** Band for distance of the car follow camera, in same units as base dist. */
#define LCR_SETTING_CAMERA_DISTANCE_BAND 3
#endif
#ifndef LCR_SETTING_GHOST_COLOR