Address some settings
This commit is contained in:
parent
ff75390a2a
commit
71aa8156e9
5 changed files with 45 additions and 38 deletions
24
game.h
24
game.h
|
@ -201,6 +201,30 @@ static inline void LCR_drawPixelXYSafe(unsigned int x, unsigned int y,
|
|||
#include "assets.h"
|
||||
#include "renderer.h"
|
||||
|
||||
#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
|
||||
|
||||
#define LCR_RESOURCE_FILE_SEPARATOR '#'
|
||||
#define LCR_RESOURCE_FILE_SEPARATOR2 ';'
|
||||
|
||||
#define LCR_FREE_CAMERA_STEP \
|
||||
((LCR_SETTING_FREE_CAMERA_SPEED * LCR_GAME_UNIT / 8) \
|
||||
/ 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_GAME_UNIT) \
|
||||
/ (360 * LCR_SETTING_FPS))
|
||||
|
||||
#if LCR_FREE_CAMERA_TURN_STEP == 0
|
||||
#define LCR_FREE_CAMERA_TURN_STEP 1
|
||||
#endif
|
||||
|
||||
struct
|
||||
{
|
||||
uint8_t state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue