This repository was archived by the owner on Mar 12, 2021. It is now read-only.
Releases: miguelmartin75/anax
Releases · miguelmartin75/anax
Version 2.1.0
Revert the breaking change(s):
getComponent
/addComponent
/etc. now return a pointer (sorry). This may be changed back in the future, I mainly did this so I can make a wrapper pointer class (but we'll see if it's even necessary).
Version 2.0.0
BREAKING CHANGES:
getComponent
/addComponent
/etc. now return a pointer (sorry). This may be changed back in the future, I mainly did this so I can make a wrapper pointer class (but we'll see if it's even necessary).- Removed CRTP requirement for Components and Systems
- Supply list of component requirements/exclusions via variadic template (e.g.
struct MySys : System<Requires<Foo, Bar>>
; #20) - Removed boost dependancy completely
Minor changes:
- Supply functors to
World::createEntity
Misc:
- A boatload of more test cases
- Fixed animation bug(s) in examples
- Fixed collision example
There's probably some more I missed.
Version 1.1
Features:
- Added
World::getEntities()
- Added
World::clear()
- Added Movement example
- Added Collision example (thanks to johnmarinelli)
Bug Fixes
- Fixed Entity::Id's being re-cycled incorrectly.
- Fixed issue where re-activating Entities caused them to be re-added to their Systems.
- Added the ability for an empty Entity handle to check its validity without asserting.
- Removing Component caused crashes
Thank you jabza for helping to fix these bugs.
Version 1.0
Features:
- Changed how Entities are stored
- Added unit tests
- Added CMake support
- Removed virtual process/update method in System classes, as not all systems require to be updated in a particular way
- Added C++11 support where necessary, e.g. for ComponentFilter
- Library requires C++11 now - may change in the future
- Added Rendering example
- Added Animation example