Fix horizon offset

This commit is contained in:
Miloslav Ciz 2025-02-03 12:58:42 +01:00
parent f24db847ce
commit 7f00b5aa5f
7 changed files with 34 additions and 40 deletions

View file

@ -17,16 +17,18 @@
#define LCR_SETTING_RESOLUTION_Y 768
#endif
#ifndef LCR_SETTING_RESOLUTION_SUBDIVIDE
/** Subdivides the whole game resolution by this amount by making each pixel
this number of times bigger. */
#define LCR_SETTING_RESOLUTION_SUBDIVIDE 2
#endif
#ifndef LCR_SETTING_FPS
/** Rendering frames per second. Note this only applies to graphics, NOT
physics. */
#define LCR_SETTING_FPS 30
#endif
#ifndef LCR_SETTING_RESOLUTION_SUBDIVIDE
#define LCR_SETTING_RESOLUTION_SUBDIVIDE 1
#endif
#ifndef LCR_SETTING_FREE_CAMERA_SPEED
/** Move speed of free camera, in 1/8ths of block length. */
#define LCR_SETTING_FREE_CAMERA_SPEED 50
@ -197,8 +199,8 @@
#endif
#ifndef LCR_SETTING_HORIZON_SHIFT
/** Vertical offset of the background horizon in percents of screen height. */
#define LCR_SETTING_HORIZON_SHIFT 30
/** Vertical offset of the background sky image in percents. */
#define LCR_SETTING_HORIZON_SHIFT 180
#endif
#ifndef LCR_SETTING_TIME_MULTIPLIER