aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-10-29Normalize line endingsAlec Thomas
2013-10-29Add .gitattributes for line endings.Alec Thomas
2013-10-14Dependencies in README.Alec Thomas
2013-10-14README formatting tweaks.Alec Thomas
2013-10-14Fix bug in EntityManager::get.Alec Thomas
2013-10-12Allow creation of Entity::Id from uint64_t.Alec Thomas
2013-10-04Document dependency helper.Alec Thomas
2013-10-04Add `Dependency<C, D1, D2...>` System for automatic componentAlec Thomas
dependencies.
2013-10-01Update README to match reality.Alec Thomas
2013-09-05Speed up iterator creation a bit by avoiding some copies.Alec Thomas
2013-09-05Fix stupid iteration bug.Alec Thomas
Iteration would terminate at ID size() rather than capacity(), where size() is the number of allocated entities. Depending on where deleted entities were, this would likely miss entities at the end of the allocated vectors. Fixes #10.
2013-09-04Add entityx/entityx.hAlec Thomas
2013-09-04Performance improvements + emitting events from Python.Alec Thomas
2013-09-02Added remove<C>() method for removal of components by type.David Wicks
Along with this, there is a ComponentRemovedEvent<T> that is delivered whenever a component is removed from an entity.
2013-08-29Speed up iteration a bit.Alec Thomas
2013-08-22Switch from boost::signal to embedded Simple::Signal.Alec Thomas
2013-08-21Revert "Switch to boost::signals2."Alec Thomas
Until I have the time to make the tests work. This reverts commit be03c3a3d4e8824c3b909648b46910b4cdbc72e1.
2013-08-21Switch to boost::signals2.Alec Thomas
2013-08-19Use README.md for Doxygen index.Alec Thomas
2013-08-19Fix build.Alec Thomas
2013-08-19Add Doxygen file.Alec Thomas
2013-08-18Destroying an entity correctly invalidates all other references.Alec Thomas
2013-08-17Clarify docs + dump test output on failure.Alec Thomas
2013-08-17Add changelog, clean up docs a bit.Alec Thomas
2013-08-16Add Python based scripting system (still experimental).Alec Thomas
The build system has also been revamped considerably, with the ability to select between std::shared_ptr and boost::shared_ptr, as well as other improvements.
2013-06-04Update documentation. Fixes #8.Alec Thomas
2013-04-03All Manager classes are now managed by smart pointers.Alec Thomas
2013-04-02Agh. .gitignore!Alec Thomas
2013-04-02Remove Components*, moved to tags/ in a previous change.Alec Thomas
2013-04-02Allow shared_ptr implementation to be selected.Alec Thomas
Fixes #6.
2013-04-02Add support for Travis-CI.Alec Thomas
Also ditched glog.
2013-04-01Include gtest (as per gtest recommendations).Alec Thomas
See https://groups.google.com/forum/?fromgroups=#!topic/googletestframework/Zo7_HOv1MJ0
2013-03-30Fix README.Alec Thomas
Fixes #7.
2013-03-24Remove unused flag that broke clang 3.x.Alec Thomas
Fixes #5.
2013-03-20Merge pull request #4 from larspensjo/gcc-staticAlec Thomas
gcc 4.7.2 doesn't allow static keyword in member function definition.
2013-03-20gcc 4.7.2 doesn't allow static keyword in member function definition.Lars Pensjö
2013-03-14Make Component<T>::family() support > 64 components.Alec Thomas
2013-03-14Typedef bitset out.Alec Thomas
2013-03-12Use std::bitset, allowing for an arbitrary number of components.Alec Thomas
2013-03-11Improve documentation.Alec Thomas
2013-03-11Add some benchmarks.Alec Thomas
2013-03-11Use std::list for free list.Alec Thomas
2013-03-11Some breaking changes to Entity management.Alec Thomas
- Entity will no longer implicitly cast to Entity::Id. This is safer and cleaner. - Use Entity::destroy(). This will destroy the entity *and* invalidate the handle. - Removed the exists() method, as it was largely meaningless anyway. Listen to EntityDestroyedEvent instead. - Exposed Entity::manager() and removed manager attribute from events.
2013-03-10README formatting.Alec Thomas
2013-03-10Two bugfixes in Entity.Lars Pensjö
Fix Entity::operator! and initialize Entity::id_ to invalid value by default. Add test to verify operator! and uninitialized Entity. Suppress warnings about unused variables.
2013-03-09Allow Entity objects to be copied around.Alec Thomas
Note that this doesn't use shared_ptr, but this is little different from the previous implementation using a reference.
2013-03-02Remove unused variable. Update README.Alec Thomas
2013-03-02Merge pull request #2 from larspensjo/ReuseEntityAlec Thomas
Bug in allocation of freed entities.
2013-03-02Added comment.Lars Pensjö
2013-03-02Entity allocation error fixed.Lars Pensjö
Need to save the id before erasing.