aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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.
2013-03-02Add test for reusing an Entity.Lars Pensjö
This will lead to a crash.
2013-02-27Merge pull request #1 from larspensjo/linux-gccAlec Thomas
Enable testing for Linux GCC.
2013-02-27Minor readme updates.Lars Pensjö
Add link to define POD. Refer to entity instead of component.
2013-02-27Enable testing for Linux with gcc.Lars Pensjö
Resolve namespace std clash with boost. struct NullDeleter can't be local. Remove surplus ';'.
2013-02-27Update cmake conf for testing.Lars Pensjö
Suppress error from signed comparison in gtest.h (-Wno-error=sign-compare). Suppress error from unused variables (-Wno-error=unused-but-set-variable). Add cmake flag BUILD_TESTING to the cached variables. When building for testing, the include path to GTest shall be added.
2013-01-06Make testing optional.Alec Thomas
2012-10-27Add Entity::exists() and EntityManager::get().Alec Thomas
2012-10-24Add Entity class helper.Alec Thomas
This largely supplants the use of entity IDs.
2012-10-24Change namespace entity -> entityx.Alec Thomas
2012-10-24Include updated.Alec Thomas
2012-10-24Name shared library entityx (rather than ..._shared).Alec Thomas
2012-10-24Add C++ GitHub highlighting (hopefully).Alec Thomas
2012-10-24Add COPYING.Alec Thomas
2012-10-24README updates.Alec Thomas
2012-10-24Fix unpacking bug (segfault from lambda).Alec Thomas
2012-10-22Allow System's to be added pre-created to the SystemManager.Alec Thomas
2012-10-22Convert remaining bare pointers to shared_ptr.Alec Thomas
2012-10-20Convert EntityManager::unpack() to use boost::shared_ptr.Alec Thomas
2012-10-20Implemented unified entity iteration and component unpacking.Alec Thomas
Continued working on docs.
2012-10-20More README updates.Alec Thomas
2012-10-19More install cleanup.Alec Thomas
2012-10-19A bunch of minor build fixes. Started README.Alec Thomas
2012-10-18Add C++11 feature checking to cmake.Alec Thomas
2012-10-18More attempts to get cmake build working.Alec Thomas
2012-09-20Initial import.Alec Thomas