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:
@@ -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);
|
||||
};
|
||||
Reference in New Issue
Block a user