Raymond
74ad1c3752
Add remove bundle to bevy_ecs commands ( #579 )
...
add remove bundle to bevy_ecs commands
2020-09-26 14:27:56 -07:00
Alexander Sepity
85a7f883d1
Fix typo in #569 . ( #582 )
2020-09-26 10:26:19 -07:00
Alexander Sepity
3abfcad7ab
Patch memory leak in Archetype::grow()
. ( #569 )
2020-09-25 12:33:27 -07:00
Carter Anderson
028a22b129
asset: use bevy_tasks in AssetServer ( #550 )
2020-09-21 20:23:09 -07:00
HyperLightKitsune
295e1f0a18
use FnOnce in Commands and ChildBuilder where possible ( #535 )
...
use FnOnce in Commands and ChildBuilder
2020-09-21 13:51:38 -07:00
Carter Anderson
74dba5f36b
release: 0.2.1 ( #533 )
2020-09-20 15:58:32 -07:00
Carter Anderson
ba5af4dd56
release: 0.2.0 ( #520 )
2020-09-19 15:29:08 -07:00
Carter Anderson
70ad6671db
ecs: use generational entity ids and other optimizations ( #504 )
...
ecs: use generational entity ids and other optimizations
2020-09-17 17:16:38 -07:00
Jonas Matser
3b3b0195bc
Adds profiler_start/stop to parallel_executor ( #474 )
2020-09-11 12:14:36 -07:00
BimDav
4ef18e2608
Resource change tracking ( #388 )
...
* Add mutated tracker on resources and ChangedRes query for added or mutated resources.
* ResMut:::new() now takes a reference to a 'mutated' flag in its archetype.
* Change FetchResource so that get() returns an Option. Systems using Resources will only be called if all fetched Resources are Some(). This is done to implement ChangedRes, which is Some iff the Resource has been changed.
* Add OrRes for a logical or in tuples of Resource queries.
* Separate resource query get() in is_some() and get() methods for clarity
* Remove unneeded unsafe
* Change ResMut::new()
2020-09-10 13:15:02 -07:00
Smite Rust
a9ce7f4e82
update dependencies ( #470 )
2020-09-10 12:54:24 -07:00
Carter Anderson
ac117019e2
resolve unused variable warning in release builds
2020-09-08 13:29:55 -07:00
Grant Moyer
586303fd53
Parallel queries ( #292 )
...
Add support for Parallel Queries
2020-09-08 12:18:32 -07:00
Carter Anderson
413caae7bb
resolve errors from latest clippy version
2020-09-07 15:00:03 -07:00
Boxy
d86fae8147
Update docs for Updated, Changed and Mutated ( #451 )
...
Update docs for Updated, Changed and Mutated
2020-09-07 13:52:03 -07:00
Tristan Pemble
43463a7a06
Optimize transform systems to only run on change ( #417 )
...
Optimize transform systems to only run on change
2020-09-06 12:53:14 -07:00
Philip Degarmo
9eba19c8f0
Fix for bug #449 ( #450 )
...
Fix for a bug (#449 ) in scheduler that could result in systems running concurrently when they shouldn't.
2020-09-06 12:07:34 -07:00
Philip Degarmo
8b3553002d
Reworked parallel executor to not block ( #437 )
...
Reworked parallel executor to not block
2020-09-05 22:05:33 -07:00
BimDav
25f62f7250
Add support for 'or' in ECS querying for tuple queries ( #358 )
...
Add Or query to do a logical or on a set of queries
2020-09-01 18:12:54 -07:00
Boxy
57177c9e98
Bump entities to u128 to avoid collisions ( #117 ) ( #393 )
2020-08-31 11:51:28 -07:00
Boxy
3efbaca104
Fix archetypes_generation being incorrectly updated for systems ( #294 ) ( #383 )
2020-08-29 18:38:05 -07:00
Lachlan Sneff
17e7642611
Task System for Bevy ( #384 )
...
Add bevy_tasks crate to replace rayon
2020-08-29 12:35:41 -07:00
Robbie Davenport
4aabe983ec
Switch usage of std HashMap/HashSet default hasher, to aHash algo ( #258 )
...
switch to ahash for HashMaps and HashSets via a new bevy_utils crate
2020-08-28 17:08:51 -07:00
Xavientois
0ae74a4a4d
Some examples of documentation ( #338 )
2020-08-24 17:57:10 -07:00
Carter Anderson
b925e22949
0.1.3 upgrade
2020-08-22 10:16:52 -07:00
Lachlan Sneff
1eca55e571
Replace std synchronization primitives with parking_lot ( #210 )
...
* Replace std::sync::Mutex with parking_lot::Mutex
* Replace std::sync::RwLock with parking_lot::RwLock
2020-08-21 14:55:16 -07:00
Victor "multun" Collod
c38420f1e9
enforce clippy for all target and features
2020-08-16 07:20:06 -07:00
Victor "multun" Collod
d138647818
enforce cargo fmt --check
2020-08-16 05:02:06 -07:00
Victor "multun" Collod
1ec7183494
profiling: fix build
2020-08-16 02:06:59 -07:00
Carter Anderson
f85867139b
Merge pull request #199 from multun/query-mut-debug
...
ecs: impl Debug for Mut<...>
2020-08-15 17:57:37 -07:00
Victor "multun" Collod
8472789bbb
ecs: impl Debug for Mut<...>
2020-08-15 17:46:36 -07:00
Fabian Würfl
458a169ad2
Add possibility to control num_threads and stack_size of rayon::ThreadPool
2020-08-14 19:15:53 +02:00
Carter Anderson
938d381d45
Merge pull request #178 from JohnDoneth/master
...
Add Command::remove_one
2020-08-13 17:26:22 -07:00
John Doneth
589af3dc51
Add Command::remove_one
2020-08-13 19:38:38 -04:00
Halfwhit
14bfd698c5
Update lib.rs
2020-08-13 17:39:33 +01:00
Victor "multun" Collod
8662ab3622
ecs: remove unused Entities::current
2020-08-12 21:16:20 -07:00
Carter Anderson
423c5e3e0f
ecs: prepare for publishing
2020-08-09 18:16:12 -07:00
Carter Anderson
9aee5323e1
add crate metadata
2020-08-09 17:24:27 -07:00
Carter Anderson
3d09459813
add more doc comments and clean up some public exports
2020-08-09 16:13:04 -07:00
Carter Anderson
f85ec04a48
ecs: prepare system ranges based on stage and thread locals
2020-07-30 13:19:55 -07:00
Carter Anderson
2929197d9b
render: add RenderPass queries. move ui to its own pass
2020-07-28 20:11:27 -07:00
Carter Anderson
bd8e979de8
ecs: only borrow/iterate archetypes currently used by a given query
2020-07-28 16:37:37 -07:00
Carter Anderson
64cc382477
ecs: move copy of QueryBorrow into bevy_ecs and fix perf regressions
2020-07-28 16:17:21 -07:00
Carter Anderson
7212b70478
rustfmt changes
2020-07-28 14:24:03 -07:00
Moxinilian
311f04f858
transform: implement hierarchical entity despawn
2020-07-28 00:10:32 +02:00
Thomas Herzog
b4c185eb0c
cargo fmt
2020-07-26 21:10:18 +02:00
Carter Anderson
93bb1d5b8e
ui: initial flexbox support
2020-07-24 23:04:45 -07:00
Carter Anderson
6cad80d572
transform|ui: fix transform update lag
2020-07-23 18:26:08 -07:00
Carter Anderson
d79339ea62
transform: add more control parent/child ordering and make parent/children insertion atomic
2020-07-23 17:32:53 -07:00
Carter Anderson
89af5ea4e0
fix some doc tests
2020-07-23 13:40:07 -07:00