25 #ifndef AURORA_AURORAFILE_H 26 #define AURORA_AURORAFILE_H 88 #endif // AURORA_AURORAFILE_H Generic interface for a readable data stream.
bool _utf16le
The file's ID and version are in little-endian UTF-16.
uint32 getVersion() const
Return the file's version.
static void readHeader(Common::ReadStream &stream, uint32 &id, uint32 &version, bool &utf16le)
Read the header out of a stream.
Low-level type definitions to handle fixed width types portably.
uint32 _id
The file's ID.
uint32 _version
The file's version.
static uint32 convertUTF16LE(uint32 x1, uint32 x2)
Base class for most files found in games using BioWare's Aurora engine.
static uint32 readHeaderID(Common::ReadStream &stream)
Read the ID out of a stream.
bool isUTF16LE() const
Were the ID and version encoded in little-endian UTF-16 in the file?
uint32 getID() const
Return the file's ID.