forked from 0ad/0ad
Ykkrosh
05422ad545
Add CEntityHandle which wraps an entity_id_t and also has a pointer to a per-entity array of IComponents. QueryInterface/CmpPtr on a handle just involve a couple of pointer dereferences instead of a map lookup. This requires sizeof(void*) per registered interface type per entity, which is currently ~0.5KB per entity, which shouldn't be a problem. This was SVN commit r13825. |
||
---|---|---|
.. | ||
test_CmpTemplateManager.h | ||
test_ComponentManager.h | ||
test_ParamNode.h | ||
test_Serializer.h | ||
test_Simulation2.h |