Commit Graph
4 Commits
Author SHA1 Message Date
西风逍遥游 15572df22a feat(window): implement window icon management with setIcon and getIcon methods
- Added setIcon and getIcon methods to the Window interface for managing application icons.
- Implemented setIcon in the SDL window class, ensuring compatibility with RGBA8 image formats.
- Introduced a new test case to validate icon setting and retrieval functionality.
- Updated documentation to reflect the new icon management features.
2026-08-13 22:24:12 +08:00
sunxfancy 018f3cd525 feat(makefile): update game directory configuration and enhance run commands
- Changed the default game directory setting to empty, allowing for running the embedded demo without arguments.
- Updated run commands to conditionally change directories based on the GAME variable, improving flexibility for game execution.
- Enhanced documentation in the Makefile to clarify the behavior of the GAME variable and its impact on running the game.

These changes streamline the game execution process and improve user experience when running different game scenarios.
2026-08-08 21:04:16 +08:00
西风逍遥游 5149adb5f7 feat: enhance window module with new functionalities and improvements
- Updated the Window API to include methods for fullscreen management, window title handling, and position retrieval.
- Refactored existing methods for better clarity and functionality, including the introduction of separate methods for fullscreen desktop and exclusive modes.
- Improved DPI handling and pixel conversion methods to ensure accurate rendering across different display settings.
- Enhanced unit tests for the window module, covering new functionalities and ensuring robust behavior in various scenarios.
- Updated documentation to reflect the changes in the Window API and added details on new features.
2026-08-06 00:14:27 +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