Constructor

WadRootnew

Declaration [src]

WadRoot*
wad_root_new (
  void
)

Description [src]

Creates a new empty WadRoot object.

Use wad_root_load_from_file() or wad_root_load_from_stream() to read an existing WAD file.

Return value

Type: WadRoot

An empty WadRoot.

The caller of the function takes ownership of the data, and is responsible for freeing it.