OSDN Git Service

Add Doxygen comment to bldg.c.
authordeskull <deskull@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 27 Dec 2013 14:45:18 +0000 (14:45 +0000)
committerdeskull <deskull@0568b783-4c39-0410-ac80-bf13821ea2a2>
Fri, 27 Dec 2013 14:45:18 +0000 (14:45 +0000)
src/bldg.c

index 452d447..28bdcba 100644 (file)
@@ -3417,12 +3417,24 @@ static u32b calc_expect_dice(u32b dam, int mult, int div, bool force, int weight
        return dam;
 }
 
-/*
- * Display the damage figure of an object
- * (used by compare_weapon_aux)
- *
- * Only accurate for the current weapon, because it includes
- * the current +dam of the player.
+
+/*!
+ * @brief Éð´ï¤Î³Æ¾ò·ïËè¤Î¥À¥á¡¼¥¸´üÂÔÃͤòɽ¼¨¤¹¤ë¡£
+ * @param r É½¼¨¹Ô
+ * @param c É½¼¨Îó
+ * @param mindice ¥À¥¤¥¹ÉôʬºÇ¾®ÃÍ
+ * @param maxdice ¥À¥¤¥¹ÉôʬºÇÂçÃÍ
+ * @param blows ¹¶·â²ó¿ô
+ * @param dam_bonus ¥À¥á¡¼¥¸½¤ÀµÃÍ
+ * @param attr ¾ò·ïÆâÍÆ
+ * @param color ¾ò·ïÆâÍƤÎɽ¼¨¿§
+ * @details
+ * Display the damage figure of an object\n
+ * (used by compare_weapon_aux)\n
+ * \n
+ * Only accurate for the current weapon, because it includes\n
+ * the current +dam of the player.\n
+ * @return ¤Ê¤·
  */
 static void show_weapon_dmg(int r, int c, int mindice, int maxdice, int blows, int dam_bonus, cptr attr, byte color)
 {
@@ -3448,11 +3460,17 @@ static void show_weapon_dmg(int r, int c, int mindice, int maxdice, int blows, i
 }
 
 
-/*
- * Show the damage figures for the various monster types
- *
- * Only accurate for the current weapon, because it includes
- * the current number of blows for the player.
+/*!
+ * @brief Éð´ï°ì¤ÄËè¤Î¥À¥á¡¼¥¸¾ðÊó¤òɽ¼¨¤¹¤ë¡£
+ * @param o_ptr ¥ª¥Ö¥¸¥§¥¯¥È¤Î¹½Â¤ÂΤλ²¾È¥Ý¥¤¥ó¥¿¡£
+ * @param col É½¼¨¤¹¤ë¹Ô¤Î¾åü
+ * @param r É½¼¨¤¹¤ëÎó¤Îº¸Ã¼
+ * @details
+ * Show the damage figures for the various monster types\n
+ * \n
+ * Only accurate for the current weapon, because it includes\n
+ * the current number of blows for the player.\n
+ * @return ¤Ê¤·
  */
 static void compare_weapon_aux(object_type *o_ptr, int col, int r)
 {
@@ -3656,6 +3674,12 @@ static void compare_weapon_aux(object_type *o_ptr, int col, int r)
        }
 }
 
+/*!
+ * @brief ¥â¥ó¥¹¥¿¡¼¤Ø¤ÎÌ¿ÃæΨ¤Î·×»»
+ * @param to_h Ì¿ÃæÃÍ
+ * @param ac ŨAC
+ * @return ¤Ê¤·
+ */
 static int hit_chance(int to_h, int ac)
 {
        int chance = 0;
@@ -3672,7 +3696,12 @@ static int hit_chance(int to_h, int ac)
        return chance;
 }
 
-/*
+/*!
+ * @brief Éð´ï¾¢¤Ë¤ª¤±¤ëÉð´ï°ì¤ÄËè¤Î´°Á´¾ðÊó¤òɽ¼¨¤¹¤ë¡£
+ * @param o_ptr ¥ª¥Ö¥¸¥§¥¯¥È¤Î¹½Â¤ÂΤλ²¾È¥Ý¥¤¥ó¥¿¡£
+ * @param row É½¼¨¤¹¤ëÎó¤Îº¸Ã¼
+ * @param col É½¼¨¤¹¤ë¹Ô¤Î¾åü
+ * @details
  * Displays all info about a weapon
  *
  * Only accurate for the current weapon, because it includes