Clean up some testing defines
This commit is contained in:
parent
7831fc143e
commit
8d0f9d83e4
4
.clangd
4
.clangd
|
|
@ -3,7 +3,9 @@ CompileFlags:
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-Wextra",
|
"-Wextra",
|
||||||
"-Werror",
|
"-Werror",
|
||||||
"-DBECS_IMPLEMENTATION=1"]
|
"-DBECS_IMPLEMENTATION=1",
|
||||||
|
"-DMAX_ENTITIES=100",
|
||||||
|
"-DNUM_COMPONENTS=2"]
|
||||||
Diagnostics:
|
Diagnostics:
|
||||||
Suppress: [
|
Suppress: [
|
||||||
"-Wunused-function",
|
"-Wunused-function",
|
||||||
|
|
|
||||||
3
becs2.h
3
becs2.h
|
|
@ -16,9 +16,6 @@ BECS_ECS *BECS_Init(void *memory, size_t size, BECS_Properties props);
|
||||||
void *BECS_AddComponent(BECS_ECS *ecs, uint32_t entityID, uint32_t componentIndex);
|
void *BECS_AddComponent(BECS_ECS *ecs, uint32_t entityID, uint32_t componentIndex);
|
||||||
void *BECS_GetComponent(BECS_ECS *ecs, uint32_t entityID, uint32_t componentIndex);
|
void *BECS_GetComponent(BECS_ECS *ecs, uint32_t entityID, uint32_t componentIndex);
|
||||||
|
|
||||||
//#define MAX_ENTITIES 100:
|
|
||||||
//#define NUM_COMPONENTS 2
|
|
||||||
|
|
||||||
#ifdef MAX_ENTITIES
|
#ifdef MAX_ENTITIES
|
||||||
#ifdef NUM_COMPONENTS
|
#ifdef NUM_COMPONENTS
|
||||||
#ifdef BECS_IMPLEMENTATION
|
#ifdef BECS_IMPLEMENTATION
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue