Commit graph

33 commits

Author SHA1 Message Date
d075fd5d5f
Fix test failure caused by invalid pointer free, remove unused dependencies
All checks were successful
ci/woodpecker/push/debug Pipeline was successful
2023-12-28 22:54:19 -05:00
10fc7842cf
Fix a painful amount of compiler warnings, and clippy warnings 2023-12-28 21:30:45 -05:00
09bba5b3b3
Switch to lyra-ecs systems, move ecs mod to scene mod, reexport lyra-ecs as ecs 2023-12-26 23:48:46 -05:00
2805399fe4
Switch to use lyra-ecs 2023-12-26 14:12:53 -05:00
64519b2b4f
[lyra-ecs] Add World::get_resource_or_else, update README.md 2023-12-22 12:22:10 -05:00
e513d09233
Remove lyra-ecs/.vscode 2023-12-21 23:36:26 -05:00
1a541e527b
Create a Component derive macro 2023-12-21 23:33:55 -05:00
1ab79fae83
Make fields and methods pub 2023-12-21 23:33:54 -05:00
68a2868478
Use Any for Resources instead of pointers, utility stuff for DynamicType 2023-12-21 23:33:53 -05:00
8c8e7dfd7d
Implement inserting components into entities, ViewOne 2023-12-21 23:33:52 -05:00
da206b4824
Rename World::view to World::view_iter, some code cleanup 2023-12-21 23:33:51 -05:00
a68b0a7fb4
Simple dynamic views 2023-12-21 23:33:50 -05:00
a1ca2789ce
Dynamically typed bundles and archetypes 2023-12-21 23:33:49 -05:00
e867aaeadb
Groundwork for dynamic types in archetypes 2023-12-21 23:33:48 -05:00
808cb77040
Implement multiple argument fn systems 2023-12-21 23:33:47 -05:00
ddc6a3dbf2
Add ArgFetcher for resources 2023-12-21 23:33:46 -05:00
5f5f875783
Rewrite FnSystem stuff, add World argument fetcher 2023-12-21 23:33:45 -05:00
27b0b87bd7
Finish GraphExecutor execution test 2023-12-21 23:33:44 -05:00
c3c1e81913
Create QueryResourceMut 2023-12-21 23:33:43 -05:00
068eeecd4c
Create graph system executor 2023-12-21 23:33:42 -05:00
9c6c32199d
Create simple function systems 2023-12-21 23:33:41 -05:00
7f17a97ef7
Return Ref and RefMut from the borrow queries to enforce borrow checks even more 2023-12-21 23:33:40 -05:00
6fedb270b9
Convert package to a lib, get resources from views 2023-12-21 23:33:39 -05:00
08a458eb9c
Implement simple resources 2023-12-21 23:33:38 -05:00
7d94cf052f
Simple ECS resources 2023-12-21 23:33:37 -05:00
e8e2bc0c24
Enforce single mutable borrows of component columns 2023-12-21 23:33:36 -05:00
4c0b517127
Implement despawning entities 2023-12-21 23:33:36 -05:00
5fafddb479
Add README.md 2023-12-21 23:33:35 -05:00
2c718231ed
Implement query for tuples of query types 2023-12-21 23:33:34 -05:00
2e53156b0d
Implement query borrow and borrow mut for all &T and &mut T 2023-12-21 23:33:33 -05:00
92e284e625
Create queries and views 2023-12-21 23:33:32 -05:00
f62f21e69f
simple queries (which will be completely rewritten 2023-12-21 23:33:31 -05:00
cde7d140ea
early version of ecs working 2023-12-21 23:33:18 -05:00