mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Switch to zip archive format for resource data, prep work for moving from PICT/snd to BMP/WAV
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user