mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-09-24 06:47:07 +00:00
Import code from previous AssetBuilder version
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
class XBlock
|
||||
{
|
||||
public:
|
||||
enum Type
|
||||
{
|
||||
BLOCK_TYPE_TEMP,
|
||||
BLOCK_TYPE_RUNTIME,
|
||||
BLOCK_TYPE_DELAY,
|
||||
BLOCK_TYPE_NORMAL
|
||||
};
|
||||
|
||||
std::string m_name;
|
||||
int m_index;
|
||||
Type m_type;
|
||||
|
||||
uint8_t* m_buffer;
|
||||
size_t m_buffer_size;
|
||||
|
||||
XBlock(const std::string& name, int index, Type type);
|
||||
~XBlock();
|
||||
|
||||
void Alloc(size_t blockSize);
|
||||
};
|
||||
Reference in New Issue
Block a user