Finally got around to finishing the untextured portion of that one raycaster tutorial (while listening to javidx9's explanation of the DDA algorithm)
The tutorial I used https://lodev.org/cgtutor/raycasting....
I used C instead of C++ as the tutorial did, but the general syntax and ideas held true for C, too.