1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

add image table reading

This commit is contained in:
Ted John
2016-06-25 10:48:54 +01:00
parent 463e88583d
commit 28ae0cbee6
2 changed files with 49 additions and 1 deletions

View File

@@ -16,12 +16,25 @@
#pragma once
#include <vector>
#include "../common.h"
extern "C"
{
#include "../drawing/drawing.h"
}
interface IStream;
class ImageTable
{
private:
std::vector<rct_g1_element> _entries;
void * _data = nullptr;
size_t _dataSize = 0;
public:
~ImageTable();
void Read(IStream * stream);
};