Half-Life .map File Loader

Map-Files .map parser, written by Stefan Hajnoczi, partly ported to C#.

Ported

  • Parse .map file
  • Turn brush into polygon
  • Calculate texture coordinates
  • Sort vertices

Extra

  • Inverse function to rotate output correctly

Check out the example project