Add follow camera
This commit is contained in:
parent
46c8a4eade
commit
e3d0b3219f
4 changed files with 164 additions and 27 deletions
22
settings.h
22
settings.h
|
@ -94,10 +94,26 @@
|
|||
|
||||
#ifndef LCR_SETTING_CAR_ANIMATION_SUBDIVIDE
|
||||
/** How many frames will be used to complete whole animation of the car model.
|
||||
0 turns off car animation completely (may be faster and smaller), 1 turns
|
||||
on highest quality animation, higher values lower animation quality and
|
||||
may increase performance. */
|
||||
0 turns off car animation completely (may be faster and smaller), 1 turns on
|
||||
highest quality animation, higher values lower animation quality and may
|
||||
increase performance. */
|
||||
#define LCR_SETTING_CAR_ANIMATION_SUBDIVIDE 4
|
||||
#endif
|
||||
|
||||
#ifndef LCR_SETTING_CAMERA_HEIGHT
|
||||
/** Base height of the car follow camera, in 4ths of map block height. */
|
||||
#define LCR_SETTING_CAMERA_HEIGHT 2
|
||||
#endif
|
||||
|
||||
#ifndef LCR_SETTING_CAMERA_HEIGHT_BAND
|
||||
/** Size of height band of the follow camera, in same units as base height. */
|
||||
#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
|
||||
width. */
|
||||
#define LCR_SETTING_CAMERA_MAX_DISTANCE 2
|
||||
#endif
|
||||
|
||||
#endif // guard
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue