9 Commits
Author SHA1 Message Date
西风逍遥游 66dc4e8f3d feat(rpg): restore classic product loop after CI fix 2026-08-31 23:16:42 +08:00
西风逍遥游 775ac0c7cc Revert "Merge pull request #317 from EVEngine/codex/rpg-classic-product-loop"
This reverts commit 6541e5ac83, reversing
changes made to 3c21fe396a.
2026-08-31 23:04:39 +08:00
西风逍遥游 2319ae0118 feat(rpg): complete classic RPG product loop 2026-08-31 19:49:32 +08:00
西风逍遥游 bb966397b0 feat(hotreload): stabilize recursive file watching 2026-08-25 21:10:26 +08:00
sunxfancy 87d6062711 chore: update CMake configuration and enhance filesystem tests
- Modified CMakeLists.txt to include the `--recurse-submodules` option for Git clone commands, ensuring all submodules are fetched.
- Enhanced filesystem tests to cover additional scenarios, including memory data mounting and real directory resolution.
- Updated image tests to validate PNG encoding and decoding, ensuring proper handling of unsupported formats.
- Improved model3D tests to check for material counts and face normals, enhancing robustness of 3D model handling.
- Added error handling in sound tests for invalid data scenarios, ensuring stability in audio processing.

These changes improve the overall test coverage and configuration management of the project.
2026-08-08 16:19:14 +08:00
sunxfancyandCursor 824f41ace1 feat: implement soft hot-reload functionality for scripts and assets
- Added support for soft hot-reloading of scripts and assets in the engine, allowing for dynamic updates without restarting.
- Introduced new functions in the load.nut script to track and reload modified scripts and assets.
- Enhanced the filesystem module with a HotReload class to manage asset reloading based on file changes.
- Updated CMakeLists.txt to include new timidity share data for desktop platforms.
- Improved the audio module to support MIDI playback with dynamic asset loading.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 22:39:16 +08:00
sunxfancyandCursor 73c779f87f feat: implement file watching functionality in the filesystem module
- Added methods for file watching, including `watch`, `unwatch`, `unwatchAll`, `getWatchCount`, `pollWatch`, `getLastWatchPath`, and `getLastWatchRealPath`.
- Enhanced the `Filesystem` class to support monitoring file changes, allowing for real-time updates.
- Updated the `physfs` implementation to handle file watch targets and events.
- Improved documentation and added unit tests to validate the new file watching features.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 14:51:07 +08:00
西风逍遥游 d62b916c5a fix: improve file handling and audio source management
- Updated file handling to ensure proper opening in binary mode for reading, addressing issues with the PhysFS backend.
- Refactored audio source management by renaming and consolidating stream unregistration methods to prevent potential deadlocks.
- Enhanced mouse position handling to ensure reliable updates in SDL, particularly when window focus is lost.
- Added new tests for filesystem operations and HTTP request handling, including verification of SSL behavior in HTTPS requests.
2026-08-05 18:47:22 +08:00
西风逍遥游 e21dbcf1ea feat: enhance audio and data handling with new test cases
- Added comprehensive unit tests for audio functionalities, including playback control, volume adjustments, and source management.
- Implemented new tests for data handling, focusing on ByteData and DataView functionalities, ensuring proper memory management and error handling.
- Updated CMakeLists to include new test files for improved coverage and organization.
- Enhanced event handling tests to verify message processing and variant functionalities.
2026-08-05 17:51:48 +08:00