Start main loop

This commit is contained in:
Miloslav Ciz 2023-09-17 13:21:19 +02:00
parent ee15824329
commit e21d5b7825
5 changed files with 86 additions and 24 deletions

View file

@ -1,12 +1,17 @@
#ifndef _LCR_CONSTANTS_H
#define _LCR_CONSTANTS_H
#include "settings.h"
#define LCR_EFFECTIVE_RESOLUTION_X \
(LCR_SETTING_RESOLUTION_X / LCR_SETTING_RESOLUTION_SUBDIVIDE)
#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)
/** Maximum number of triangles of a block shape. */
#define LCR_MAP_BLOCK_SHAPE_MAX_TRIANGLES 32