From a931413af48c2fc2ae054ad809c6b050b078a507 Mon Sep 17 00:00:00 2001 From: Deskull Date: Wed, 3 Sep 2014 22:51:30 +0900 Subject: [PATCH] =?utf8?q?Add=20Doxygen=20comments=20to=20some=20functions?= =?utf8?q?=20for=20calculation=20of=20player=20status=20in=20xtra1.c.=20xt?= =?utf8?q?ra1.c=20=E3=81=AB=E5=AD=98=E5=9C=A8=E3=81=99=E3=82=8B=E3=83=97?= =?utf8?q?=E3=83=AC=E3=82=A4=E3=83=A4=E3=83=BC=E3=82=B9=E3=83=86=E3=83=BC?= =?utf8?q?=E3=82=BF=E3=82=B9=E7=AE=97=E5=87=BA=E9=96=A2=E6=95=B0=E3=81=AE?= =?utf8?q?=E3=81=84=E3=81=8F=E3=81=A4=E3=81=8B=E3=81=AB=20Doxygen=20?= =?utf8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E3=82=92=E4=BB=98=E5=8A=A0?= =?utf8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/xtra1.c | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/src/xtra1.c b/src/xtra1.c index 122605359..2ddba5bc0 100644 --- a/src/xtra1.c +++ b/src/xtra1.c @@ -2185,10 +2185,13 @@ static void fix_object(void) } -/* + +/*! + * @briefs プレイヤーの現在学習可能な魔法数を計算し、増減に応じて魔法の忘却、再学習を処置する。 / * Calculate number of spells player should have, and forget, * or remember, spells until that number is properly reflected. - * + * @return なし + * @details * Note that this function induces various "status" messages, * which must be bypasses until the character is created. */ @@ -2537,11 +2540,12 @@ static void calc_spells(void) } } - -/* +/*! + * @briefs プレイヤーの最大MPを計算する / * Calculate maximum mana. You do not need to know any spells. * Note that mana is lowered by heavy (or inappropriate) armor. - * + * @return なし + * @details * This function induces status messages. */ static void calc_mana(void) @@ -2856,9 +2860,12 @@ static void calc_mana(void) -/* +/*! + * @briefs プレイヤーの最大HPを計算する / * Calculate the players (maximal) hit points * Adjust current hitpoints if necessary + * @return なし + * @details */ static void calc_hitpoints(void) { @@ -2937,13 +2944,11 @@ static void calc_hitpoints(void) } } - - -/* - * Extract and set the current "lite radius" - * +/*! + * @brief プレイヤーの光源半径を計算する / Extract and set the current "lite radius" + * @return なし + * @details * SWD: Experimental modification: multiple light sources have additive effect. - * */ static void calc_torch(void) { -- 2.11.0