6 Commits
Author SHA1 Message Date
西风逍遥游 7f4818075b fix(script): preserve ECS bindings across full composition 2026-09-02 08:35:51 +08:00
西风逍遥游 a8a71c7476 feat(ecs): enhance C++ and script integration for entity management
- Introduced a new mechanism for registering C++ entity view functions, allowing Squirrel scripts to access and manipulate C++ entities directly.
- Implemented a `cppCollect` function to traverse class hierarchies and collect C++ entities based on registered views, enhancing script interaction with C++ components.
- Updated the ECS API to expose new functions for registering C++ entity views and collecting entities in scripts.
- Enhanced existing tests to validate the new functionality and ensure proper integration between C++ and Squirrel scripts.
2026-08-14 15:07:39 +08:00
西风逍遥游 73f4034cf4 feat(ecosystem): enhance ECS functionality with dynamic entity management and new test cases
- Updated the ECS release method to ensure proper entity destruction.
- Introduced a countNodes function to track active entities in the ECS.
- Added new test cases for dynamic entity creation and destruction, ensuring correct behavior during updates.
- Enhanced existing tests to validate entity visibility and lifecycle management in various scenarios.
2026-08-13 17:18:32 +08:00
西风逍遥游 c804116d41 feat: migrate tests from GoogleTest to zeroerr with CTest discovery
Embed zeroerr as a submodule with ZEROERR_NO_MAIN, migrate all unit tests, and register each case with CTest via ZeroErrDiscoverTests.
2026-08-04 22:53:04 +08:00
西风逍遥游 10093e0417 feat: declarative 2D render path with PNG texture loading
Integrate ECS.hpp, Vulkan Batcher/RenderSystem, multi-texture sprites, and Graphics::newTextureFromFile with ImageData PNG encode/decode fixes.
2026-08-04 21:16:55 +08:00
西风逍遥游 412ec4ddcb update 2022-07-16 22:00:44 -07:00