Move IStream, MemoryStream, FileStream into OpenRCT2 namespace

This commit is contained in:
Matt committed 2020-08-05 16:29:36 +02:00
1 parent 30376085cf
commit 83355e35cc
74 files changed
+828 -758

No files matched your search

+3 -3
View File
@@ -15,13 +15,13 @@
#include "../world/Footpath.h"
#include "ObjectJsonHelpers.h"
void FootpathObject::ReadLegacy(IReadObjectContext* context, IStream* stream)
void FootpathObject::ReadLegacy(IReadObjectContext* context, OpenRCT2::IStream* stream)
{
stream->Seek(10, STREAM_SEEK_CURRENT);
stream->Seek(10, OpenRCT2::STREAM_SEEK_CURRENT);
_legacyType.support_type = static_cast<RailingEntrySupportType>(stream->ReadValue<uint8_t>());
_legacyType.flags = stream->ReadValue<uint8_t>();
_legacyType.scrolling_mode = stream->ReadValue<uint8_t>();
stream->Seek(1, STREAM_SEEK_CURRENT);
stream->Seek(1, OpenRCT2::STREAM_SEEK_CURRENT);
GetStringTable().Read(context, stream, OBJ_STRING_ID_NAME);
GetImageTable().Read(context, stream);