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

add footpath objects

This commit is contained in:
Ted John
2016-06-25 17:09:56 +01:00
parent 78e15b1d56
commit 90923fbb43
4 changed files with 108 additions and 0 deletions

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;