1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00

save object details to repository file

This commit is contained in:
Ted John
2016-06-25 14:44:04 +01:00
parent 2449b7dbf0
commit e93b2141a1
9 changed files with 64 additions and 28 deletions

View File

@@ -16,12 +16,7 @@
#include "Object.h"
void Object::LoadStringTable(IStream * stream, uint8 id)
Object::Object(const rct_object_entry &entry)
{
_stringTable.Read(stream, id);
}
void Object::LoadImageTable(IStream * stream)
{
_imageTable.Read(stream);
_objectEntry = entry;
}