1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

add reading of entrance objects

This commit is contained in:
Ted John
2016-06-25 12:30:20 +01:00
parent c9a1357994
commit 2449b7dbf0
9 changed files with 150 additions and 17 deletions

View File

@@ -17,7 +17,7 @@
#include "../core/IStream.hpp"
#include "EntranceObject.h"
void EntranceObject::Load(IStream * stream)
void EntranceObject::ReadLegacy(IStream * stream)
{
_legacyType.string_idx = stream->ReadValue<rct_string_id>();
_legacyType.image_id = stream->ReadValue<uint32>();
@@ -27,3 +27,13 @@ void EntranceObject::Load(IStream * stream)
LoadStringTable(stream, 0);
LoadImageTable(stream);
}
void EntranceObject::Load()
{
}
void EntranceObject::Unload()
{
}