OSDN Git Service

Add Doxygen comment to cmd6.c.
authordeskull <deskull@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 27 Jan 2014 12:02:03 +0000 (12:02 +0000)
committerdeskull <deskull@0568b783-4c39-0410-ac80-bf13821ea2a2>
Mon, 27 Jan 2014 12:02:03 +0000 (12:02 +0000)
src/cmd6.c

index ef474aa..5f74aae 100644 (file)
@@ -3457,7 +3457,15 @@ void do_cmd_aim_wand(void)
        do_cmd_aim_wand_aux(item);
 }
 
-
+/*!
+ * @brief ¥í¥Ã¥É¤Î¸ú²Ì¤òȯư¤¹¤ë
+ * @param sval ¥ª¥Ö¥¸¥§¥¯¥È¤Îsval
+ * @param dir È¯Æ°ÌÜɸ¤ÎÊý¸þID
+ * @param use_charge ¥Á¥ã¡¼¥¸¤ò¾ÃÈñ¤·¤¿¤«¤É¤¦¤«¤òÊÖ¤¹»²¾È¥Ý¥¤¥ó¥¿
+ * @param powerful ¶¯ÎÏȯư¾å¤Î½èÍý¤Ê¤é¤ÐTRUE
+ * @param magic ËâÆ»¶ñ½Ñ¾å¤Î½èÍý¤Ê¤é¤ÐTRUE
+ * @return È¯Æ°¤Ë¤è¤ê¸ú²ÌÆâÍƤ¬³ÎÄꤷ¤¿¤Ê¤é¤ÐTRUE¤òÊÖ¤¹
+ */
 static int rod_effect(int sval, int dir, bool *use_charge, bool powerful, bool magic)
 {
        int ident = FALSE;
@@ -3706,15 +3714,18 @@ static int rod_effect(int sval, int dir, bool *use_charge, bool powerful, bool m
        return ident;
 }
 
-/*
+/*!
+ * @brief ËâË¡ËÀ¤ò»È¤¦¥³¥Þ¥ó¥É¤Î¥µ¥Ö¥ë¡¼¥Á¥ó / 
  * Activate (zap) a Rod
- *
+ * @param item »È¤¦¥ª¥Ö¥¸¥§¥¯¥È¤Î½ê»ýÉÊID
+ * @return ¤Ê¤·
+ * @details
+ * <pre>
  * Unstack fully charged rods as needed.
- *
  * Hack -- rods of perception/genocide can be "cancelled"
  * All rods can be cancelled at the "Direction?" prompt
- *
  * pvals are defined for each rod in k_info. -LM-
+ * </pre>
  */
 static void do_cmd_zap_rod_aux(int item)
 {
@@ -3879,7 +3890,10 @@ msg_print("
        p_ptr->window |= (PW_INVEN | PW_EQUIP | PW_PLAYER);
 }
 
-
+/*!
+ * @brief ¥í¥Ã¥É¤ò»È¤¦¥³¥Þ¥ó¥É¤Î¥á¥¤¥ó¥ë¡¼¥Á¥ó /
+ * @return ¤Ê¤·
+ */
 void do_cmd_zap_rod(void)
 {
        int item;
@@ -3908,9 +3922,11 @@ void do_cmd_zap_rod(void)
        do_cmd_zap_rod_aux(item);
 }
 
-
-/*
+/*!
+ * @brief ¥ª¥Ö¥¸¥§¥¯¥È¤ò¥×¥ì¥¤¥ä¡¼¤¬ËâÆ»¶ñ¤È¤·¤Æȯư¤Ç¤­¤ë¤«¤òȽÄꤹ¤ë /
  * Hook to determine if an object is activatable
+ * @param o_ptr È½Äꤷ¤¿¤¤¥ª¥Ö¥¸¥§¥¯¥È¤Î¹½Â¤Âλ²¾È¥Ý¥¤¥ó¥¿
+ * @return ËâÆ»¶ñ¤È¤·¤Æȯư²Äǽ¤Ê¤é¤ÐTRUE¤òÊÖ¤¹
  */
 static bool item_tester_hook_activate(object_type *o_ptr)
 {