metaforce/Runtime/AutoMapper/CMapArea.hpp

38 lines
934 B
C++
Raw Normal View History

2016-07-29 17:00:23 +00:00
#ifndef __URDE_CMAPAREA_HPP__
#define __URDE_CMAPAREA_HPP__
#include "RetroTypes.hpp"
#include "zeus/CAABox.hpp"
#include "zeus/CVector3f.hpp"
namespace urde
{
class CMapArea
{
public:
class CMapAreaSurface
{
public:
void PostConstruct(const void*);
void Draw(const zeus::CVector3f*, const zeus::CColor&, const zeus::CColor&, float) const;
const zeus::CVector3f& GetNormal() const;
const zeus::CVector3f& GetCenterPosition() const;
};
private:
public:
CMapArea(CInputStream&, uint);
void PostConstruct();
bool GetIsVisibleToAutoMapper(bool, bool) const;
zeus::CVector3f GetAreaCenterPoint() const;
zeus::CAABox GetBoundingBox() const;
const zeus::CVector3f& GetVertices() const;
void GetMappableObject(s32) const;
void GetSurface(s32) const;
u32 GetNumMappableObjects() const;
u32 GetNumSurfaces() const;
};
}
#endif // __URDE_CMAPAREA_HPP__