Switch to zip archive format for resource data, prep work for moving from PICT/snd to BMP/WAV

This commit is contained in:
elasota
2020-01-18 08:37:57 -05:00
parent e01cd4ef2e
commit d8331eaeb7
298 changed files with 79115 additions and 231 deletions

View File

@@ -13,7 +13,7 @@ namespace PortabilityLayer
struct ResourceCompiledTypeList;
class ResTypeID;
class ResourceFile
class ResourceFile final
{
public:
bool Load(IOStream *stream);
@@ -21,7 +21,7 @@ namespace PortabilityLayer
void GetAllResourceTypeLists(ResourceCompiledTypeList *&outTypeLists, size_t &outCount) const;
const ResourceCompiledTypeList *GetResourceTypeList(const ResTypeID &resType);
THandle<void> GetResource(const ResTypeID &resType, int id, bool load);
THandle<void> LoadResource(const ResTypeID &resType, int id);
static ResourceFile *Create();
void Destroy();