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

prepare unpacking objects

This commit is contained in:
Ted John
2016-06-26 23:30:44 +01:00
parent 84bd948488
commit 01cd37316c
3 changed files with 107 additions and 1 deletions

View File

@@ -55,6 +55,9 @@ interface IObjectRepository
virtual const ObjectRepositoryItem * FindObject(const utf8 * name) abstract;
virtual const ObjectRepositoryItem * FindObject(const rct_object_entry * objectEntry) abstract;
virtual Object * LoadObject(const rct_object_entry * objectEntry) abstract;
virtual void AddObject(const rct_object_entry * objectEntry,
const void * data,
size_t dataSize) abstract;
};
IObjectRepository * GetObjectRepository();