Add time multiplier
This commit is contained in:
parent
8040d6755f
commit
ff75390a2a
5 changed files with 19 additions and 22 deletions
|
@ -8,6 +8,8 @@
|
|||
#include <stdint.h>
|
||||
#include "settings.h"
|
||||
|
||||
// TODO: maybe move module specific constants to the modules themselves?
|
||||
|
||||
// constants (not supposed to be changed, doing so may break stuff):
|
||||
|
||||
#define LCR_EFFECTIVE_RESOLUTION_X \
|
||||
|
@ -31,7 +33,8 @@
|
|||
/** Physics FPS, i.e. the number of physics ticks per second. */
|
||||
#define LCR_RACING_FPS 30
|
||||
|
||||
#define LCR_RACING_TICK_MS (1000 / LCR_RACING_FPS)
|
||||
#define LCR_RACING_TICK_MS \
|
||||
(100000 / (LCR_RACING_FPS * LCR_SETTING_TIME_MULTIPLIER))
|
||||
|
||||
#define LCR_ANIMATE_CAR (LCR_SETTING_CAR_ANIMATION_SUBDIVIDE != 0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue