Skip to content

Commit dfedd21

Browse files
committed
Added cEditorResource constructor
1 parent ffd27c1 commit dfedd21

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

Spore ModAPI/SourceCode/Editors/Editor.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,16 @@ namespace Editors
9494
}
9595
}
9696
}
97+
98+
cEditorResource::cEditorResource()
99+
: mBlocks()
100+
, mProperties {}
101+
, padding_5C {}
102+
{
103+
}
104+
105+
cEditorResource::~cEditorResource()
106+
{}
107+
97108
}
98109
#endif

Spore ModAPI/Spore/Editors/cEditorResource.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ namespace Editors
6161
class cEditorResource
6262
: public Resource::ResourceObject
6363
{
64+
public:
6465
struct Properties
6566
{
6667
/* 00h */ uint32_t mModelType;
@@ -79,6 +80,9 @@ namespace Editors
7980

8081
static const uint32_t TYPE = 0x3C609F8;
8182

83+
cEditorResource();
84+
~cEditorResource();
85+
8286
public:
8387
/* 18h */ Properties mProperties;
8488
/* 5Ch */ char padding_5C[0x98 - 0x5C];

0 commit comments

Comments
 (0)