add reading of entrance objects

This commit is contained in:
Ted John committed 2016-07-08 22:58:38 +01:00
1 parent c9a1357994
commit 2449b7dbf0
9 files changed
+150 -17

No files matched your search

+5 -5
View File
@@ -23,6 +23,8 @@
#include "../core/Memory.hpp"
#include "../core/Path.hpp"
#include "../core/String.hpp"
#include "Object.h"
#include "ObjectFactory.h"
#include "ObjectRepository.h"
extern "C"
@@ -135,13 +137,11 @@ private:
void ScanObject(utf8 * path)
{
rct_object_entry entry;
if (!object_load_entry(path, &entry))
Object * object = ObjectFactory::CreateObjectFromLegacyFile(path);
if (object != nullptr)
{
return;
// TODO
}
__nop();
}
bool Load()