]>
code.bitgloo.com Git - clyne/entityx.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Alec Thomas [Fri, 29 Nov 2013 17:47:35 +0000 (12:47 -0500)]
Make benchmarks work.
Antony Woods [Mon, 4 Nov 2013 09:09:28 +0000 (09:09 +0000)]
Moved stdlib=libc++ test into CMakeLists.txt. Made further modifications to README.md
Antony Woods [Mon, 4 Nov 2013 08:57:55 +0000 (08:57 +0000)]
Tidied up config.h.in to remove redundant guard - take two
Antony Woods [Mon, 4 Nov 2013 08:53:42 +0000 (08:53 +0000)]
Revert "Tidied up config.h.in to remove redundant guard"
This reverts commit
a5247cfd2a63ac4ef4820a61d43af0fb10f722ae .
Antony Woods [Fri, 1 Nov 2013 08:20:46 +0000 (08:20 +0000)]
Tidied up config.h.in to remove redundant guard
Antony Woods [Thu, 31 Oct 2013 09:01:02 +0000 (09:01 +0000)]
Line endings fix?
Antony Woods [Wed, 30 Oct 2013 08:41:08 +0000 (08:41 +0000)]
Normalize line endings
Antony Woods [Wed, 30 Oct 2013 08:38:58 +0000 (08:38 +0000)]
Resolved README merge conflict
Antony [Wed, 30 Oct 2013 08:30:12 +0000 (01:30 -0700)]
Merge pull request #1 from alecthomas/master
Merge changes from upstream
Alec Thomas [Wed, 30 Oct 2013 03:05:34 +0000 (23:05 -0400)]
Normalize line endings
Alec Thomas [Wed, 30 Oct 2013 02:54:18 +0000 (22:54 -0400)]
Add .gitattributes for line endings.
Antony Woods [Tue, 29 Oct 2013 18:25:31 +0000 (18:25 +0000)]
Tidying up and amending readme/changes
Antony Woods [Tue, 29 Oct 2013 08:40:31 +0000 (08:40 +0000)]
Removed boost namespace from tests so they compile
Antony Woods [Tue, 29 Oct 2013 08:36:33 +0000 (08:36 +0000)]
Fixed a compiler error with std::chrono::duration
Antony Woods [Wed, 16 Oct 2013 08:09:22 +0000 (09:09 +0100)]
Fixed invalid header in python files. Now using chrono instead of boost timer. Removed unnecessary ptr checks, as now shared ptr is mandatory. Updated Readme to reflect new changes. Updated travis file, just in case.
Antony Woods [Tue, 15 Oct 2013 23:17:05 +0000 (00:17 +0100)]
First pass at replacing boost with c++11 features
Alec Thomas [Mon, 14 Oct 2013 20:30:23 +0000 (16:30 -0400)]
Dependencies in README.
Antony Woods [Mon, 14 Oct 2013 20:03:04 +0000 (21:03 +0100)]
Initial commit
Alec Thomas [Mon, 14 Oct 2013 17:56:17 +0000 (13:56 -0400)]
README formatting tweaks.
Alec Thomas [Mon, 14 Oct 2013 17:53:41 +0000 (13:53 -0400)]
Fix bug in EntityManager::get.
Alec Thomas [Sat, 12 Oct 2013 17:07:53 +0000 (13:07 -0400)]
Allow creation of Entity::Id from uint64_t.
Alec Thomas [Fri, 4 Oct 2013 14:48:13 +0000 (10:48 -0400)]
Document dependency helper.
Alec Thomas [Fri, 4 Oct 2013 14:41:04 +0000 (10:41 -0400)]
Add `Dependency<C, D1, D2...>` System for automatic component
dependencies.
Alec Thomas [Wed, 2 Oct 2013 01:48:41 +0000 (21:48 -0400)]
Update README to match reality.
Alec Thomas [Thu, 5 Sep 2013 21:32:46 +0000 (17:32 -0400)]
Speed up iterator creation a bit by avoiding some copies.
Alec Thomas [Thu, 5 Sep 2013 21:16:11 +0000 (17:16 -0400)]
Fix stupid iteration bug.
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.
Alec Thomas [Thu, 5 Sep 2013 00:51:18 +0000 (20:51 -0400)]
Add entityx/entityx.h
Alec Thomas [Wed, 4 Sep 2013 23:36:31 +0000 (19:36 -0400)]
Performance improvements + emitting events from Python.
David Wicks [Mon, 2 Sep 2013 20:04:51 +0000 (16:04 -0400)]
Added remove<C>() method for removal of components by type.
Along with this, there is a ComponentRemovedEvent<T> that is
delivered whenever a component is removed from an entity.
Alec Thomas [Thu, 29 Aug 2013 20:14:19 +0000 (16:14 -0400)]
Speed up iteration a bit.
Alec Thomas [Thu, 22 Aug 2013 22:38:14 +0000 (18:38 -0400)]
Switch from boost::signal to embedded Simple::Signal.
Alec Thomas [Thu, 22 Aug 2013 02:57:32 +0000 (22:57 -0400)]
Revert "Switch to boost::signals2."
Until I have the time to make the tests work.
This reverts commit
be03c3a3d4e8824c3b909648b46910b4cdbc72e1 .
Alec Thomas [Thu, 22 Aug 2013 00:34:10 +0000 (20:34 -0400)]
Switch to boost::signals2.
Alec Thomas [Mon, 19 Aug 2013 04:28:35 +0000 (00:28 -0400)]
Use README.md for Doxygen index.
Alec Thomas [Mon, 19 Aug 2013 04:15:27 +0000 (00:15 -0400)]
Fix build.
Alec Thomas [Mon, 19 Aug 2013 04:01:01 +0000 (00:01 -0400)]
Add Doxygen file.
Alec Thomas [Sun, 18 Aug 2013 15:33:27 +0000 (11:33 -0400)]
Destroying an entity correctly invalidates all other references.
Alec Thomas [Sun, 18 Aug 2013 00:43:48 +0000 (20:43 -0400)]
Clarify docs + dump test output on failure.
Alec Thomas [Sat, 17 Aug 2013 22:45:40 +0000 (18:45 -0400)]
Add changelog, clean up docs a bit.
Alec Thomas [Sat, 17 Aug 2013 03:53:44 +0000 (23:53 -0400)]
Add Python based scripting system (still experimental).
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.
Alec Thomas [Tue, 4 Jun 2013 16:25:28 +0000 (12:25 -0400)]
Update documentation. Fixes #8.
Alec Thomas [Mon, 1 Apr 2013 15:51:29 +0000 (11:51 -0400)]
All Manager classes are now managed by smart pointers.
Alec Thomas [Wed, 3 Apr 2013 00:05:53 +0000 (20:05 -0400)]
Agh. .gitignore!
Alec Thomas [Tue, 2 Apr 2013 23:58:14 +0000 (19:58 -0400)]
Remove Components*, moved to tags/ in a previous change.
Alec Thomas [Mon, 1 Apr 2013 15:51:29 +0000 (11:51 -0400)]
Allow shared_ptr implementation to be selected.
Fixes #6.
Alec Thomas [Tue, 2 Apr 2013 04:19:30 +0000 (00:19 -0400)]
Add support for Travis-CI.
Also ditched glog.
Alec Thomas [Tue, 2 Apr 2013 03:41:51 +0000 (23:41 -0400)]
Include gtest (as per gtest recommendations).
See https://groups.google.com/forum/?fromgroups=#!topic/googletestframework/Zo7_HOv1MJ0
Alec Thomas [Sat, 30 Mar 2013 14:04:14 +0000 (10:04 -0400)]
Fix README.
Fixes #7.
Alec Thomas [Sun, 24 Mar 2013 17:56:01 +0000 (13:56 -0400)]
Remove unused flag that broke clang 3.x.
Fixes #5.
Alec Thomas [Wed, 20 Mar 2013 14:44:31 +0000 (07:44 -0700)]
Merge pull request #4 from larspensjo/gcc-static
gcc 4.7.2 doesn't allow static keyword in member function definition.
Lars Pensjö [Wed, 20 Mar 2013 06:11:27 +0000 (07:11 +0100)]
gcc 4.7.2 doesn't allow static keyword in member function definition.
Alec Thomas [Fri, 15 Mar 2013 03:26:47 +0000 (23:26 -0400)]
Make Component<T>::family() support > 64 components.
Alec Thomas [Fri, 15 Mar 2013 03:08:54 +0000 (23:08 -0400)]
Typedef bitset out.
Alec Thomas [Tue, 12 Mar 2013 04:05:29 +0000 (00:05 -0400)]
Use std::bitset, allowing for an arbitrary number of components.
Alec Thomas [Tue, 12 Mar 2013 03:05:54 +0000 (23:05 -0400)]
Improve documentation.
Alec Thomas [Tue, 12 Mar 2013 02:03:14 +0000 (22:03 -0400)]
Add some benchmarks.
Alec Thomas [Mon, 11 Mar 2013 06:53:40 +0000 (02:53 -0400)]
Use std::list for free list.
Alec Thomas [Mon, 11 Mar 2013 05:38:06 +0000 (01:38 -0400)]
Some breaking changes to Entity management.
- 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.
Alec Thomas [Sun, 10 Mar 2013 17:29:43 +0000 (13:29 -0400)]
README formatting.
Lars Pensjö [Sun, 10 Mar 2013 01:00:06 +0000 (02:00 +0100)]
Two bugfixes in Entity.
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.
Alec Thomas [Sat, 9 Mar 2013 17:35:09 +0000 (12:35 -0500)]
Allow Entity objects to be copied around.
Note that this doesn't use shared_ptr, but this is little different
from the previous implementation using a reference.
Alec Thomas [Sat, 2 Mar 2013 18:30:55 +0000 (13:30 -0500)]
Remove unused variable. Update README.
Alec Thomas [Sat, 2 Mar 2013 17:58:29 +0000 (09:58 -0800)]
Merge pull request #2 from larspensjo/ReuseEntity
Bug in allocation of freed entities.
Lars Pensjö [Sat, 2 Mar 2013 14:33:11 +0000 (15:33 +0100)]
Added comment.
Lars Pensjö [Sat, 2 Mar 2013 14:26:31 +0000 (15:26 +0100)]
Entity allocation error fixed.
Need to save the id before erasing.
Lars Pensjö [Sat, 2 Mar 2013 14:23:10 +0000 (15:23 +0100)]
Add test for reusing an Entity.
This will lead to a crash.
Alec Thomas [Wed, 27 Feb 2013 21:14:53 +0000 (13:14 -0800)]
Merge pull request #1 from larspensjo/linux-gcc
Enable testing for Linux GCC.
Lars Pensjö [Wed, 27 Feb 2013 09:43:58 +0000 (10:43 +0100)]
Minor readme updates.
Add link to define POD.
Refer to entity instead of component.
Lars Pensjö [Wed, 27 Feb 2013 06:38:47 +0000 (07:38 +0100)]
Enable testing for Linux with gcc.
Resolve namespace std clash with boost.
struct NullDeleter can't be local.
Remove surplus ';'.
Lars Pensjö [Wed, 27 Feb 2013 06:10:03 +0000 (07:10 +0100)]
Update cmake conf for testing.
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.
Alec Thomas [Sun, 6 Jan 2013 21:57:44 +0000 (16:57 -0500)]
Make testing optional.
Alec Thomas [Sat, 27 Oct 2012 13:16:29 +0000 (09:16 -0400)]
Add Entity::exists() and EntityManager::get().
Alec Thomas [Wed, 24 Oct 2012 23:54:30 +0000 (19:54 -0400)]
Add Entity class helper.
This largely supplants the use of entity IDs.
Alec Thomas [Wed, 24 Oct 2012 22:27:51 +0000 (18:27 -0400)]
Change namespace entity -> entityx.
Alec Thomas [Wed, 24 Oct 2012 21:28:25 +0000 (17:28 -0400)]
Include updated.
Alec Thomas [Wed, 24 Oct 2012 21:24:11 +0000 (17:24 -0400)]
Name shared library entityx (rather than ..._shared).
Alec Thomas [Wed, 24 Oct 2012 21:19:42 +0000 (17:19 -0400)]
Add C++ GitHub highlighting (hopefully).
Alec Thomas [Wed, 24 Oct 2012 21:10:55 +0000 (17:10 -0400)]
Add COPYING.
Alec Thomas [Wed, 24 Oct 2012 21:07:08 +0000 (17:07 -0400)]
README updates.
Alec Thomas [Wed, 24 Oct 2012 20:14:48 +0000 (16:14 -0400)]
Fix unpacking bug (segfault from lambda).
Alec Thomas [Mon, 22 Oct 2012 20:02:08 +0000 (16:02 -0400)]
Allow System's to be added pre-created to the SystemManager.
Alec Thomas [Mon, 22 Oct 2012 18:16:43 +0000 (14:16 -0400)]
Convert remaining bare pointers to shared_ptr.
Alec Thomas [Sun, 21 Oct 2012 01:05:51 +0000 (21:05 -0400)]
Convert EntityManager::unpack() to use boost::shared_ptr.
Alec Thomas [Sun, 21 Oct 2012 00:25:04 +0000 (20:25 -0400)]
Implemented unified entity iteration and component unpacking.
Continued working on docs.
Alec Thomas [Sat, 20 Oct 2012 15:17:28 +0000 (11:17 -0400)]
More README updates.
Alec Thomas [Fri, 19 Oct 2012 19:07:17 +0000 (15:07 -0400)]
More install cleanup.
Alec Thomas [Fri, 19 Oct 2012 18:48:55 +0000 (14:48 -0400)]
A bunch of minor build fixes. Started README.
Alec Thomas [Thu, 18 Oct 2012 17:21:06 +0000 (13:21 -0400)]
Add C++11 feature checking to cmake.
Alec Thomas [Thu, 18 Oct 2012 16:54:12 +0000 (12:54 -0400)]
More attempts to get cmake build working.
Alec Thomas [Fri, 21 Sep 2012 01:24:08 +0000 (21:24 -0400)]
Initial import.