]>
code.bitgloo.com Git - clyne/entityx.git/log
Stephen Ma [Mon, 21 Dec 2015 05:41:19 +0000 (21:41 -0800)]
Remove use of quoted variables inside if and elseif blocks.
Single quote use of literal 'MSVC'.
Stephen Ma [Sun, 20 Dec 2015 00:20:32 +0000 (16:20 -0800)]
Generate seperate debug postfix dll for building in debug.
Alec Thomas [Thu, 10 Dec 2015 22:08:49 +0000 (09:08 +1100)]
Merge pull request #112 from adtennant/patch-1
Update FindEntityX.cmake
Alex Tennant [Thu, 10 Dec 2015 16:28:03 +0000 (16:28 +0000)]
Update FindEntityX.cmake
To be consistent with other CMake modules ENTITYX_LIBRARIES and ENTITYX_INCLUDE_DIRS should be exposed. find_package_handle_standard_args should be used to set ENTITYX_FOUND.
Alec Thomas [Wed, 16 Sep 2015 09:40:43 +0000 (19:40 +1000)]
Merge pull request #110 from rupertsteel/master
Fix size downcast warning on 64 bit builds.
Rupert Steel [Wed, 16 Sep 2015 07:46:50 +0000 (19:46 +1200)]
Fix size downcast warning on 64 bit builds.
Alec Thomas [Tue, 15 Sep 2015 01:19:36 +0000 (11:19 +1000)]
Test that receivers are only called once for each emit.
See #109.
Alec Thomas [Tue, 15 Sep 2015 01:16:19 +0000 (11:16 +1000)]
Fix spurious warning from VC.
Fixes #109.
Alec Thomas [Sun, 19 Jul 2015 01:22:10 +0000 (21:22 -0400)]
Remove ambiguity that old compilers can't resolve.
Alec Thomas [Sun, 19 Jul 2015 01:15:23 +0000 (21:15 -0400)]
Add `.each<C...>([](C &c...) {})` iteration.
May break code that uses `EntityManager::View`, as this is now a
template type `EntityManager::View<C...>`.
Fixes #62.
Alec Thomas [Sun, 5 Jul 2015 22:31:47 +0000 (18:31 -0400)]
Document requirement for VS2015.
Fixes #105.
Alec Thomas [Tue, 23 Jun 2015 15:28:49 +0000 (17:28 +0200)]
Update example.
Alec Thomas [Tue, 23 Jun 2015 14:34:49 +0000 (16:34 +0200)]
Also pass EntityManager to System::configure().
Old configure() left for compatibility.
Fixes #104.
Alec Thomas [Mon, 22 Jun 2015 13:30:19 +0000 (15:30 +0200)]
Add std::hash<Entity>.
Alec Thomas [Sun, 14 Jun 2015 00:30:38 +0000 (10:30 +1000)]
Merge pull request #102 from svenstaro/patch-1
Fix code example in README.md
Alec Thomas [Sun, 14 Jun 2015 00:30:25 +0000 (10:30 +1000)]
Merge pull request #103 from Nodmgatall/patch-1
Make Receiver inheritance public instead of implicitly private
Nodmgatall [Sat, 13 Jun 2015 19:51:38 +0000 (21:51 +0200)]
Make Receiver inheritance public instead of implicitly private
Otherwise you get an error when trying to run the example.
/home/lemling/Dokumente/Proggen/BaconGameJam/bgj09/entityx/entityx/Event.h: In instantiation of ‘void entityx::EventManager::subscribe(Receiver&) [with E = PlayerInstrucionEvent; Receiver = MovementSystem]’:
/home/lemling/Dokumente/Proggen/BaconGameJam/bgj09/src/system_movement.hpp:17:58: required from here
/home/lemling/Dokumente/Proggen/BaconGameJam/bgj09/entityx/entityx/Event.h:130:26: error: ‘entityx::BaseReceiver’ is an inaccessible base of ‘MovementSystem’
BaseReceiver &base = receiver;
Sven-Hendrik Haase [Sat, 13 Jun 2015 00:37:25 +0000 (02:37 +0200)]
Fix code example in README.md
Alec Thomas [Sat, 25 Apr 2015 09:13:43 +0000 (19:13 +1000)]
Don't require CMake 3.0.
Alec Thomas [Sat, 25 Apr 2015 03:04:29 +0000 (13:04 +1000)]
Bump to 1.1.2.
Alec Thomas [Fri, 24 Apr 2015 10:43:12 +0000 (20:43 +1000)]
Update example with a vertex array-based particle system.
Alec Thomas [Fri, 24 Apr 2015 01:47:33 +0000 (11:47 +1000)]
Fix a bunch of constness issues (fixes #95).
- Use SFINAE to prevent non-const access to component<C>().
- Correctly de-const component types before accessing
Component<C>::family(). Avoids accidentally assigning new family IDs.
- ComponentHandle should handle const propagation correctly now.
- ComponentHandle.manager_ should now be `const EntityManager` where
appropriate.
Alec Thomas [Thu, 23 Apr 2015 04:27:01 +0000 (14:27 +1000)]
Add AppVeyor master status badge.
Alec Thomas [Sun, 19 Apr 2015 23:37:13 +0000 (09:37 +1000)]
Merge pull request #94 from jpleau/cmake_soname
update versions in CMakeLists.txt
Jason Pleau [Sun, 19 Apr 2015 16:08:38 +0000 (12:08 -0400)]
update versions in CMakeLists.txt
Alec Thomas [Mon, 30 Mar 2015 00:53:41 +0000 (11:53 +1100)]
Test that components aren't reused on deleted entities.
See #92.
Alec Thomas [Thu, 19 Mar 2015 03:15:09 +0000 (14:15 +1100)]
Test for multiple event subscriptions.
Alec Thomas [Wed, 4 Mar 2015 01:33:42 +0000 (12:33 +1100)]
Merge pull request #89 from tahsmith/master
Remove user defined constructors for Entity
tahsmith [Wed, 4 Mar 2015 01:07:09 +0000 (12:07 +1100)]
Remove user defined constructors for Entity that are equivalent to the compiler generated ones.
Alec Thomas [Mon, 16 Feb 2015 03:17:15 +0000 (14:17 +1100)]
More examples projects.
Alec Thomas [Mon, 9 Feb 2015 00:59:48 +0000 (11:59 +1100)]
More README udpates.
Alec Thomas [Mon, 9 Feb 2015 00:57:23 +0000 (11:57 +1100)]
Update README+example for inheritance-free change.
Alec Thomas [Mon, 9 Feb 2015 00:31:43 +0000 (11:31 +1100)]
Events no longer need to be inherited from Event, they can be any class.
See #85.
Alec Thomas [Mon, 9 Feb 2015 00:30:14 +0000 (11:30 +1100)]
Components no longer need to be inherited from Component<>.
See #85.
Alec Thomas [Thu, 5 Feb 2015 14:26:05 +0000 (01:26 +1100)]
Merge pull request #84 from Gronis/master
Added unsubscribe feature to EventManager.
robin [Thu, 5 Feb 2015 00:06:08 +0000 (01:06 +0100)]
Added unsubscribe feature to EventManager. Also added tests in Event_test.cc that checks that it's working correctly.
Alec Thomas [Thu, 15 Jan 2015 00:26:09 +0000 (11:26 +1100)]
Merge pull request #79 from sansumbrella/component_replace
Entity::replace<Component> method.
David Wicks [Wed, 14 Jan 2015 17:52:27 +0000 (12:52 -0500)]
Entity::replace<Component> method.
Avoid the client-side song and dance around assignment in cases where
a component of the same type may already be assigned to the entity.
Alec Thomas [Tue, 30 Dec 2014 23:49:14 +0000 (10:49 +1100)]
Use a vector for the free list. std::list is mind bogglingly slow.
Alec Thomas [Wed, 24 Dec 2014 09:07:50 +0000 (20:07 +1100)]
CMake fix for AppleClang.
Alec Thomas [Sun, 21 Dec 2014 00:39:56 +0000 (11:39 +1100)]
Merge pull request #76 from excaliburHisSheath/master
Add SystemManager::update_all() Method
David LeGare [Sat, 20 Dec 2014 16:25:47 +0000 (10:25 -0600)]
Rename SystemManager::update_all() and Add Documentation
- Renamed SystemManager::updateAll() to SystemManager::update_all() to
make it consistent with the existing naming convention.
- Added documentation for SystemManager::update_all().
David LeGare [Sat, 20 Dec 2014 03:52:47 +0000 (21:52 -0600)]
Add Non-Templated SystemManager::update() Method
- Added a non-templated updateAll() method to the SystemManager that
updates all systems in the manager.
- Adds a test for updateAll().
Alec Thomas [Tue, 16 Dec 2014 02:53:25 +0000 (13:53 +1100)]
Merge pull request #73 from MarioLiebisch/cmake-additions
Added CMake Find_Package script and debug suffix
Mario Liebisch [Mon, 15 Dec 2014 20:35:51 +0000 (21:35 +0100)]
Added CMake Find_Package script and debug suffix
* This allows easy inclusion of EntityX in CMake projects using
`Find_Package(EntityX)`.
* Also debug versions now use the `-d` suffix, no longer overwriting
release builds (e.g. `entityx-d.lib` rather than `entityx.lib`).
Alec Thomas [Sun, 14 Dec 2014 23:00:48 +0000 (10:00 +1100)]
Merge pull request #72 from eco/patch-1
Don't use dereference operator in events example
Brad Anderson [Sun, 14 Dec 2014 09:25:08 +0000 (02:25 -0700)]
Don't use dereference operator in events example
Alec Thomas [Sun, 7 Dec 2014 22:53:44 +0000 (09:53 +1100)]
Merge pull request #69 from jpleau/examples
example: typo in compilation command, replace arial with a free font
Alec Thomas [Sun, 7 Dec 2014 22:53:10 +0000 (09:53 +1100)]
Merge pull request #70 from jpleau/libdir
add CMAKE_INSTALL_LIBDIR
Jason Pleau [Sun, 7 Dec 2014 19:30:15 +0000 (14:30 -0500)]
add CMAKE_INSTALL_LIBDIR
Keeps the default to 'lib', while allowing to use it like so:
-DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu
Jason Pleau [Sun, 7 Dec 2014 16:56:43 +0000 (11:56 -0500)]
example: fix compilation command
Jason Pleau [Sun, 7 Dec 2014 16:55:39 +0000 (11:55 -0500)]
example: replace arial with a free font
Arial is a proprietary font and cannot be included in another package in
distributions like Debian. Replaced it with Liberation.
Alec Thomas [Mon, 1 Dec 2014 22:54:03 +0000 (08:54 +1000)]
Add SONAME. Fixes #65.
Alec Thomas [Mon, 1 Dec 2014 11:23:00 +0000 (21:23 +1000)]
Include cmath in example. Fixes #66.
Alec Thomas [Fri, 31 Oct 2014 05:24:40 +0000 (16:24 +1100)]
Hack for VS internal error. Fixes #23 (again).
Alec Thomas [Mon, 27 Oct 2014 01:57:11 +0000 (12:57 +1100)]
DeltaTime -> TimeDelta
Alec Thomas [Mon, 27 Oct 2014 00:27:19 +0000 (11:27 +1100)]
Fix RPATH issue on OSX.
Alec Thomas [Mon, 27 Oct 2014 00:20:05 +0000 (11:20 +1100)]
Merge branch 'master' of github.com:alecthomas/entityx
Alec Thomas [Mon, 27 Oct 2014 00:17:20 +0000 (11:17 +1100)]
Fix example.
Alec Thomas [Sun, 26 Oct 2014 23:28:33 +0000 (10:28 +1100)]
Merge pull request #61 from tivek/remove_c_std_libraries
Replace stdint.h with cstdint
Alec Thomas [Sun, 26 Oct 2014 23:26:30 +0000 (10:26 +1100)]
Configurable delta time type via -DENTITYX_DT_TYPE=<type>.
Fixes #60.
tivek [Sat, 25 Oct 2014 19:51:30 +0000 (21:51 +0200)]
fix typo
Tomislav Ivek [Sat, 25 Oct 2014 19:38:27 +0000 (21:38 +0200)]
Do not assume integer types in global namespace
Tomislav Ivek [Sat, 25 Oct 2014 19:04:33 +0000 (21:04 +0200)]
Include cstdint instead of stdint.h
Alec Thomas [Thu, 23 Oct 2014 03:33:50 +0000 (14:33 +1100)]
Debug -> All, now that it is faster.
Alec Thomas [Thu, 23 Oct 2014 03:33:17 +0000 (14:33 +1100)]
Sort free list before iterating over all entities.
This should make iteration over all entities much faster.
Alec Thomas [Tue, 21 Oct 2014 03:04:51 +0000 (14:04 +1100)]
Add test for component destructor called when entity is destroyed.
Alec Thomas [Mon, 20 Oct 2014 23:46:38 +0000 (10:46 +1100)]
Add test case for component destruction.
Alec Thomas [Mon, 20 Oct 2014 23:40:44 +0000 (10:40 +1100)]
Actually call component destructors on reset().
Alec Thomas [Tue, 14 Oct 2014 00:51:17 +0000 (11:51 +1100)]
Merge pull request #55 from kumar8600/patch-3
Correct project name definition at CMakeLists.txt
kumar8600 [Mon, 13 Oct 2014 08:37:14 +0000 (17:37 +0900)]
Correct project name definition at CMakeLists.txt
Match with before #
7b6427d14aca84c9603f8767e6b9b097a8be9424
Alec Thomas [Mon, 13 Oct 2014 08:17:06 +0000 (19:17 +1100)]
Merge pull request #54 from kumar8600/kumar8600/size_t-is-not-int
Return size_t at methods of Event and Pool
kumar8600 [Mon, 13 Oct 2014 07:55:41 +0000 (16:55 +0900)]
Return std::size_t at Event::connected_signals
And size_t -> std::size_t
kumar8600 [Sun, 12 Oct 2014 12:51:58 +0000 (21:51 +0900)]
Get definition of std::size_t and make sizet_t more int
kumar8600 [Sun, 12 Oct 2014 12:10:03 +0000 (21:10 +0900)]
Make return size_t at functions Event and Pool
Alec Thomas [Sun, 12 Oct 2014 09:58:38 +0000 (20:58 +1100)]
Merge pull request #53 from kumar8600/patch-2
Make true default ENTITY_BUILD_SHARED
Alec Thomas [Sun, 12 Oct 2014 09:57:40 +0000 (20:57 +1100)]
Merge pull request #52 from kumar8600/patch-1
Define project name on CMakeLists.txt
kumar8600 [Sun, 12 Oct 2014 06:00:00 +0000 (15:00 +0900)]
Make true default ENTITY_BUILD_SHARED
kumar8600 [Sat, 11 Oct 2014 16:17:15 +0000 (01:17 +0900)]
Define project name on CMakeLists.txt
Alec Thomas [Fri, 10 Oct 2014 04:58:53 +0000 (15:58 +1100)]
Big performance improvement in iteration.
No longer perform a vtable lookup and function call to unpack
components. Unpacking is now completely templatised and expanded at
compile time.
Alec Thomas [Fri, 10 Oct 2014 04:49:11 +0000 (15:49 +1100)]
Add benchmark for unpacking two components.
Alec Thomas [Thu, 9 Oct 2014 23:28:04 +0000 (10:28 +1100)]
Improve entity iteration performance by removing support for custom predicates.
Alec Thomas [Thu, 9 Oct 2014 22:38:08 +0000 (09:38 +1100)]
Use a partitioned grid for collision detection.
Alec Thomas [Thu, 9 Oct 2014 10:24:30 +0000 (21:24 +1100)]
Don't use deprecated strstream.
Alec Thomas [Thu, 9 Oct 2014 10:14:21 +0000 (21:14 +1100)]
Add example.
Alec Thomas [Thu, 2 Oct 2014 04:25:44 +0000 (14:25 +1000)]
Suppress unused variable warning. Fixes #49.
Alec Thomas [Mon, 29 Sep 2014 04:14:54 +0000 (14:14 +1000)]
Update README for 1.0.0.
Alec Thomas [Wed, 17 Sep 2014 01:27:03 +0000 (11:27 +1000)]
In benchmark: only iterate once, not 10 times.
Alec Thomas [Tue, 16 Sep 2014 02:06:12 +0000 (12:06 +1000)]
Document some projects using EntityX.
Alec Thomas [Wed, 13 Aug 2014 22:57:31 +0000 (08:57 +1000)]
Make fail() static.
Alec Thomas [Wed, 13 Aug 2014 22:55:51 +0000 (08:55 +1000)]
Use std::abort() if exceptions are disabled.
Fixes #47.
Alec Thomas [Wed, 13 Aug 2014 22:38:01 +0000 (08:38 +1000)]
Use abort() if _HAS_EXCEPTIONS is not defined.
Alec Thomas [Thu, 7 Aug 2014 21:56:55 +0000 (07:56 +1000)]
Merge pull request #46 from scrpi/master
Added operator< overload for Entity class. Allowing use of Entity obects...
Ben Kelly [Thu, 7 Aug 2014 12:47:31 +0000 (22:47 +1000)]
Added operator< overload for Entity class. Allowing use of Entity obects in std::set and std::map. Added test code.
Alec Thomas [Tue, 5 Aug 2014 03:57:58 +0000 (13:57 +1000)]
Merge pull request #45 from isra17/master
Fix components mask bitset operations
Israël Hallé [Mon, 4 Aug 2014 20:03:32 +0000 (16:03 -0400)]
Uses bitmask function to set bit
Israël Hallé [Mon, 4 Aug 2014 20:03:09 +0000 (16:03 -0400)]
Changes 64 bits family to fast 32 bits
Alec Thomas [Wed, 30 Jul 2014 23:36:34 +0000 (09:36 +1000)]
Fix warnings(?) for implicit type conversions + headers in quick.h.
Fixes #43, #44.
Alec Thomas [Thu, 10 Jul 2014 04:15:46 +0000 (14:15 +1000)]
Merge pull request #41 from isra17/master
Add /MDd flag for MSVC debug target
Israël Hallé [Thu, 10 Jul 2014 04:05:18 +0000 (00:05 -0400)]
Add /MDd flag for MSVC debug target