]>
code.bitgloo.com Git - clyne/entityx.git/log
Clyne Sullivan [Sat, 20 Aug 2022 00:51:34 +0000 (20:51 -0400)]
fix difference_type; fix benchmark warnings
Clyne Sullivan [Sat, 20 Aug 2022 00:06:21 +0000 (20:06 -0400)]
remove deprecated use of std::iterator
Alec Thomas [Thu, 2 Dec 2021 10:45:18 +0000 (21:45 +1100)]
Hermitise and upgrade Catch.
Joseph Davies [Fri, 25 Jun 2021 08:51:43 +0000 (01:51 -0700)]
Add warning for unsupported configuration in MSVC.
Joseph Davies [Fri, 25 Jun 2021 02:06:52 +0000 (19:06 -0700)]
Fix broken automated builds.
Replaces Travis-CI and AppVeyor scripts with Github Actions workflow.
Alec Thomas [Mon, 1 Mar 2021 05:58:20 +0000 (16:58 +1100)]
Create FUNDING.yml
Jarrett Chisholm [Mon, 28 Dec 2020 04:48:40 +0000 (23:48 -0500)]
Updated Catch library to v1.12.2
deflinhec [Wed, 29 Apr 2020 12:29:52 +0000 (20:29 +0800)]
Make debug postfix optional
Library debug postfix might not be suitable for cross platform project, and usually require extra work of link against prebuilt yaml-cpp.
Generally, Xcode project output library to these directories:
Debug
Release
Debug-iphoneos
Release-iphoneos
Debug-iphonesimulator
Release-iphonesimulator
Another Xcode project usually configured its build setting as follow, and expects library name to be same between Release and Debug
LIBRARY_SEARCH_PATHS=$(CONFIGURATION)$(EFFECT_PLATFORM_NAME)
OTHER_LDFLAGS= $(inherited) -lentityx
wangli28 [Thu, 19 Mar 2020 13:23:36 +0000 (13:23 +0000)]
Add vcpkg installation instructions
Joseph Davies [Fri, 20 Sep 2019 22:42:17 +0000 (15:42 -0700)]
Fix typo in introductory notice.
adtennant [Sun, 20 Jan 2019 17:43:16 +0000 (17:43 +0000)]
Updated README.md
Alec Thomas [Thu, 15 Nov 2018 11:45:10 +0000 (22:45 +1100)]
Merge pull request #222 from xyproto/doc
Add note about Arch Linux
Alexander F. Rødseth [Thu, 15 Nov 2018 11:41:39 +0000 (12:41 +0100)]
Add note about Arch Linux
Alec Thomas [Fri, 21 Sep 2018 12:28:54 +0000 (22:28 +1000)]
Merge pull request #218 from Zandor300/patch-1
Fixed syntax error in readme.md
Zandor Smith [Fri, 21 Sep 2018 11:28:28 +0000 (13:28 +0200)]
Fixed syntax error.
Alec Thomas [Fri, 15 Jun 2018 07:41:27 +0000 (17:41 +1000)]
Merge pull request #216 from alecthomas/revert-211-master
Revert "Fix minor memory leak from simplesignal.h and inside pool_test.cc"
Alec Thomas [Fri, 15 Jun 2018 07:41:17 +0000 (17:41 +1000)]
Revert "Fix minor memory leak from simplesignal.h and inside pool_test.cc"
Alec Thomas [Fri, 15 Jun 2018 07:40:17 +0000 (17:40 +1000)]
Merge pull request #215 from alecthomas/revert-213-gh212
Revert "Update to brace initialisation to allow for easy aggregate use"
Alec Thomas [Fri, 15 Jun 2018 07:18:01 +0000 (17:18 +1000)]
Revert "Update to brace initialisation to allow for easy aggregate use"
Alec Thomas [Fri, 15 Jun 2018 07:12:37 +0000 (17:12 +1000)]
Merge pull request #213 from radman0x/gh212
Update to brace initialisation to allow for easy aggregate use
Alec Thomas [Fri, 15 Jun 2018 07:12:01 +0000 (17:12 +1000)]
Merge pull request #211 from chocolatemelt/master
Fix minor memory leak from simplesignal.h and inside pool_test.cc
Conrad Mercer [Thu, 14 Jun 2018 01:07:48 +0000 (10:37 +0930)]
Update to brace initialisation to allow for easy aggregate use
Kevin Zhang [Sun, 27 May 2018 15:39:10 +0000 (11:39 -0400)]
properly delete pointers
Kevin Zhang [Sun, 27 May 2018 15:38:52 +0000 (11:38 -0400)]
update simplesignal.h from latest
domdom [Tue, 11 Jul 2017 23:39:10 +0000 (09:39 +1000)]
Fix typo
lyout -> layout
Alec Thomas [Tue, 21 Feb 2017 02:35:03 +0000 (13:35 +1100)]
Link to Gitter and benchmarks by @abeimler
Alec Thomas [Wed, 8 Feb 2017 01:59:53 +0000 (17:59 -0800)]
Merge pull request #174 from jarrettchisholm/master
Fix C++11 feature checking for Microsoft Visual C++ Build Tools 2015
Alec Thomas [Sun, 5 Feb 2017 03:39:03 +0000 (19:39 -0800)]
Gitter link
Jarrett Chisholm [Mon, 16 Jan 2017 04:12:50 +0000 (23:12 -0500)]
turn off extensions (so that it uses c++11 instead of gnu++11)
Jarrett Chisholm [Mon, 16 Jan 2017 04:07:58 +0000 (23:07 -0500)]
syntax error fix (for real this time)
Jarrett Chisholm [Mon, 16 Jan 2017 04:06:22 +0000 (23:06 -0500)]
Revert "try different cmake ppa"
This reverts commit
e1429b611d89d35b145a808e5c6debf7d94a8584 .
Jarrett Chisholm [Mon, 16 Jan 2017 04:02:50 +0000 (23:02 -0500)]
try different cmake ppa
Jarrett Chisholm [Mon, 16 Jan 2017 04:00:51 +0000 (23:00 -0500)]
syntax error
Jarrett Chisholm [Mon, 16 Jan 2017 03:57:09 +0000 (22:57 -0500)]
update cmake
Jarrett Chisholm [Mon, 16 Jan 2017 03:49:42 +0000 (22:49 -0500)]
We don't need to specify c++11 flag
Jarrett Chisholm [Mon, 16 Jan 2017 03:45:02 +0000 (22:45 -0500)]
fix C++11 feature checking for Microsoft Visual C++ Build Tools 2015
Alec Thomas [Sat, 7 Jan 2017 12:06:00 +0000 (23:06 +1100)]
Updates to example.
- Fade in bodies.
- Spin particles per their rotation (this fell by the wayside when
translated to a vertex array).
Alec Thomas [Thu, 5 Jan 2017 23:36:28 +0000 (10:36 +1100)]
Use std::shared_ptr<sf::Shape> directly as component in example.
Alec Thomas [Wed, 28 Dec 2016 21:39:24 +0000 (08:39 +1100)]
Merge pull request #167 from jarrettchisholm/master
Fix for issue #145
Alec Thomas [Wed, 28 Dec 2016 21:38:36 +0000 (08:38 +1100)]
Merge pull request #169 from lethal-guitar/component-operator-star
Add dereference operator to ComponentHandle
lethal-guitar [Wed, 28 Dec 2016 14:50:28 +0000 (15:50 +0100)]
Add dereference operator to ComponentHandle
This makes it possible to write code like this:
auto& componentRef = *someEntity.component<Position>();
This was already possible previously, but required calling .get() on the
component handle.
Jarrett Chisholm [Sun, 25 Dec 2016 05:55:33 +0000 (00:55 -0500)]
fix compile issue with gcc 6
Alec Thomas [Sat, 24 Dec 2016 13:30:20 +0000 (00:30 +1100)]
Merge pull request #166 from sjaustirni/patch-1
Fix copy&paste mistake in CMakeLists.txt
sjaustirni [Thu, 22 Dec 2016 16:43:23 +0000 (17:43 +0100)]
Fix copy&paste mistake in CMakeLists.txt
A one-word fix in copy&paste mistake in the section for checking C++11 features.
Alec Thomas [Mon, 31 Oct 2016 03:51:16 +0000 (14:51 +1100)]
Merge pull request #157 from lethal-guitar/cmake-messages-use-status
CMake: Use 'STATUS' message type for non-error messages
lethal-guitar [Sat, 29 Oct 2016 08:18:49 +0000 (10:18 +0200)]
Use 'STATUS' message type for non-error messages
Using the message() command without the mode keyword makes those messages
appear in red when using cmake-gui, which makes them look like errors.
By specifying the type as STATUS, they look like regular informative
messages.
Alec Thomas [Sun, 23 Oct 2016 23:55:22 +0000 (10:55 +1100)]
Merge pull request #156 from asmw/cmake_includes
Set build_interface directories for integrated builds
Sumedha Widyadharma [Sun, 23 Oct 2016 13:56:18 +0000 (15:56 +0200)]
Set build_interface directories for integrated builds
This makes it very easy to integrate entityx into a build.
I.e:
add_subdirectories(3rdparty/entityx)
target_link_libraries(my_target entityx[_shared])
This makes #include entityx/entityx.h just work.
Alec Thomas [Sun, 23 Oct 2016 13:29:55 +0000 (00:29 +1100)]
Merge pull request #155 from asmw/master
Fix a typo
Sumedha Widyadharma [Sun, 23 Oct 2016 13:27:48 +0000 (15:27 +0200)]
Fix a typo
Alec Thomas [Sat, 22 Oct 2016 23:12:00 +0000 (10:12 +1100)]
Merge pull request #154 from FrankStain/master
std::hash for const Entity implemented. #153
Frank Stein [Fri, 21 Oct 2016 22:04:15 +0000 (00:04 +0200)]
std::hash for const Entity implemented.
Alec Thomas [Wed, 13 Apr 2016 00:59:24 +0000 (10:59 +1000)]
Add appveyor.yml
Alec Thomas [Wed, 13 Apr 2016 00:58:33 +0000 (10:58 +1000)]
Merge pull request #142 from roig/master
Fixed shared library compilation and Function to retrieve the entity from ComponentHandle
Daniel Guzmán [Wed, 13 Apr 2016 00:12:53 +0000 (02:12 +0200)]
Fix running tests
Daniel Guzmán [Wed, 13 Apr 2016 00:05:20 +0000 (02:05 +0200)]
Dependencies for test projects added
Daniel Guzman [Tue, 12 Apr 2016 22:26:34 +0000 (00:26 +0200)]
Fix ident.
Daniel Guzman [Sun, 10 Apr 2016 20:43:35 +0000 (22:43 +0200)]
Minor fix due to copy-paste of entity() function
Daniel Guzman [Wed, 6 Apr 2016 20:07:07 +0000 (22:07 +0200)]
Fixed shared library compilation.
- Fixed that when ENTITYX_BUILD_SHARED=1 was compiling the static
library and the shared_library. Now it only compiles one of them, shared
or static, but not both. Using visual studio compiler, now, the shared
library doesn't create a .lib file (because it doesn't export anything
which is OK). This will be the next step.
Alec Thomas [Fri, 8 Apr 2016 11:25:16 +0000 (21:25 +1000)]
Merge pull request #140 from zackthehuman/copy_construct_entities
Enable Entity cloning via EntityManager::create_from_copy
Zack Mulgrew [Mon, 29 Feb 2016 09:22:57 +0000 (01:22 -0800)]
Allow Entity cloning via EntityManager::create_from_copy
Daniel Guzman [Wed, 6 Apr 2016 16:10:54 +0000 (18:10 +0200)]
Added a function to retrieve the Entity associated with a component in ComponentHandle
Alec Thomas [Wed, 16 Mar 2016 21:34:48 +0000 (08:34 +1100)]
Merge pull request #137 from FrankStain/master
Removing of copy-paste issue.
Frank Stein [Wed, 16 Mar 2016 19:08:41 +0000 (21:08 +0200)]
Removing of copy-paste issue.
Alec Thomas [Sun, 28 Feb 2016 10:45:29 +0000 (21:45 +1100)]
Merge pull request #134 from zackthehuman/remove_components_on_destroy
Re-implement "Remove components on destroy" functionality
Zack Mulgrew [Sat, 27 Feb 2016 10:03:50 +0000 (02:03 -0800)]
Trigger ComponentRemovedEvent on Entity::destroy
Zack Mulgrew [Sat, 27 Feb 2016 09:51:08 +0000 (01:51 -0800)]
Add ComponentHelper and base class, no functionality
Zack Mulgrew [Fri, 26 Feb 2016 14:26:24 +0000 (06:26 -0800)]
Revert "Split Entity and ComponentHandle into their own headers"
This reverts commit
d8c5d0e30980b747749571b5a1e5c3b5b20423b2 .
Zack Mulgrew [Fri, 26 Feb 2016 14:26:13 +0000 (06:26 -0800)]
Revert "Trigger ComponentRemovedEvent for each component before destroying"
This reverts commit
070cd89d2ed140594608d252318f444202579a52 .
Zack Mulgrew [Fri, 26 Feb 2016 14:25:53 +0000 (06:25 -0800)]
Revert "Fix method name to be consistent with others"
This reverts commit
f176609c242afd53f6083b3e115227ace10e2eb2 .
Alec Thomas [Fri, 26 Feb 2016 00:27:15 +0000 (11:27 +1100)]
Fix apt-get line
Alec Thomas [Sat, 6 Feb 2016 04:57:14 +0000 (23:57 -0500)]
Merge pull request #129 from zackthehuman/entity_removal_on_destroy
Emit ComponentRemovedEvent<T> on Entity::destroy()
Zack Mulgrew [Sat, 6 Feb 2016 04:14:39 +0000 (20:14 -0800)]
Revert change made regarding component inheritance
Zack Mulgrew [Thu, 4 Feb 2016 08:04:46 +0000 (00:04 -0800)]
Fix method name to be consistent with others
Zack Mulgrew [Thu, 4 Feb 2016 07:50:09 +0000 (23:50 -0800)]
Update README to reflect how components are removed before entity destruction
Zack Mulgrew [Thu, 4 Feb 2016 07:49:41 +0000 (23:49 -0800)]
Trigger ComponentRemovedEvent for each component before destroying
Zack Mulgrew [Thu, 4 Feb 2016 07:27:35 +0000 (23:27 -0800)]
Split Entity and ComponentHandle into their own headers
Zack Mulgrew [Thu, 4 Feb 2016 06:28:00 +0000 (22:28 -0800)]
Add test 'TestComponentRemovedEventOnEntityDestroyed'
Alec Thomas [Sat, 2 Jan 2016 23:15:17 +0000 (10:15 +1100)]
Use update_all() in example.
Alec Thomas [Sat, 26 Dec 2015 01:26:35 +0000 (12:26 +1100)]
Merge pull request #123 from Bablawn3d5/pr-uint64fix
Pr uint64fix
Stephen Ma [Sat, 26 Dec 2015 00:10:13 +0000 (16:10 -0800)]
Fixes uint64_t ambigutity issue on compiling Benchmark_tests.cc on MSVC
Always build benchmark test when ENTITYX_BUILD_TESTING is set.
Expand namespace entityx and std in Benchmarks_test.cc
Fix whitespace to match original Benchmark_test.cc
Fix CMakeFiles to correctly conditionally add Benchmark tests.
Alec Thomas [Thu, 24 Dec 2015 08:08:26 +0000 (19:08 +1100)]
Merge pull request #120 from Bablawn3d5/pr-nice-folders
Organize CMake generated projects into solution folders.
Stephen Ma [Sat, 19 Dec 2015 22:56:05 +0000 (14:56 -0800)]
Organize CMake generated projects into solution folders.
Alec Thomas [Mon, 21 Dec 2015 11:13:45 +0000 (22:13 +1100)]
Merge pull request #119 from PHEN-/pr-sharedfix
Generate seperate debug postfix dll for building in debug.
Stephen Ma [Sun, 20 Dec 2015 00:20:32 +0000 (16:20 -0800)]
Generate seperate debug postfix dll for building in debug.
Alec Thomas [Mon, 21 Dec 2015 05:53:07 +0000 (16:53 +1100)]
Merge pull request #118 from PHEN-/pr-sharedfix
Fix CMP0054 warnings in CMake >= 3.1
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'.
Alec Thomas [Sun, 20 Dec 2015 03:59:57 +0000 (14:59 +1100)]
Merge pull request #116 from PHEN-/pr-sharedfix
Generate seperate debug postfix dll for building in debug.
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.