This commit is contained in:
2026-04-10 07:31:31 -05:00
parent 42099f7241
commit 0778ffb57a
35 changed files with 187 additions and 794 deletions
+3 -1
View File
@@ -87,11 +87,13 @@ componentindex_t componentGetIndex(
* @param type The type of the component to get entities for.
* @param outEntities An array to write the entity IDs to, must be at least
* ENTITY_COUNT_MAX in size.
* @param outComponents An array to write the component IDs to.
* @return The number of entity IDs written to outEntities.
*/
entityid_t componentGetEntitiesWithComponent(
const componenttype_t type,
entityid_t outEntities[ENTITY_COUNT_MAX]
entityid_t outEntities[ENTITY_COUNT_MAX],
componentid_t outComponents[ENTITY_COUNT_MAX]
);
/**