Clean up some testing defines

This commit is contained in:
Rodolfo Barcelli Jo 2026-01-19 16:54:30 +08:00
parent 7831fc143e
commit 8d0f9d83e4
2 changed files with 3 additions and 4 deletions

View file

@ -3,7 +3,9 @@ CompileFlags:
"-Wall",
"-Wextra",
"-Werror",
"-DBECS_IMPLEMENTATION=1"]
"-DBECS_IMPLEMENTATION=1",
"-DMAX_ENTITIES=100",
"-DNUM_COMPONENTS=2"]
Diagnostics:
Suppress: [
"-Wunused-function",

View file

@ -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_GetComponent(BECS_ECS *ecs, uint32_t entityID, uint32_t componentIndex);
//#define MAX_ENTITIES 100:
//#define NUM_COMPONENTS 2
#ifdef MAX_ENTITIES
#ifdef NUM_COMPONENTS
#ifdef BECS_IMPLEMENTATION