変愚蛮怒のメインリポジトリです
Revision | 69c95360d19ebabd7b827bf1e8d686f42ebd604b (tree) |
---|---|
Time | 2014-09-09 23:23:24 |
Author | Deskull <desull@user...> |
Commiter | Deskull |
Add Doxygen comments to item test functions in wizard2.c.
wizard2.c のベースアイテム生成テスト関数に Doxygen コメントを追加。
@@ -815,15 +815,16 @@ static int wiz_create_itemtype(void) | ||
815 | 815 | } |
816 | 816 | |
817 | 817 | |
818 | -/* | |
819 | - * Tweak an item | |
818 | +/*! | |
819 | + * @briefアイテムの基礎能力値を調整する / Tweak an item | |
820 | + * @param o_ptr 調整するアイテムの参照ポインタ | |
821 | + * @return なし | |
820 | 822 | */ |
821 | 823 | static void wiz_tweak_item(object_type *o_ptr) |
822 | 824 | { |
823 | 825 | cptr p; |
824 | 826 | char tmp_val[80]; |
825 | 827 | |
826 | - | |
827 | 828 | /* Hack -- leave artifacts alone */ |
828 | 829 | if (object_is_artifact(o_ptr)) return; |
829 | 830 |
@@ -853,8 +854,11 @@ static void wiz_tweak_item(object_type *o_ptr) | ||
853 | 854 | } |
854 | 855 | |
855 | 856 | |
856 | -/* | |
857 | +/*! | |
858 | + * @brief アイテムの質を選択して再生成する / | |
857 | 859 | * Apply magic to an item or turn it into an artifact. -Bernd- |
860 | + * @param o_ptr 再生成の対象となるアイテム情報の参照ポインタ | |
861 | + * @return なし | |
858 | 862 | */ |
859 | 863 | static void wiz_reroll_item(object_type *o_ptr) |
860 | 864 | { |
@@ -985,9 +989,11 @@ static void wiz_reroll_item(object_type *o_ptr) | ||
985 | 989 | |
986 | 990 | |
987 | 991 | |
988 | -/* | |
992 | +/*! | |
993 | + * @brief 検査対象のアイテムを基準とした生成テストを行う / | |
989 | 994 | * Try to create an item again. Output some statistics. -Bernd- |
990 | - * | |
995 | + * @param o_ptr 生成テストの基準となるアイテム情報の参照ポインタ | |
996 | + * @return なし | |
991 | 997 | * The statistics are correct now. We acquire a clean grid, and then |
992 | 998 | * repeatedly place an object in this grid, copying it into an item |
993 | 999 | * holder, and then deleting the object. We fiddle with the artifact |