forked from rosebudai/OpenRCT2-Web
add small scenery object
This commit is contained in:
1 parent
7e206d1a85
commit
daa5a0c506
5 files changed
+156
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user