From 8e263ff11b930b3999d81c403f83364d914f30fd Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 10 Apr 2020 13:25:44 -0400 Subject: [PATCH] CMapWorldInfo: Name all function prototype parameters Same thing but is more consistent and allows IDEs to do better parameter introspection. --- Runtime/AutoMapper/CMapWorldInfo.hpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Runtime/AutoMapper/CMapWorldInfo.hpp b/Runtime/AutoMapper/CMapWorldInfo.hpp index 7a468cd37..69ac18b65 100644 --- a/Runtime/AutoMapper/CMapWorldInfo.hpp +++ b/Runtime/AutoMapper/CMapWorldInfo.hpp @@ -18,17 +18,17 @@ class CMapWorldInfo { public: 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; - bool IsMapped(TAreaId) const; - void SetIsMapped(TAreaId, bool); + bool IsMapped(TAreaId aid) const; + void SetIsMapped(TAreaId aid, bool mapped); void SetDoorVisited(TEditorId eid, bool val); bool IsDoorVisited(TEditorId eid) const; - bool IsAreaVisited(TAreaId) const; - void SetAreaVisited(TAreaId, bool); - bool IsWorldVisible(TAreaId) const; - bool IsAreaVisible(TAreaId) const; + bool IsAreaVisited(TAreaId aid) const; + void SetAreaVisited(TAreaId aid, bool visited); + bool IsWorldVisible(TAreaId aid) const; + bool IsAreaVisible(TAreaId aid) const; bool IsAnythingSet() const; - void SetMapStationUsed(bool val) { x38_mapStationUsed = val; } + void SetMapStationUsed(bool isUsed) { x38_mapStationUsed = isUsed; } }; } // namespace urde