This was originally a port of my HTML5 canvas version here. But there are many more features now including vertical movement, floor/ceiling texture mapping, sprites and projectiles.
You can see videos of it in action here:
Video 1
Video 2
Download the Windows demo here. Note: Use E to open doors and spacebar to shoot.
You will need SDL2 and SDL2_mixer.
SDL2 version used is SDL2-devel-2.0.12-mingw.tar.gz. https://www.libsdl.org/download-2.0.php
SDL2_mixer version used is SDL2_mixer-devel-2.0.4-mingw.tar.gz https://www.libsdl.org/projects/SDL_mixer/
So far I've only tested this with Dev-C++ 5.11 https://sourceforge.net/projects/orwelldevcpp/
Sounds and images are from these OpenGameArt links:
https://opengameart.org/content/big-pack-of-hand-painted-tiling-textures
https://opengameart.org/content/first-person-dungeon-crawl-protagonist
https://opengameart.org/content/lab-sprites
https://opengameart.org/content/first-person-dungeon-crawl-art-pack
https://opengameart.org/content/2-high-quality-explosions
https://opengameart.org/content/4-projectile-launches
https://opengameart.org/content/lpc-animated-doors