Commit Graph

407 Commits

Author SHA1 Message Date
SeanOMik d14abcc3e5
Get some math types and some ecs stuff exposed to lua 2024-01-12 14:11:33 -05:00
SeanOMik acfd238274
ecs: implement component for some glam types 2024-01-12 14:09:29 -05:00
SeanOMik 544aee4a31
reflect: Implement reflect for glam types 2024-01-12 14:08:46 -05:00
SeanOMik eb44aba3dc
reflect: Fix weird panics for rust-analyzer
Not sure why they were happening. These panics didn't happen on CI and my machine when building and running the tests.
2024-01-08 20:25:20 -05:00
SeanOMik 29467faf55
reflect: Expect doctests to fail compile 2024-01-07 23:15:44 -05:00
SeanOMik e49d69dbc1
scripting: update scripts on all game stages, create utility api provider
ci/woodpecker/push/debug Pipeline failed Details
2024-01-07 00:57:19 -05:00
SeanOMik 13ad671a55
scripting: update lua scripts on 'update' stage 2024-01-06 23:06:00 -05:00
SeanOMik 8f58096643
Fix memory bug caused by non-copy components (Vec, HashMap, etc.)
ci/woodpecker/push/debug Pipeline failed Details
ci/woodpecker/manual/debug Pipeline failed Details
2024-01-06 22:52:30 -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 265752ee76
Free fly camera code cleanup 2024-01-06 20:37:23 -05:00
SeanOMik 22b582c3f8
Implement axises to input actions, use input actions with the free fly camera 2024-01-06 20:15:54 -05:00
SeanOMik 6242abb35b
game: Create more stages and generalize them 2024-01-06 16:49:36 -05:00
SeanOMik 4a42989098
Remove most compiler warnings 2024-01-06 15:52:12 -05:00
SeanOMik 9307265a5a
Implement staged system execution, make it easier to add systems, remove some compiler warnings 2024-01-06 15:40:13 -05:00
SeanOMik 0a97cf7617
ci: install lua5.4 to support lyra-scripting
ci/woodpecker/push/debug Pipeline failed Details
2024-01-04 23:59:22 -05:00
SeanOMik 98ee6fc323
ecs: cleanup 2024-01-04 23:58:56 -05:00
SeanOMik c673fd98ff
Large restructuring so lyra-scripting can create a Plugin
ci/woodpecker/push/debug Pipeline failed Details
2024-01-04 23:25:29 -05:00
SeanOMik 6caf235a6f
Add early scripting system with lua
ci/woodpecker/push/debug Pipeline failed Details
2024-01-04 20:52:47 -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 74f43e9ffe
reflect: implement TypeData for T 2024-01-04 20:43:46 -05:00
SeanOMik 67c5876443
lyra-resource: Make it possible to add resource loaders to the resource manager 2024-01-04 20:42:56 -05:00
SeanOMik 52e58b1ca5 Add lyra-reflect
ci/woodpecker/push/debug Pipeline failed Details
2023-12-30 18:55:05 -05:00
SeanOMik d075fd5d5f
Fix test failure caused by invalid pointer free, remove unused dependencies
ci/woodpecker/push/debug Pipeline was successful Details
2023-12-28 22:54:19 -05:00
SeanOMik 44bb294dab
Fix woodpecker ci
ci/woodpecker/push/debug Pipeline failed Details
2023-12-28 22:40:37 -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 0a0ac0ae6f
Fix panic on Transform::lerp due to rotation not being normalized 2023-12-26 14:21:53 -05:00
SeanOMik 2805399fe4
Switch to use lyra-ecs 2023-12-26 14:12:53 -05:00
SeanOMik 64519b2b4f
[lyra-ecs] Add World::get_resource_or_else, update README.md 2023-12-22 12:22:10 -05:00
SeanOMik e513d09233
Remove lyra-ecs/.vscode 2023-12-21 23:36:26 -05:00
SeanOMik 1a541e527b
Create a Component derive macro 2023-12-21 23:33:55 -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 a1ca2789ce
Dynamically typed bundles and archetypes 2023-12-21 23:33:49 -05:00
SeanOMik e867aaeadb
Groundwork for dynamic types in archetypes 2023-12-21 23:33:48 -05:00
SeanOMik 808cb77040
Implement multiple argument fn systems 2023-12-21 23:33:47 -05:00
SeanOMik ddc6a3dbf2
Add ArgFetcher for resources 2023-12-21 23:33:46 -05:00
SeanOMik 5f5f875783
Rewrite FnSystem stuff, add World argument fetcher 2023-12-21 23:33:45 -05:00
SeanOMik 27b0b87bd7
Finish GraphExecutor `execution` test 2023-12-21 23:33:44 -05:00
SeanOMik c3c1e81913
Create QueryResourceMut 2023-12-21 23:33:43 -05:00
SeanOMik 068eeecd4c
Create graph system executor 2023-12-21 23:33:42 -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 7d94cf052f
Simple ECS resources 2023-12-21 23:33:37 -05:00
SeanOMik e8e2bc0c24
Enforce single mutable borrows of component columns 2023-12-21 23:33:36 -05:00