mirror of
https://github.com/encounter/Petari.git
synced 2026-03-30 11:34:15 -07:00
29 lines
741 B
C++
29 lines
741 B
C++
#include "Game/Scene/PlacementInfoOrdered.hpp"
|
|
|
|
#ifndef NON_MATCHING
|
|
// functionally equiv, just isn't reloading the array size properly
|
|
PlacementInfoOrdered::PlacementInfoOrdered(int count) {
|
|
mIndexArray = nullptr;
|
|
_4 = 0;
|
|
mSetArray = nullptr;
|
|
mIdentiferArray = nullptr;
|
|
mCount = count;
|
|
mIndexArray = new Index[count];
|
|
mSetArray = new SameIdSet[count];
|
|
mIdentiferArray = new Identifier*[count];
|
|
MR::zeroMemory(mIdentiferArray, count);
|
|
}
|
|
#endif
|
|
|
|
/*
|
|
void PlacementInfoOrdered::requestFileLoad() {
|
|
for (u32 i = 0; i < getUsedArrayNum(); i++) {
|
|
Identifier* id = mIdentiferArray[i];
|
|
|
|
if (getCreator(*id)) {
|
|
if (id->_4 == -1) {
|
|
|
|
}
|
|
}
|
|
}
|
|
}*/ |