Commit graph

1035 commits

Author SHA1 Message Date
Carter Anderson
f0fc380a39 transform: impl deref/derefmut for components 2020-07-18 14:36:16 -07:00
Carter Anderson
fe1adb6cf6 ui: focus/click/hover system. initial buttons 2020-07-18 14:08:46 -07:00
Carter Anderson
19fe299f5a ecs: use Mut<T> tracking pointer everywhere 2020-07-18 02:09:55 -07:00
Carter Anderson
bf164a5936 ecs: fix tuple query item skipping 2020-07-18 01:14:16 -07:00
Carter Anderson
fbcf3f89d0 ecs: rename ComMut<T> to Track<T> and fix nested change queries 2020-07-18 01:05:06 -07:00
Carter Anderson
23b96a48a6 ecs: make RefMut a tracking pointer 2020-07-18 01:03:47 -07:00
Carter Anderson
85ec31bb65 ecs: change state now moves when an entity moves to a different archetype 2020-07-17 19:13:56 -07:00
Carter Anderson
31d00ad861 ecs: initial component change tracking
(changing entity archetypes currently breaks tracking)
2020-07-17 17:50:17 -07:00
Carter Anderson
81df34adcf finish up import simplification 2020-07-16 19:38:21 -07:00
Carter Anderson
7823c3a9e2 property: simplify imports 2020-07-16 19:29:00 -07:00
Carter Anderson
2a6e75a27e pbr: simplify imports 2020-07-16 19:27:19 -07:00
Carter Anderson
e2d2b41c67 math: simplify imports 2020-07-16 19:23:47 -07:00
Carter Anderson
9f26a453c6 ecs: simplify imports 2020-07-16 19:20:51 -07:00
Carter Anderson
f742ce3ef2 app: simplify app imports 2020-07-16 18:47:51 -07:00
Carter Anderson
b12c4d0a48 render: simplify imports and cleanup prelude 2020-07-16 18:26:21 -07:00
Carter Anderson
196bde64e3 cargo fmt 2020-07-16 17:23:50 -07:00
Carter Anderson
1db77b2435 examples: cleanup imports 2020-07-16 17:20:42 -07:00
Carter Anderson
1110f9b877 create bevy_math crate and move math types there 2020-07-16 17:11:52 -07:00
Carter Anderson
d9adea1b5e transform: TransformPlugin 2020-07-16 16:32:39 -07:00
Carter Anderson
f546aad7f4 audio: rename play to play_source and queue to play 2020-07-16 14:23:57 -07:00
Carter Anderson
7bdca4e5f0 audio: rename queue_play to queue 2020-07-16 13:52:52 -07:00
Carter Anderson
3eb393548d audio: initial (very minimal) audio plugin 2020-07-16 13:46:51 -07:00
Carter Anderson
af109174dd make scene folder plural 2020-07-16 12:47:26 -07:00
Carter Anderson
362fb92cf8 ecs: only prepare executor on changes. use parallel executor in App 2020-07-15 17:59:13 -07:00
Carter Anderson
4712e96aa8 ecs: make parallel executor resource-aware 2020-07-15 17:20:36 -07:00
Carter Anderson
88781007b0 ecs: slightly improve perf with inlining changes 2020-07-14 23:56:49 -07:00
Carter Anderson
a7bab755ee ecs: add query get safety checks 2020-07-14 19:05:39 -07:00
Carter Anderson
1f6c9ece1d ecs: call prepare() inside ParallelExecutor::run()
also moved some things around
2020-07-14 16:23:25 -07:00
Carter Anderson
50335e21e2 derive: allow manually forcing modules to "crate", which prevents the need for ambiguous crates
this fixes a failing doc test
2020-07-14 16:16:01 -07:00
Carter Anderson
0dc810a37a ecs: add thread local system support to parallel executor 2020-07-14 14:19:17 -07:00
Carter Anderson
98ed29aacc ecs: fix local resource indexing 2020-07-14 11:08:02 -07:00
Carter Anderson
8d3a5ae0f1 ecs: initial parallel schedule executor
currently only considers component archetypes. still missing proper handling of thread local systems and resources
2020-07-13 19:36:41 -07:00
Carter Anderson
67f1bd66ce ecs: fix resource borrow safety 2020-07-12 12:27:11 -07:00
Carter Anderson
17f3860d12 remove unsafe Clone implementation on Res/ResMut in favor of UnsafeClone 2020-07-12 12:06:43 -07:00
Carter Anderson
df17d166cf update credits 2020-07-12 10:54:40 -07:00
Carter Anderson
86f41ae0a4 add more informative "resource does not exist" errors 2020-07-11 20:12:34 -07:00
Carter Anderson
f4fe9abda8 remove vscode settings 2020-07-11 20:12:11 -07:00
Carter Anderson
e78f2aac07 breakout: fix input 2020-07-11 12:52:25 -07:00
Carter Anderson
6d58a5a033 render: add direct buffer mapping/unmapping 2020-07-11 12:29:07 -07:00
Carter Anderson
cb1ffb42c4 upgrade wgpu (removes some dependencies) 2020-07-10 19:42:32 -07:00
Carter Anderson
fb2dfba5e3 upgrade libloading 2020-07-10 16:11:25 -07:00
Carter Anderson
2ca6de2b81 upgrade wgpu 2020-07-10 13:47:31 -07:00
Carter Anderson
fd219660d3 remove env-logger from dependencies 2020-07-10 12:43:37 -07:00
Carter Anderson
a656588788 slim down gltf and winit features and remove unused dependencies 2020-07-10 12:08:51 -07:00
Carter Anderson
2508a59f68 remove darling 2020-07-10 02:53:31 -07:00
Carter Anderson
3b68c7cc4a transform: remove some dependencies and cleanup 2020-07-10 01:49:23 -07:00
Carter Anderson
c81ab99dac cargo fmt 2020-07-10 01:37:06 -07:00
Carter Anderson
db3191e47b
Merge pull request #49 from bevyengine/bevy_ecs
Bevy ECS migration
2020-07-10 01:32:31 -07:00
Carter Anderson
950e50bbb1 Bevy ECS migration 2020-07-10 01:06:21 -07:00
Carter Anderson
5607da019d rename/move breakout because its a single file 2020-06-28 11:14:39 -07:00