From 8cb23cdf84723596d7a45613f4aa3bb9260b2276 Mon Sep 17 00:00:00 2001 From: Deskull Date: Sun, 5 Oct 2014 21:19:57 +0900 Subject: [PATCH] =?utf8?q?=E8=87=AA=E5=8B=95=E6=8B=BE=E3=81=84/=E7=A0=B4?= =?utf8?q?=E5=A3=8A=E8=A8=AD=E5=AE=9A=E3=81=AE=E3=83=87=E3=83=BC=E3=82=BF?= =?utf8?q?=E3=83=99=E3=83=BC=E3=82=B9=E3=81=AB=E9=96=A2=E3=82=8F=E3=82=8B?= =?utf8?q?=E6=A7=8B=E9=80=A0=E4=BD=93=E3=82=84=E5=A4=89=E6=95=B0=E3=81=AB?= =?utf8?q?=E3=80=80Doxygen=E3=80=80=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88?= =?utf8?q?=E3=82=92=E4=BB=98=E5=8A=A0=E3=80=82=20/=20Add=20Doxygen=20comme?= =?utf8?q?nts=20to=20the=20structure=20and=20variables=20for=20auto-picker?= =?utf8?q?=20and=20destroyer.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/types.h | 17 +++++++++-------- src/variable.c | 8 ++++---- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/types.h b/src/types.h index 17d2c9924..060293e18 100644 --- a/src/types.h +++ b/src/types.h @@ -1633,16 +1633,17 @@ struct dungeon_info_type { }; -/* - * A structure type for entry of auto-picker/destroyer +/*! + * @struct autopick_type + * @brief 自動拾い/破壊設定データの構造体 / A structure type for entry of auto-picker/destroyer */ typedef struct { - cptr name; /* Items which have 'name' as part of its name match */ - cptr insc; /* Items will be auto-inscribed as 'insc' */ - u32b flag[2]; /* Misc. keyword to be matched */ - byte action; /* Auto-pickup or Destroy or Leave items */ - byte dice; /* Weapons which have more than 'dice' dice match */ - byte bonus; /* Items which have more than 'bonus' magical bonus match */ + cptr name; /*!< 自動拾い/破壊定義の名称一致基準 / Items which have 'name' as part of its name match */ + cptr insc; /*!< 対象となったアイテムに自動で刻む内容 / Items will be auto-inscribed as 'insc' */ + u32b flag[2]; /*!< キーワードに関する汎用的な条件フラグ / Misc. keyword to be matched */ + byte action; /*!< 対象のアイテムを拾う/破壊/放置するかの指定フラグ / Auto-pickup or Destroy or Leave items */ + byte dice; /*!< 武器のダイス値基準値 / Weapons which have more than 'dice' dice match */ + byte bonus; /*!< アイテムのボーナス基準値 / Items which have more than 'bonus' magical bonus match */ } autopick_type; diff --git a/src/variable.c b/src/variable.c index e29519a9c..f10bf7b43 100644 --- a/src/variable.c +++ b/src/variable.c @@ -37,11 +37,11 @@ int level_up = 0; /*!< レベルアップの際に遅延してcalc_mana()関数 /* - * List for auto-picker/destroyer entries + * 自動拾い/破壊設定のリストに関する変数 / List for auto-picker/destroyer entries */ -int max_autopick = 0; -int max_max_autopick = 0; -autopick_type *autopick_list = NULL; +int max_autopick = 0; /*!< 現在登録している自動拾い/破壊設定の数 */ +int max_max_autopick = 0; /*!< 自動拾い/破壊設定の限界数 */ +autopick_type *autopick_list = NULL; /*!< 自動拾い/破壊設定構造体のポインタ配列 */ /* * Savefile version -- 2.11.0