This is my C# 4.0/SlimDX port of the Quake 2 source code