Commit graph

11 commits

Author SHA1 Message Date
4db5e0caed Add fn to Manager allowing iterable indices as sig
As an alternative to forMatchingSignatures, which calls the given
function on entities matching the given Components/Tags in the
signature, forMatchingIterable allows filtering entities by an iterable
of indices that corresponds to Components/Tags.
2019-07-11 21:11:03 +09:00
b9589b909d Minor fixes/improvements 2018-05-19 16:09:31 +09:00
d12af4d527 Add ability to handle unknown types
EC/Manager and EC/Bitset can now handle types that are not known
(Components or Tags not in the given Components or Tags when created).

Manager::getEntityData now returns a pointer instead of a reference.
Functions passed to Manager::forMatchingFunction (and other similar fns)
should now accept Component fields as pointer types, not reference
types.
2018-05-17 17:05:49 +09:00
396ede1c76 Add const fns to Manager, obey 80 char line limit 2017-09-20 17:18:29 +09:00
816e596878 Added missing includes 2016-04-20 21:59:47 +09:00
a008830373 Added License and legal related requirements
All source files in src/EC now has some text describing
attribution notice to the original work this work derives from.
2016-03-15 19:29:13 +09:00
635eed34a4 Minor fixes/changes 2016-03-14 18:16:09 +09:00
f123f075eb Added Meta/Matching, progress on Bitset/Manager 2016-03-13 18:07:49 +09:00
24ce103fbb Added EC/Meta/TypeListGet, WIP in Bitset, Manager
TODO, get a ForEach type recursion working for Bitset.
2016-03-05 23:33:24 +09:00
9c5894520f Changed Bitset to use Combined lists 2016-03-04 21:39:25 +09:00
12bc0d9f8f Added EC/Bitset.hpp and EC/Meta/ContainsAll.hpp
Also added EC/EC.hpp and EC/Meta/Meta.hpp that loads all
headers in that directory.
2016-03-04 21:12:37 +09:00