forked from rosebudai/OpenRCT2-Web
add reading of entrance objects
This commit is contained in:
1 parent
c9a1357994
commit
2449b7dbf0
9 files changed
+150
-17
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user