Integrate wxWidgets application and enhance SFML project

- Added `wxwidgets` module with a basic application (menu and UI setup in `main.cpp`) and CMake configuration.
- Updated `Paddle` class in SFML to support dynamic key bindings and movement logic via `Update` method.
- Introduced `asset_ids.h` for centralized asset file definitions in SFML.
- Enhanced `sfml/main.cpp` with animation logic and drawable management using `std::vector`.
- Adjusted CMake configurations for SFML and added asset copying to runtime directory.
This commit is contained in:
2026-03-06 17:37:16 +01:00
parent b58064a0d0
commit f546f7cddd
10 changed files with 142 additions and 16 deletions
+3 -1
View File
@@ -19,4 +19,6 @@ add_executable(main
target_compile_features(main PRIVATE cxx_std_17)
target_link_libraries(main PRIVATE SFML::Graphics)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT main)
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT main)
file(COPY assets DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})