2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-15 12:31:21 +00:00
metaforce/Runtime/AutoMapper/CMapWorldInfo.hpp
2016-09-24 15:58:54 -10:00

29 lines
677 B
C++

#ifndef __URDE_CMAPWORLDINFO_HPP__
#define __URDE_CMAPWORLDINFO_HPP__
#include "RetroTypes.hpp"
namespace urde
{
class CSaveWorld;
class CMapWorldInfo
{
std::vector<u32> x4_visitedAreas;
std::map<TEditorId, bool> x14_;
std::vector<u32> x18_visitedAreas;
public:
CMapWorldInfo()=default;
CMapWorldInfo(CBitStreamReader&, const CSaveWorld& saveWorld, ResId mlvlId);
void PutTo(COutputStream&);
bool IsMapped() const;
void SetIsMapped(bool) const;
void SetDoorVisited(TEditorId eid, bool val);
bool IsDoorVisited() const;
bool IsAreaVisted(TAreaId);
void SetAreaVisited(TAreaId, bool);
};
}
#endif // __URDE_CMAPWORLDINFO_HPP__