CMapWorldInfo: Name all function prototype parameters

Same thing but is more consistent and allows IDEs to do better parameter
introspection.
This commit is contained in:
Lioncash 2020-04-10 13:25:44 -04:00
parent f74c2d446f
commit 8e263ff11b
1 changed files with 8 additions and 8 deletions

View File

@ -18,17 +18,17 @@ class CMapWorldInfo {
public: public:
CMapWorldInfo() = default; CMapWorldInfo() = default;
explicit CMapWorldInfo(CBitStreamReader&, const CSaveWorld& saveWorld, CAssetId mlvlId); explicit CMapWorldInfo(CBitStreamReader& reader, const CSaveWorld& saveWorld, CAssetId mlvlId);
void PutTo(CBitStreamWriter& writer, const CSaveWorld& savw, CAssetId mlvlId) const; void PutTo(CBitStreamWriter& writer, const CSaveWorld& savw, CAssetId mlvlId) const;
bool IsMapped(TAreaId) const; bool IsMapped(TAreaId aid) const;
void SetIsMapped(TAreaId, bool); void SetIsMapped(TAreaId aid, bool mapped);
void SetDoorVisited(TEditorId eid, bool val); void SetDoorVisited(TEditorId eid, bool val);
bool IsDoorVisited(TEditorId eid) const; bool IsDoorVisited(TEditorId eid) const;
bool IsAreaVisited(TAreaId) const; bool IsAreaVisited(TAreaId aid) const;
void SetAreaVisited(TAreaId, bool); void SetAreaVisited(TAreaId aid, bool visited);
bool IsWorldVisible(TAreaId) const; bool IsWorldVisible(TAreaId aid) const;
bool IsAreaVisible(TAreaId) const; bool IsAreaVisible(TAreaId aid) const;
bool IsAnythingSet() const; bool IsAnythingSet() const;
void SetMapStationUsed(bool val) { x38_mapStationUsed = val; } void SetMapStationUsed(bool isUsed) { x38_mapStationUsed = isUsed; }
}; };
} // namespace urde } // namespace urde