mirror of https://github.com/AxioDL/metaforce.git
29 lines
457 B
C++
29 lines
457 B
C++
#include "CSortedLists.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
|
|
CSortedListManager::CSortedListManager()
|
|
{
|
|
Reset();
|
|
}
|
|
|
|
void CSortedListManager::Reset()
|
|
{
|
|
std::fill(std::begin(x0_nodes), std::end(x0_nodes), SNode());
|
|
for (int i=0 ; i<6 ; ++i)
|
|
xb000_sortedLists[i].Reset();
|
|
}
|
|
|
|
void CSortedListManager::RemoveFromList(ESortedList list, s16 id)
|
|
{
|
|
SSortedList& sl = xb000_sortedLists[u32(list)];
|
|
}
|
|
|
|
void CSortedListManager::Remove(const CActor *)
|
|
{
|
|
|
|
}
|
|
|
|
}
|