Add setting

This commit is contained in:
Miloslav Ciz 2025-03-25 20:21:06 +01:00
parent ca0fc67738
commit 314f27c097
9 changed files with 76 additions and 79 deletions

View file

@ -20,8 +20,9 @@
#endif
#ifndef LCR_SETTING_RESOLUTION_SUBDIVIDE
/** Subdivides the whole game resolution by this amount by making each pixel
this number of times bigger. */
/** Subdivides the whole game's effective resolution by this value, by making
each pixel this number of times bigger. This can drastically improve
performance. */
#define LCR_SETTING_RESOLUTION_SUBDIVIDE 1
#endif
@ -43,7 +44,7 @@
#ifndef LCR_SETTING_MAX_MAP_VERTICES
/** Maximum number of vertices for 3D rendering. Lower number will decrease
RAM usage but will prevent larger maps from being loaded. */
RAM usage but also prevent larger maps from being loaded. */
#define LCR_SETTING_MAX_MAP_VERTICES 4096
#endif
@ -240,4 +241,11 @@
#define LCR_SETTING_CAR_TINT 0x07
#endif
#ifndef LCR_SETTING_ONLY_SMALL_MAPS
/** Turning this on will only include the small maps in the internal data
file. This option exists for weak devices that couldn't handle big maps
and/or have to reduce the size of the internal data file. */
#define LCR_SETTING_ONLY_SMALL_MAPS 0
#endif
#endif // guard