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

@@ -1,29 +1,30 @@
#pragma once
#ifndef __PL_MM_HANDLE_BLOCK_H__
#define __PL_MM_HANDLE_BLOCK_H__
#include <stdint.h>
#include "CoreDefs.h"
namespace PortabilityLayer
{
struct ResourceCompiledRef;
struct MMHandleBlock
{
explicit MMHandleBlock(void *contents, size_t size);
void **AsHandle();
void *m_contents; // This must be the first field
ResourceCompiledRef *m_rmSelfRef;
size_t m_size;
private:
MMHandleBlock() GP_DELETED;
};
}
#endif
#pragma once
#ifndef __PL_MM_HANDLE_BLOCK_H__
#define __PL_MM_HANDLE_BLOCK_H__
#include <stdint.h>
#include "CoreDefs.h"
namespace PortabilityLayer
{
struct ResourceArchiveRef;
struct ResourceCompiledRef;
struct MMHandleBlock
{
explicit MMHandleBlock(void *contents, size_t size);
void **AsHandle();
void *m_contents; // This must be the first field
ResourceArchiveRef *m_rmSelfRef;
size_t m_size;
private:
MMHandleBlock() GP_DELETED;
};
}
#endif