Commit Graph

4 Commits

Author SHA1 Message Date
Eric-Paul Ickhorn 86479af2fb Create type registry
It is useful  to have all types  registered before they  are allocated
because the memory needed for them can then be allocated before any of
it is  required, speeding up allocations because  a pool may have been
created beforehand.
2024-09-14 16:37:45 +02:00
Eric-Paul Ickhorn a8c941f041 Take UUID table as argument for ECS creation
The ECS needs a  UUID table to get UUIDs  for the entities. If none is
given into the creation function, it will create one itself.
2024-09-14 14:25:49 +02:00
Eric-Paul Ickhorn 25399640a4 Support tagging entities in ECS
The ECS previously wasn't capable of  adding tags to the entities; the
'C' of ECS wasn't there. The tagging still needs some tests.
2024-09-12 23:27:12 +02:00
Eric-Paul Ickhorn e3e4e5ee84 Add first, inperformant version of ECS
The ECS can't handle many entities in this state; it is really slow.
This commit also doesn't contain any tests for its functions.
2024-09-11 12:18:33 +02:00