Copyright | (c) 2015 Martin Grabmueller |
---|---|
License | BSD3 |
Maintainer | martin@grabmueller.de |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
WAD file loader. Loads the file into memory and parses the common lumps into Haskell values.
I recommend the Unofficial Doom Specification by Matthew S Fell, available at http://aiforge.net/test/wadview/dmspec16.txt and the Doom Wiki at http://doomwiki.org for details.
Documentation
load :: FilePath -> IO Wad Source
Load a WAD file into a Wad
value. The complete file is read
into memory eagerly, assuming that all the content will be needed
anyway by the application.
May throw IOException
or WadException
.