TODO 2.4 KB

123456789101112131415161718192021222324252627
  1. * long term feature: templated generic vm
  2. * long term feature: shared_ptr less locator
  3. * long term feature: shared_ptr less resource cache
  4. * custom allocators and EnTT allocator-aware in general (long term feature, I don't actually need it at the moment) - see #22
  5. * debugging tools (#60): the issue online already contains interesting tips on this, look at it
  6. * runner proposal: https://en.wikipedia.org/wiki/Fork%E2%80%93join_model https://slide-rs.github.io/specs/03_dispatcher.html
  7. * work stealing job system (see #100)
  8. * meta: sort of meta view based on meta stuff to iterate entities, void * and meta info objects
  9. * allow for built-in parallel each if possible
  10. * allow to replace std:: with custom implementations
  11. * allow to sort groups (::respect can already work with begin/end instead of a whole sparse set)
  12. -it would ease by far the group trick for hierarchies that requires otherwise more boilerplate
  13. * events on replace, so that one can track updated components? indagate impact
  14. - define basic reactive systems (track entities to which component is attached, track entities from which component is removed, and so on)
  15. - define systems as composable mixins (initializazion, reactive, update, whatever) with flexible auto-detected arguments (registry, views, etc)
  16. - from Tommaso on discord view<Health, Transform>().where<Health>([](h) {h > 5}).where<Transform>([](t) {t.inside(aabb)});
  17. * remove runtime views, welcome reflection and what about snapshot?
  18. * empty components model allows for shared components and prefabs unity-like
  19. - each with entity return the shared component multiple times, one per entity that refers to it
  20. - each components only return actual component, so shared components are returned only once
  21. * types defined at runtime that refer to the same compile-time type (but to different pools) are possible, the library is almost there
  22. * add take functionality, eg registry.take(entity, other); where it takes the entity and all its components from registry and move them to other
  23. * add entity function to views/groups (component -> owner, see sparse sets)
  24. * add opaque input iterators to views and groups that return tuples <entity, T &...> (proxy), multi-pass guaranteed
  25. * add fast lane for raw iterations, extend mt doc to describe allowed add/remove with pre-allocations on fast lanes
  26. * review sparse set to allow extrem customization (mix pack in the spec, base is position only)
  27. * paged reverse to reduce memory usage