From 03eb86b1186f69e1e87366b1ed5e59556fa9d231 Mon Sep 17 00:00:00 2001 From: Siddharth singh chouhan <63919605+Sid672@users.noreply.github.com> Date: Wed, 1 Sep 2021 15:30:45 +0530 Subject: [PATCH] Move documentation from implementations to declarations #2735 --- Source/town.cpp | 10 ---------- Source/town.h | 12 ++++++++++++ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Source/town.cpp b/Source/town.cpp index 435c9f8f3..bbdc9e1a5 100644 --- a/Source/town.cpp +++ b/Source/town.cpp @@ -200,9 +200,6 @@ void DrlgTPass3() } // namespace -/** - * @brief Update the map to show the open hive - */ void TownOpenHive() { dPiece[78][60] = 0x48a; @@ -254,9 +251,6 @@ void TownOpenHive() SetDungeonMicros(); } -/** - * @brief Update the map to show the open grave - */ void TownOpenGrave() { dPiece[36][21] = 0x533; @@ -272,10 +266,6 @@ void TownOpenGrave() SetDungeonMicros(); } -/** - * @brief Initialize town level - * @param entry Methode of entry - */ void CreateTown(lvl_entry entry) { dminx = 10; diff --git a/Source/town.h b/Source/town.h index 71f0b109c..d548d3c07 100644 --- a/Source/town.h +++ b/Source/town.h @@ -10,8 +10,20 @@ namespace devilution { +/** + * @brief Update the map to show the open hive + */ void TownOpenHive(); + +/** + * @brief Update the map to show the open grave + */ void TownOpenGrave(); + +/** + * @brief Initialize town level + * @param entry Method of entry + */ void CreateTown(lvl_entry entry); } // namespace devilution