Commit Graph

35 Commits

Author SHA1 Message Date
SeanOMik f0d36e7b56
ecs: impl Clone for World and return entity in dynamic views 2024-04-27 00:21:26 -04:00
SeanOMik e2c6b557bb
render: improve performance of transform interpolation by using ecs components 2024-04-22 01:07:35 -04:00
SeanOMik 337ce18e8c
ecs: update existing components on entity in World::insert 2024-04-22 00:20:42 -04:00
SeanOMik 25aa902e02
render: use WorldTransforms in the renderer
ci/woodpecker/push/debug Pipeline failed Details
2024-04-17 20:46:46 -04:00
SeanOMik 12c8ece418
ecs: create a DynamicViewState that can be used to create a dynamic view without dealing with lifetimes
ci/woodpecker/push/debug Pipeline failed Details
2024-04-13 02:10:25 -04:00
SeanOMik 0668be06e2
ecs: documentation improvements for filter queries 2024-04-10 23:18:11 -04:00
SeanOMik 4162150c5f
ecs: fix issue with Entities query returning the incorrect entity ids 2024-04-10 22:27:23 -04:00
SeanOMik 4a0d003181
ecs: add not filter, improve the code for inserting components into entity, bundle cleanup and improvements 2024-04-10 22:26:49 -04:00
SeanOMik 46cdcfdd3b
ecs: make resources Send + Sync, rewrite Commands, CommandsQueue so that they are Send + Sync 2024-03-30 22:20:52 -04:00
SeanOMik c3de9e77db ecs: fix filters 2024-03-09 00:46:42 -05:00
SeanOMik 6210778e9d
ecs: some code cleanup 2024-03-02 22:55:11 -05:00
SeanOMik 7d90b1d38f
ecs: improve docs 2024-03-02 22:55:10 -05:00
SeanOMik 21537481c9
ecs: add relations, improve docs 2024-03-02 22:55:10 -05:00
SeanOMik 380c8df740
ecs: implement deferred system commands, change the way system fn arguments are implemented 2024-02-23 16:34:21 -05:00
SeanOMik ac24d1f913
Fix querying resources in fn systems, create CommonActionLabels, more code cleanup of free fly camera 2024-01-06 21:38:21 -05:00
SeanOMik 0f062217ca
ecs: Add world query, make it possible to request resources from function systems 2024-01-04 20:49:27 -05:00
SeanOMik 10fc7842cf
Fix a painful amount of compiler warnings, and clippy warnings 2023-12-28 21:30:45 -05:00
SeanOMik 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
SeanOMik 2805399fe4
Switch to use lyra-ecs 2023-12-26 14:12:53 -05:00
SeanOMik 1ab79fae83
Make fields and methods pub 2023-12-21 23:33:54 -05:00
SeanOMik 68a2868478
Use Any for Resources instead of pointers, utility stuff for DynamicType 2023-12-21 23:33:53 -05:00
SeanOMik 8c8e7dfd7d
Implement inserting components into entities, ViewOne 2023-12-21 23:33:52 -05:00
SeanOMik da206b4824
Rename World::view to World::view_iter, some code cleanup 2023-12-21 23:33:51 -05:00
SeanOMik a68b0a7fb4
Simple dynamic views 2023-12-21 23:33:50 -05:00
SeanOMik e867aaeadb
Groundwork for dynamic types in archetypes 2023-12-21 23:33:48 -05:00
SeanOMik c3c1e81913
Create QueryResourceMut 2023-12-21 23:33:43 -05:00
SeanOMik 9c6c32199d
Create simple function systems 2023-12-21 23:33:41 -05:00
SeanOMik 7f17a97ef7
Return Ref and RefMut from the borrow queries to enforce borrow checks even more 2023-12-21 23:33:40 -05:00
SeanOMik 6fedb270b9
Convert package to a lib, get resources from views 2023-12-21 23:33:39 -05:00
SeanOMik 08a458eb9c
Implement simple resources 2023-12-21 23:33:38 -05:00
SeanOMik e8e2bc0c24
Enforce single mutable borrows of component columns 2023-12-21 23:33:36 -05:00
SeanOMik 4c0b517127
Implement despawning entities 2023-12-21 23:33:36 -05:00
SeanOMik 2c718231ed
Implement query for tuples of query types 2023-12-21 23:33:34 -05:00
SeanOMik 2e53156b0d
Implement query borrow and borrow mut for all &T and &mut T 2023-12-21 23:33:33 -05:00
SeanOMik 92e284e625
Create queries and views 2023-12-21 23:33:32 -05:00