2022-12-19 23:16:17 -07:00
|
|
|
#ifndef ARC_ENGINE_ECS_H_
|
|
|
|
|
#define ARC_ENGINE_ECS_H_
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "arc/std/vector.h"
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief a type that keeps permanice of data for when loading and unloading config files
|
|
|
|
|
*/
|
|
|
|
|
typedef struct ARC_ECS ARC_ECS;
|
|
|
|
|
|
2023-01-17 01:59:08 -07:00
|
|
|
/**
|
|
|
|
|
* @brief entity type for ARC_ECS
|
|
|
|
|
*/
|
|
|
|
|
typedef uint64_t ARC_ECSEntity;
|
|
|
|
|
|
2022-12-19 23:16:17 -07:00
|
|
|
/**
|
|
|
|
|
* @brief creates ARC_Config type
|
|
|
|
|
*
|
|
|
|
|
* @param ecs ARC_ECS
|
|
|
|
|
*/
|
|
|
|
|
void ARC_ECS_Create(ARC_ECS **ecs);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief destroys ARC_ECS type
|
|
|
|
|
*/
|
|
|
|
|
void ARC_ECS_Destroy(ARC_ECS *ecs);
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif //ARC_ENGINE_ECS_H_
|