prime/include/MetroidPrime/CIOWinManager.hpp

32 lines
585 B
C++
Raw Normal View History

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