0ad/source/simulation2/tests
Ykkrosh 05422ad545 Avoid slightly-expensive QueryInterface() calls
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.
2013-09-11 20:41:53 +00:00
..
test_CmpTemplateManager.h Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
test_ComponentManager.h Avoid slightly-expensive QueryInterface() calls 2013-09-11 20:41:53 +00:00
test_ParamNode.h Removed logger output for XML token node tests 2012-03-17 23:03:02 +00:00
test_Serializer.h Updates bundled Valgrind headers to 3.8.1 and fixes test build, patch by Markus, fixes #1971 2013-06-12 03:38:37 +00:00
test_Simulation2.h add support for removing individual files from VFS and a mechanism for automatically doing so (add filename.extension.DELETED to the same directory/archive), as discussed in meeting. 2011-11-26 18:37:53 +00:00