Add F2 screenshot functionality and image writing support

- Updated `EControllerActions` to include `MINECRAFT_ACTION_SCREENSHOT`.
- Added conditional compilation for `stb_image_write.h` in `Minecraft.cpp`.
- Modified `run_middle()` to handle screenshot key press.
- Updated `tick()` to capture and save screenshots as PNG files.
- Introduced `KEY_SCREENSHOT` in `KeyboardMouseInput.h` mapped to F2.
- Added `stb_image_write.h` for image writing capabilities.
This commit is contained in:
Revela
2026-03-15 03:47:31 -05:00
parent ae006e03f4
commit 6aea7c4bb7
4 changed files with 1807 additions and 1 deletions
File diff suppressed because it is too large Load Diff