Claude opus authored everything to make the user and task work. First iteration
This commit is contained in:
16
Provider/main/user.hpp
Normal file
16
Provider/main/user.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#include "types.hpp"
|
||||
|
||||
struct user_t
|
||||
{
|
||||
uint8 id; // Auto-assigned (1–255, 0 = empty slot)
|
||||
char name[32]; // Display name
|
||||
bool active; // Slot in use
|
||||
};
|
||||
|
||||
constexpr int MAX_USERS = 8;
|
||||
internal user_t g_Users[MAX_USERS] = {};
|
||||
internal uint8 g_NextUserId = 1;
|
||||
Reference in New Issue
Block a user