References a game file either as path or as embedded byte range. More...
#include <common.h>
Public Member Functions | |
| GameFileReference (const Common::String &path) | |
| GameFileReference (const Common::String &path, uint32 fileIndex, int64 position, uint32 size) | |
| bool | isValid () const |
| bool | isEmbedded () const |
Public Attributes | |
| Common::String | _path |
| uint32 | _fileIndex = UINT32_MAX |
| uint32 | _position = UINT32_MAX |
| uint32 | _size = 0 |
References a game file either as path or as embedded byte range.
In V1 all files (except videos) are stored within the EMC file. Some of those are within an embedded archive, most animations however are stored at their graphics and have their original filenames. We reference them by their byte range.
V2/V3 store files outside with normal paths to use