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

add small scenery object

This commit is contained in:
Ted John
2016-06-25 18:58:04 +01:00
parent 7e206d1a85
commit daa5a0c506
5 changed files with 156 additions and 1 deletions

View File

@@ -22,6 +22,7 @@
#include "FootpathObject.h"
#include "Object.h"
#include "ObjectFactory.h"
#include "SmallSceneryObject.h"
#include "StexObject.h"
extern "C"
@@ -64,6 +65,9 @@ namespace ObjectFactory
uint8 objectType = entry.flags & 0x0F;
switch (objectType) {
case OBJECT_TYPE_SMALL_SCENERY:
result = new SmallSceneryObject(entry);
break;
case OBJECT_TYPE_PATHS:
result = new FootpathObject(entry);
break;