Start ghost
This commit is contained in:
parent
c0f5e5cf5b
commit
0a91d5f54e
4 changed files with 105 additions and 9 deletions
15
settings.h
15
settings.h
|
@ -205,4 +205,19 @@
|
|||
#define LCR_SETTING_TIME_MULTIPLIER 100
|
||||
#endif
|
||||
|
||||
#ifndef LCR_SETTING_GHOST_STEP
|
||||
/** Step (in physics engine ticks) by which the samples for ghost car will be
|
||||
spaced (positions inbetween will be interpolated). Lower step along with more
|
||||
ghost samples should result in more accurate ghost animation, but will eat up
|
||||
more memory. This should ideally be kept a power of two. */
|
||||
#define LCR_SETTING_GHOST_STEP 16
|
||||
#endif
|
||||
|
||||
#ifndef LCR_SETTING_GHOST_MAX_SAMPLES
|
||||
/** Maximum number of samples the ghost car will be able to use. Higher value
|
||||
should generally result in more accurate ghost animation, but will eat up more
|
||||
memory. Value 0 disables ghosts. */
|
||||
#define LCR_SETTING_GHOST_MAX_SAMPLES 128
|
||||
#endif
|
||||
|
||||
#endif // guard
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue