echoes/include/MetroidPrime/CWorld.hpp
Henrique Gemignani Passos Lima ab1502f761
Initial work for CStateManager
2023-08-26 22:45:41 +03:00

26 lines
553 B
C++

#ifndef _CWORLD
#define _CWORLD
#include "MetroidPrime/TGameTypes.hpp"
#include "rstl/auto_ptr.hpp"
#include "rstl/vector.hpp"
class CGameArea;
class CWorld {
public:
const CGameArea& GetAreaAlways(TAreaId id) const { return *m_areas[id.Value()]; }
CGameArea* Area(TAreaId id) { return m_areas[id.Value()].get(); }
const CGameArea* GetArea(TAreaId id) const { return m_areas[id.Value()].get(); }
void SetLoadPauseState(bool);
private:
char pad1[0x18];
rstl::vector< rstl::auto_ptr< CGameArea > > m_areas; // x18
};
#endif // _CWORLD