The Doom Fire effect made in C with openGL.
This code is a directly implementation of DoomFireJS. Both is baseade on the algorithim described in How DOOM fire was done.
If you want to better understand how DOOM was designed, read Game Engine Black Book DOOM, I highly recommend it.
If you use Windows, I recommend use MSYS2 to compile the code in unix-like environment.