So now the player can move, and there is texture loading. It's this damnable fisheye effect that is bothering me, though.
I know it's hard to read, but on the left, the camera's angle is between 0 and PI radians, and on the right the camera's anlgle is between PI and PI*2 radians. For some reason, the point shown will not display with the setup on the right, where it will on the left.
It's ugly but it's currently rendering 2 walls, making a right corner. It seems to be doing weird things with depth but it's functional.
After fixing a lighting bug in my latest game currently called "Arena", I lowered the fog distance and came out with this. I'm pretty sure this is what Amnesia would have looked like in the 90's.