You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Renamed mBuffer to mData and changed the data type from std::vector<Byte> to std::byte*.
Added m_capacity initialised to 16 instances of the archetype at construction.
Renamed Destructor to MemberFuncs and added a MoveAssign and MoveConstruct function pointer.
Replaced usages of typedef with using.
Fixed Archetype::push_back to now call move-constructors for the ComponentTypes.
Fixed Archetype::erase to now call move-assignment operator when re-positioning Components in non-end erase.
Added Archetype::reserve(Capacity).
Replaced ComponentIDGenerator with ComponentHelper.
ComponentHelper gives ComponentID but also stores an array of ComponentInfo.
ComponentInfo allows a non-templated way to access information about types after type erasure. This access is required by #37 and #51 when the only type supplied to these functions is the ComponentType being added or removed.
Removed Archetype getComponentImpl and getComponentMutableInfo.
Refactored get_components_layout which now aligns types to their preferred alignment as well as reordering the parameter pack to optimise memory usage in the Archetype buffer.
ComponentLayout owns a copy of ComponentInfo.
Added destructor, move-construct and move-assign.
Declared copy construct and copy assign deleted.
Added Archetype::clear for destroying all the components.
Todo:
The text was updated successfully, but these errors were encountered: