|
FIFE
|
A subclass of RawDataMemSource, that fills itself with a FALLOUT1 .DAT file entry. More...
#include <rawdatadat1.h>
Inheritance diagram for FIFE::RawDataDAT1:
Collaboration diagram for FIFE::RawDataDAT1:Classes | |
| struct | s_info |
| The needed information for the extraction. More... | |
Public Member Functions | |
| RawDataDAT1 (VFS *vfs, const std::string &datfile, const s_info &info) | |
| Constructor. More... | |
Public Member Functions inherited from FIFE::RawDataMemSource | |
| RawDataMemSource (uint32_t datalen) | |
| Create a new RawDataMemSource that allocates datalen bytes. More... | |
| virtual | ~RawDataMemSource () |
| uint8_t * | getRawData () const |
| Get a Pointer to the data You need to use this function to fill the class with meaningfull data. More... | |
| virtual uint32_t | getSize () const |
| get the complete datasize More... | |
| virtual void | readInto (uint8_t *buffer, uint32_t start, uint32_t length) |
| read data from the source More... | |
Public Member Functions inherited from FIFE::RawDataSource | |
| RawDataSource () | |
| virtual | ~RawDataSource () |
A subclass of RawDataMemSource, that fills itself with a FALLOUT1 .DAT file entry.
Definition at line 42 of file rawdatadat1.h.
Constructor.
| vfs | The vfs to open with. |
| datfile | The .DAT archive - e.g. master.DAT |
| info | The .DAT file entry, as retrieved by MFFalloutDAT1 |
Definition at line 39 of file rawdatadat1.cpp.
References FIFE::LZSSDecoder::decode(), FIFE::RawDataMemSource::getRawData(), FIFE::RawDataMemSource::getSize(), FIFE::RawDataDAT1::s_info::offset, FIFE::VFS::open(), and FIFE::RawDataDAT1::s_info::type.