add footpath objects

This commit is contained in:
Ted John committed 2016-07-08 22:58:38 +01:00
1 parent 78e15b1d56
commit 90923fbb43
4 files changed
+108

No files matched your search

+4
View File
@@ -18,6 +18,7 @@
#include "../core/Memory.hpp"
#include "../core/MemoryStream.h"
#include "EntranceObject.h"
#include "FootpathObject.h"
#include "Object.h"
#include "ObjectFactory.h"
#include "StexObject.h"
@@ -62,6 +63,9 @@ namespace ObjectFactory
uint8 objectType = entry.flags & 0x0F;
switch (objectType) {
case OBJECT_TYPE_PATHS:
result = new FootpathObject(entry);
break;
case OBJECT_TYPE_PARK_ENTRANCE:
result = new EntranceObject(entry);
break;