Repository navigation
·
17 commits
to master
since this release
FreeDroid Classic 2.0.0 is the first SDL3 release. The 2.x series uses SDL3; the 1.9.x series remains the SDL2 maintenance line.
SDL3 port
- Uses SDL3, SDL3_image, and SDL3_mixer in place of their SDL2 counterparts.
- SDL3 configuration uses config-sdl3, separate from the SDL2 configuration file.
Fixes
- Fix the temporary SDL surface leak during highscore name entry and other text entry, reported in #50.
- Free separate zoomed map surfaces on shutdown and theme reload.
- Preserve queued debug-menu keypresses when handling unrelated input events.
- Ignore keyboard auto-repeat in gameplay input, preventing held Space from immediately confirming the takeover side/color without introducing blocking release waits.
Developer diagnostics
- Report outstanding SDL allocations after shutdown when SDL allocation counting is enabled.
- Add make debug to build a separate allocation-counting SDL3 and link the sanitizer-enabled debug executable against it. The SDL source directory can be overridden with DEBUG_SDL_SOURCE.
Validation
- Normal and debug builds pass; GCC and strict Clang CI checks pass.
- Allocation-counter, zoom-cleanup, and keyboard-event checks pass.
For SDL2, use 1.9.2-sdl2-port and the maintenance/sdl2 branch.
Source code is available below; no prebuilt binaries are included.