mirror of https://github.com/AxioDL/metaforce.git
CMapWorld: Provide parameter names in header for functions
Makes it more self-documenting from the interface alone and also allows IDE inspections to be more convenient.
This commit is contained in:
parent
1fa74087fc
commit
6077814a0e
|
@ -142,21 +142,23 @@ private:
|
||||||
float x40_worldSphereHalfDepth = 0.f;
|
float x40_worldSphereHalfDepth = 0.f;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CMapWorld(CInputStream&);
|
explicit CMapWorld(CInputStream& in);
|
||||||
u32 GetNumAreas() const { return x0_areas.size(); }
|
u32 GetNumAreas() const { return x0_areas.size(); }
|
||||||
const CMapArea* GetMapArea(int aid) const { return x0_areas[aid].GetMapArea(); }
|
const CMapArea* GetMapArea(int aid) const { return x0_areas[aid].GetMapArea(); }
|
||||||
bool IsMapAreaInBFSInfoVector(const CMapAreaData*, const std::vector<CMapAreaBFSInfo>&) const;
|
bool IsMapAreaInBFSInfoVector(const CMapAreaData* area, const std::vector<CMapAreaBFSInfo>& vec) const;
|
||||||
void SetWhichMapAreasLoaded(const IWorld&, int start, int count);
|
void SetWhichMapAreasLoaded(const IWorld& wld, int start, int count);
|
||||||
bool IsMapAreasStreaming() const;
|
bool IsMapAreasStreaming() const;
|
||||||
void MoveMapAreaToList(CMapAreaData*, EMapAreaList);
|
void MoveMapAreaToList(CMapAreaData* data, EMapAreaList list);
|
||||||
s32 GetCurrentMapAreaDepth(const IWorld&, int areaIdx);
|
s32 GetCurrentMapAreaDepth(const IWorld& wld, TAreaId aid);
|
||||||
std::vector<int> GetVisibleAreas(const IWorld&, const CMapWorldInfo&) const;
|
std::vector<int> GetVisibleAreas(const IWorld& wld, const CMapWorldInfo& mwInfo) const;
|
||||||
void Draw(const CMapWorldDrawParms&, int, int, float, float, bool);
|
void Draw(const CMapWorldDrawParms& parms, int curArea, int otherArea, float depth1, float depth2, bool inMapScreen);
|
||||||
void DoBFS(const IWorld&, int, int, float, float, bool, std::vector<CMapAreaBFSInfo>&);
|
void DoBFS(const IWorld& wld, int startArea, int areaCount, float surfDepth, float outlineDepth, bool checkLoad,
|
||||||
bool IsMapAreaValid(const IWorld&, int, bool) const;
|
std::vector<CMapAreaBFSInfo>& bfsInfos);
|
||||||
void DrawAreas(const CMapWorldDrawParms&, int, const std::vector<CMapAreaBFSInfo>&, bool) const;
|
bool IsMapAreaValid(const IWorld& wld, int areaIdx, bool checkLoad) const;
|
||||||
void RecalculateWorldSphere(const CMapWorldInfo&, const IWorld&);
|
void DrawAreas(const CMapWorldDrawParms& parms, int selArea, const std::vector<CMapAreaBFSInfo>& bfsInfos,
|
||||||
zeus::CVector3f ConstrainToWorldVolume(const zeus::CVector3f&, const zeus::CVector3f&) const;
|
bool inMapScreen) const;
|
||||||
|
void RecalculateWorldSphere(const CMapWorldInfo& mwInfo, const IWorld& wld);
|
||||||
|
zeus::CVector3f ConstrainToWorldVolume(const zeus::CVector3f& point, const zeus::CVector3f& lookVec) const;
|
||||||
void ClearTraversedFlags();
|
void ClearTraversedFlags();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue