493afb05e6
This is working repository now. I had to clean this up due to my f_ups, that made this simple repo around 200MB large. Signed-off-by: Piotr Krygier <piotrkrygier@everyonecancode@xyz>
27 lines
426 B
C
27 lines
426 B
C
/**
|
|
* @file entity.h
|
|
* @author Piotr Krygier (piotrkrygier@everyonencancode.xyz)
|
|
* @brief Entity from ECS
|
|
* @version 0.1
|
|
* @date 2025-09-25
|
|
*
|
|
* @copyright Copyright (c) 2025
|
|
*
|
|
*/
|
|
|
|
#ifndef ENTITY_H
|
|
#define ENTITY_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#define ENTITY_MAX_COUNT 65535
|
|
#define COMPONENT_MAX_COUNT 65535
|
|
|
|
typedef uint32_t entity_t;
|
|
|
|
entity_t entity_create(void);
|
|
void entity_free(entity_t entity);
|
|
|
|
#endif // !ENTITY_H
|
|
|