From 2a68ada51e36f2278a5d406a83acdfcba2635a45 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Date: Thu, 22 Aug 2024 02:14:27 -0400 Subject: [PATCH] Clarifications in ecs --- ecs2.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ecs2.h b/ecs2.h index 6a78a3b..78ad224 100644 --- a/ecs2.h +++ b/ecs2.h @@ -5,6 +5,8 @@ #ifndef __HALOO3D_ECS2_H #define __HALOO3D_ECS2_H +// Note: you can get rid of string.h as a requirement if you +// redo that memset to be a loop (up to you) #include #ifndef ECS_MAXENTITIES @@ -15,7 +17,7 @@ // This is the unusable 64th ID = 63 (your ids should start from 0) #define ECS_MAXCTYPES 63 // The self flag is an ID that will get you back a component that is -// the ecs system itself. It is ALSO used to identify is an entity is +// the ecs system itself. It is ALSO used to identify if an entity is // valid, as ALL entities will implicitly have the ECS component #define ECS_SELFFLAG (1ULL << ECS_MAXCTYPES)