mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
Level editor work
This commit is contained in:
@@ -31,12 +31,16 @@ namespace PortabilityLayer
|
||||
void Destroy();
|
||||
|
||||
THandle<void> LoadResource(const ResTypeID &resTypeID, int id);
|
||||
bool GetResourceSize(const ResTypeID &resTypeID, int id, size_t &outSize);
|
||||
bool GetResourceSize(const ResTypeID &resTypeID, int id, size_t &outSize) const;
|
||||
|
||||
bool HasAnyResourcesOfType(const ResTypeID &resTypeID) const;
|
||||
|
||||
private:
|
||||
ResourceArchive(ZipFileProxy *zipFileProxy, IOStream *stream, ResourceArchiveRef *resourceHandles);
|
||||
~ResourceArchive();
|
||||
|
||||
bool IndexResource(const ResTypeID &resTypeID, int id, size_t &outIndex, int &outValidationRule) const;
|
||||
|
||||
THandle<void> GetResource(const ResTypeID &resTypeID, int id, bool load);
|
||||
|
||||
ZipFileProxy *m_zipFileProxy;
|
||||
|
Reference in New Issue
Block a user