File reader for the WAD format. More...
#include <modreader.h>
Public Member Functions | |
WadReader (const QString &path) | |
Construct a new WAD reader to manage a WAD file. | |
QStringList | getAllMaps () override |
Get a list of the maps that this WAD contains. | |
QList< DirectoryEntry > | getDirectory () |
Get all the directory of the WAD. | |
bool | isIwad () override |
returns whether or not this is a IWAD. | |
bool | load () override |
loads the WAD set in the constructor. | |
Additional Inherited Members | |
![]() | |
static QSharedPointer< ModReader > | create (const QString &path) |
File reader for the WAD format.
Definition at line 58 of file modreader.h.
WadReader::WadReader | ( | const QString & | path | ) |
Construct a new WAD reader to manage a WAD file.
path | absolute path to WAD file. |
|
overridevirtual |
Get a list of the maps that this WAD contains.
Implements ModReader.
Definition at line 113 of file modreader.cpp.
QList< DirectoryEntry > WadReader::getDirectory | ( | ) |
Get all the directory of the WAD.
Definition at line 108 of file modreader.cpp.
|
overridevirtual |
returns whether or not this is a IWAD.
Implements ModReader.
Definition at line 103 of file modreader.cpp.
|
overridevirtual |
loads the WAD set in the constructor.
Implements ModReader.
Definition at line 74 of file modreader.cpp.