Loading...
Searching...
No Matches
ecs.h
Go to the documentation of this file.
#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;
/**
* @brief entity type for ARC_ECS
*/
typedef uint64_t ARC_ECSEntity;
/**
* @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_
ARC_ECS_Destroy
void ARC_ECS_Destroy(ARC_ECS *ecs)
destroys ARC_ECS type
ARC_ECSEntity
uint64_t ARC_ECSEntity
entity type for ARC_ECS
Definition ecs.h:19
ARC_ECS_Create
void ARC_ECS_Create(ARC_ECS **ecs)
creates ARC_Config type
ARC_ECS
struct ARC_ECS ARC_ECS
a type that keeps permanice of data for when loading and unloading config files
Definition ecs.h:14
vector.h
creates and outlines a dynamic array type and its functions