EntityX - A fast, type-safe C++ Entity-Component system
MIT License
Bot releases are hidden (Show)
Published by alecthomas over 9 years ago
This release fixes an issue where const entities caused components to disappear. This is now fixed and additionally disallows non-const access to components on const entities.
Published by alecthomas over 9 years ago
Components and events no longer need to be inherited from Component and Event respectively. This allows direct use of classes and structs from third parties without wrapping them.
Published by alecthomas almost 10 years ago
Fixes a memory leak where component destructors were not called when the EntityManager was shut down.
Published by alecthomas about 10 years ago
First stable release of EntityX.
Published by alecthomas over 10 years ago
EntityX has switched to a more cache-friendly memory layout for components. This is achieved by requiring the use of assign<Component>(arg0, arg1, ...)
and removing assign(component)
. This allows EntityX to explicitly control the layout of components. The current lyout algorithm reserves space for components in chunks (8192 by default).
This change also necessitated a move away from the use of shared_ptr<>
for components, which I had never been that pleased with anyway. Replacing it is a very lightweight ComponentHandle<C>
smart pointer. This checks for validity of the entity associated with the component, and validity of the component itself. It also allows future iterations of EntityX to do even more interesting things with memory layout if desirable.
Published by alecthomas almost 11 years ago
Fixes a bug where unpacking to more than two components failed to compile.
Published by alecthomas almost 11 years ago
First "official" release of EntityX.
Recent notable changes: