Address some settings
This commit is contained in:
parent
ff75390a2a
commit
71aa8156e9
5 changed files with 45 additions and 38 deletions
25
general.h
25
general.h
|
@ -18,16 +18,6 @@
|
|||
#define LCR_EFFECTIVE_RESOLUTION_Y \
|
||||
(LCR_SETTING_RESOLUTION_Y / LCR_SETTING_RESOLUTION_SUBDIVIDE)
|
||||
|
||||
#define LCR_FREE_CAMERA_STEP \
|
||||
(LCR_SETTING_FREE_CAMERA_SPEED / LCR_SETTING_FPS)
|
||||
|
||||
#if LCR_FREE_CAMERA_STEP == 0
|
||||
#define LCR_FREE_CAMERA_STEP 1
|
||||
#endif
|
||||
|
||||
#define LCR_FREE_CAMERA_TURN_STEP \
|
||||
(LCR_SETTING_FREE_CAMERA_TURN_SPEED / LCR_SETTING_FPS)
|
||||
|
||||
#define LCR_MAP_SIZE_BLOCKS 64
|
||||
|
||||
/** Physics FPS, i.e. the number of physics ticks per second. */
|
||||
|
@ -36,21 +26,6 @@
|
|||
#define LCR_RACING_TICK_MS \
|
||||
(100000 / (LCR_RACING_FPS * LCR_SETTING_TIME_MULTIPLIER))
|
||||
|
||||
#define LCR_ANIMATE_CAR (LCR_SETTING_CAR_ANIMATION_SUBDIVIDE != 0)
|
||||
|
||||
/** Maximum number of triangles of a block shape. */
|
||||
#define LCR_MAP_BLOCK_SHAPE_MAX_BYTES 80
|
||||
|
||||
#define LCR_FONT_PIXEL_SIZE (1 + LCR_EFFECTIVE_RESOLUTION_X / 512)
|
||||
|
||||
#define LCR_RESOURCE_FILE_SEPARATOR '#'
|
||||
#define LCR_RESOURCE_FILE_SEPARATOR2 ';'
|
||||
|
||||
#define LCR_MENU_MAX_ITEMS 9 // don't change
|
||||
#define LCR_RESOURCE_ITEM_CHUNK (LCR_MENU_MAX_ITEMS - 1)
|
||||
#define LCR_MENU_TABS 4
|
||||
#define LCR_MENU_STRING_SIZE 16
|
||||
|
||||
char _LCR_hexDigit(int i)
|
||||
{
|
||||
return i < 10 ? '0' + i : ('a' - 10 + i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue