Archeus 0.0.0
A C library and game engine that focuses on documentation
Loading...
Searching...
No Matches
ecs.h
Go to the documentation of this file.
1#ifndef ARC_ENGINE_ECS_H_
2#define ARC_ENGINE_ECS_H_
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include "arc/std/vector.h"
9#include <stdint.h>
10
11/**
12 * @brief a type that keeps permanice of data for when loading and unloading config files
13 */
14typedef struct ARC_ECS ARC_ECS;
15
16/**
17 * @brief entity type for ARC_ECS
18*/
19typedef uint64_t ARC_ECSEntity;
20
21/**
22 * @brief creates ARC_Config type
23 *
24 * @param ecs ARC_ECS
25 */
27
28/**
29 * @brief destroys ARC_ECS type
30 */
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif //ARC_ENGINE_ECS_H_
void ARC_ECS_Destroy(ARC_ECS *ecs)
destroys ARC_ECS type
uint64_t ARC_ECSEntity
entity type for ARC_ECS
Definition ecs.h:19
void ARC_ECS_Create(ARC_ECS **ecs)
creates ARC_Config type
struct ARC_ECS ARC_ECS
a type that keeps permanice of data for when loading and unloading config files
Definition ecs.h:14
creates and outlines a dynamic array type and its functions