Pulled in the latest SystemK (with new BLE). (#1)
The new spec is here: [KTag Beacon Specification v0.11](https://ktag.clubk.club/Technology/BLE/KTag%20Beacon%20Specification%20v0.11.pdf) Co-authored-by: Joe Kearney <joe@clubk.club> Reviewed-on: #1
This commit is contained in:
parent
dac4af8d25
commit
e8dda3f16a
18 changed files with 274 additions and 47 deletions
|
@ -13,7 +13,7 @@
|
|||
/** \file
|
||||
* \brief [Autogenerated] This file declares the External EEPROM entries.
|
||||
*
|
||||
* \note AUTOGENERATED: This file was generated automatically on Friday, April 28, 2023 at 11:31:31 AM.
|
||||
* \note AUTOGENERATED: This file was generated automatically on Saturday, March 1, 2025 at 08:52:44 AM.
|
||||
* DO NOT MODIFY THIS FILE MANUALLY!
|
||||
*/
|
||||
|
||||
|
@ -60,10 +60,20 @@ typedef struct __attribute__((packed))
|
|||
{
|
||||
//! Selected weapon.
|
||||
uint8_t Weapon_ID;
|
||||
//! Player identification (is this used?)
|
||||
//! Player identification.
|
||||
uint8_t Player_ID;
|
||||
//! Selected team.
|
||||
uint8_t Team_ID;
|
||||
//! Maximum health.
|
||||
uint8_t Max_Health;
|
||||
//! Number of special weapons regained upon reentry to the game.
|
||||
uint8_t N_Special_Weapons_On_Reentry;
|
||||
//! Time in milliseconds between instigating a game and when the countdown begins.
|
||||
uint32_t T_Start_Game_in_ms;
|
||||
//! Duration of the game in milliseconds.
|
||||
uint32_t T_Game_Length_in_ms;
|
||||
//! Color representing the player, rather than the team.
|
||||
uint32_t Secondary_Color;
|
||||
} NVM_Game_Settings_T;
|
||||
|
||||
typedef struct __attribute__((packed))
|
||||
|
@ -123,6 +133,21 @@ extern const uint8_t NVM_N_EXTERNAL_EEPROM_ENTRIES;
|
|||
#define NVM_TEAM_ID (((NVM_Game_Settings_T*)NVM_Game_Settings.Value)->Team_ID)
|
||||
#define NVM_TEAM_ID_ENTRY_PTR (&NVM_Game_Settings)
|
||||
|
||||
#define NVM_MAX_HEALTH (((NVM_Game_Settings_T*)NVM_Game_Settings.Value)->Max_Health)
|
||||
#define NVM_MAX_HEALTH_ENTRY_PTR (&NVM_Game_Settings)
|
||||
|
||||
#define NVM_N_SPECIAL_WEAPONS_ON_REENTRY (((NVM_Game_Settings_T*)NVM_Game_Settings.Value)->N_Special_Weapons_On_Reentry)
|
||||
#define NVM_N_SPECIAL_WEAPONS_ON_REENTRY_ENTRY_PTR (&NVM_Game_Settings)
|
||||
|
||||
#define NVM_T_START_GAME_IN_MS (((NVM_Game_Settings_T*)NVM_Game_Settings.Value)->T_Start_Game_in_ms)
|
||||
#define NVM_T_START_GAME_IN_MS_ENTRY_PTR (&NVM_Game_Settings)
|
||||
|
||||
#define NVM_T_GAME_LENGTH_IN_MS (((NVM_Game_Settings_T*)NVM_Game_Settings.Value)->T_Game_Length_in_ms)
|
||||
#define NVM_T_GAME_LENGTH_IN_MS_ENTRY_PTR (&NVM_Game_Settings)
|
||||
|
||||
#define NVM_SECONDARY_COLOR (((NVM_Game_Settings_T*)NVM_Game_Settings.Value)->Secondary_Color)
|
||||
#define NVM_SECONDARY_COLOR_ENTRY_PTR (&NVM_Game_Settings)
|
||||
|
||||
#define NVM_HOURMETER_STARTUPS (((NVM_Hourmeter_T*)NVM_Hourmeter.Value)->Hourmeter_Startups)
|
||||
#define NVM_HOURMETER_STARTUPS_ENTRY_PTR (&NVM_Hourmeter)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue