Add time multiplier

This commit is contained in:
Miloslav Ciz 2025-01-15 23:24:07 +01:00
parent 8040d6755f
commit ff75390a2a
5 changed files with 19 additions and 22 deletions

View file

@ -88,17 +88,6 @@
#define LCR_SETTING_LOD_COLOR 0x4229
#endif
#ifndef LCR_SETTING_FLOOR_PARTICLE_RESOLUTION
/** How many level floor particles there will be along one principal axis, 0
turns floor particles off. */
#define LCR_SETTING_FLOOR_PARTICLE_RESOLUTION 6
#endif
#ifndef LCR_SETTING_FLOOR_PARTICLE_SIZE
/** Defines floor particle size in fractions of screen size. */
#define LCR_SETTING_FLOOR_PARTICLE_SIZE 32
#endif
#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
@ -160,10 +149,10 @@
#define LCR_SETTING_LOG_LEVEL 1
#endif
#ifndef LCR_SETTING_METERS_PER_BLOCK
/** How many meters one game block is considered to measure (horizontally).
This is for calculating speed etc. */
#define LCR_SETTING_METERS_PER_BLOCK 4
#ifndef LCR_SETTING_CMS_PER_BLOCK
/** How many centimeters one game block is considered to measure
(horizontally). This is for calculating speed etc. */
#define LCR_SETTING_CMS_PER_BLOCK 400
#endif
#ifndef LCR_SETTING_DEBUG_PHYSICS_DRAW
@ -205,8 +194,13 @@
#endif
#ifndef LCR_SETTING_HORIZON_SHIFT
/** Vertical offset of the background horizon, 1/16th of screen height. */
#define LCR_SETTING_HORIZON_SHIFT 5
/** Vertical offset of the background horizon in percents of screen height. */
#define LCR_SETTING_HORIZON_SHIFT 30
#endif
#ifndef LCR_SETTING_TIME_MULTIPLIER
/** Multiplies speed of time by this percentage, doesn't affect physics. */
#define LCR_SETTING_TIME_MULTIPLIER 100
#endif
#endif // guard