• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision69c95360d19ebabd7b827bf1e8d686f42ebd604b (tree)
Time2014-09-09 23:23:24
AuthorDeskull <desull@user...>
CommiterDeskull

Log Message

Add Doxygen comments to item test functions in wizard2.c.
wizard2.c のベースアイテム生成テスト関数に Doxygen コメントを追加。

Change Summary

Incremental Difference

--- a/src/wizard2.c
+++ b/src/wizard2.c
@@ -815,15 +815,16 @@ static int wiz_create_itemtype(void)
815815 }
816816
817817
818-/*
819- * Tweak an item
818+/*!
819+ * @briefアイテムの基礎能力値を調整する / Tweak an item
820+ * @param o_ptr 調整するアイテムの参照ポインタ
821+ * @return なし
820822 */
821823 static void wiz_tweak_item(object_type *o_ptr)
822824 {
823825 cptr p;
824826 char tmp_val[80];
825827
826-
827828 /* Hack -- leave artifacts alone */
828829 if (object_is_artifact(o_ptr)) return;
829830
@@ -853,8 +854,11 @@ static void wiz_tweak_item(object_type *o_ptr)
853854 }
854855
855856
856-/*
857+/*!
858+ * @brief アイテムの質を選択して再生成する /
857859 * Apply magic to an item or turn it into an artifact. -Bernd-
860+ * @param o_ptr 再生成の対象となるアイテム情報の参照ポインタ
861+ * @return なし
858862 */
859863 static void wiz_reroll_item(object_type *o_ptr)
860864 {
@@ -985,9 +989,11 @@ static void wiz_reroll_item(object_type *o_ptr)
985989
986990
987991
988-/*
992+/*!
993+ * @brief 検査対象のアイテムを基準とした生成テストを行う /
989994 * Try to create an item again. Output some statistics. -Bernd-
990- *
995+ * @param o_ptr 生成テストの基準となるアイテム情報の参照ポインタ
996+ * @return なし
991997 * The statistics are correct now. We acquire a clean grid, and then
992998 * repeatedly place an object in this grid, copying it into an item
993999 * holder, and then deleting the object. We fiddle with the artifact
Show on old repository browser