prime/include/MetroidPrime/CIOWinManager.hpp
Luke Street 7f83e1fa03 Standardize include guards, clang-format headers
Former-commit-id: 261ee48bba0546f4620447040b7c3d3034686796
2022-10-09 01:13:17 -04:00

32 lines
595 B
C++

#ifndef _CIOWINMANAGER
#define _CIOWINMANAGER
#include "types.h"
#include "rstl/list.hpp"
#include "rstl/rc_ptr.hpp"
class CIOWin;
// TODO
class IOWinPQNode;
class CIOWinManager {
public:
CIOWinManager();
~CIOWinManager();
void Draw() const;
void AddIOWin(rstl::ncrc_ptr< CIOWin >, int, int);
void RemoveAllIOWins();
inline bool IsEmpty() const { return x4_pumpRoot == nullptr && x0_drawRoot == nullptr; }
private:
IOWinPQNode* x0_drawRoot;
IOWinPQNode* x4_pumpRoot;
CArchitectureQueue x8_localGatherQueue;
};
CHECK_SIZEOF(CIOWinManager, 0x20)
#endif // _CIOWINMANAGER