Initial commit
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>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* @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
|
||||
|
||||
Reference in New Issue
Block a user