Many new settings to support the new state machine functionality.

This commit is contained in:
Joe Kearney 2025-03-01 06:09:51 -06:00
parent 908bdbba35
commit 47822bbdec
11 changed files with 84 additions and 21 deletions

View file

@ -22,17 +22,21 @@
#ifndef SETTINGS_INTERFACE_H
#define SETTINGS_INTERFACE_H
#define SYSTEMK_MAX_CHARS_IN_DEVICE_NAME 15
#define SYSTEMK_MAX_CHARS_IN_DEVICE_NAME 16
typedef enum
{
SYSTEMK_SETTING_DEVICE_TYPE,
SYSTEMK_SETTING_IS_RIGHT_HANDED,
SYSTEMK_SETTING_AUDIO_VOLUME,
SYSTEMK_SETTING_TEAMID,
SYSTEMK_SETTING_PLAYERID,
SYSTEMK_SETTING_WEAPONID,
SYSTEMK_SETTING_MAX_HEALTH,
SYSTEMK_SETTING_N_SPECIAL_WEAPONS_ON_REENTRY,
SYSTEMK_SETTING_T_START_GAME_in_ms,
SYSTEMK_SETTING_DEVICE_TYPE,
SYSTEMK_SETTING_T_GAME_LENGTH_in_ms,
SYSTEMK_SETTING_SECONDARY_COLOR
} SystemKSettingID_T;
SystemKResult_T SETTINGS_get_uint8_t(SystemKSettingID_T id, uint8_t * value);