• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revision1aff6d6a6cf70eddb2d8fc4d4693f67fe1e8b5c6 (tree)
Time2013-12-22 20:18:40
Authordeskull <deskull@0568...>
Commiterdeskull

Log Message

Add Doxygen comment about artifact bias to define.h.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -543,40 +543,40 @@
543543 /*
544544 * Misc constants
545545 */
546-#define TOWN_DAWN 10000 /* Number of ticks from dawn to dawn XXX */
547-#define TURNS_PER_TICK 10L /* Number of energy-gain-turns per ticks */
548-#define MAX_DAYS 20000 /* Maximum days */
549-#define BREAK_GLYPH 550 /* Rune of protection resistance */
550-#define BREAK_MINOR_GLYPH 299 /* For explosive runes */
551-#define BTH_PLUS_ADJ 3 /* Adjust BTH per plus-to-hit */
552-#define MON_MULT_ADJ 8 /* High value slows multiplication */
553-#define MON_SUMMON_ADJ 2 /* Adjust level of summoned creatures */
554-#define MON_DRAIN_LIFE 2 /* Percent of player exp drained per hit */
555-#define USE_DEVICE 3 /* x> Harder devices x< Easier devices */
546+#define TOWN_DAWN 10000 /*!< 1日分のターン / Number of ticks from dawn to dawn XXX */
547+#define TURNS_PER_TICK 10L /*!< Number of energy-gain-turns per ticks */
548+#define MAX_DAYS 20000 /*!< 内部処理中で保持される最大日数 / Maximum days */
549+#define BREAK_GLYPH 550 /*!< 守りのルーンの強靭度 / Rune of protection resistance */
550+#define BREAK_MINOR_GLYPH 299 /*!< 爆発のルーンの発動しやすさ / For explosive runes */
551+#define BTH_PLUS_ADJ 3 /*!< Adjust BTH per plus-to-hit */
552+#define MON_MULT_ADJ 8 /*!< High value slows multiplication */
553+#define MON_SUMMON_ADJ 2 /*!< Adjust level of summoned creatures */
554+#define MON_DRAIN_LIFE 2 /*!< Percent of player exp drained per hit */
555+#define USE_DEVICE 3 /*!< x> Harder devices x< Easier devices */
556556
557557
558558 /* "Biases" for random artifact gen */
559559
560-#define BIAS_ELEC 1
561-#define BIAS_POIS 2
562-#define BIAS_FIRE 3
563-#define BIAS_COLD 4
564-#define BIAS_ACID 5
565-#define BIAS_STR 6
566-#define BIAS_INT 7
567-#define BIAS_WIS 8
568-#define BIAS_DEX 9
569-#define BIAS_CON 10
570-#define BIAS_CHR 11
571-#define BIAS_CHAOS 12
572-#define BIAS_PRIESTLY 13
573-#define BIAS_NECROMANTIC 14
574-#define BIAS_LAW 15
575-#define BIAS_ROGUE 16
576-#define BIAS_MAGE 17
577-#define BIAS_WARRIOR 18
578-#define BIAS_RANGER 19
579-#define MAX_BIAS 20
560+#define BIAS_ELEC 1 /*!< ランダムアーティファクトバイアス:電撃 */
561+#define BIAS_POIS 2 /*!< ランダムアーティファクトバイアス:毒 */
562+#define BIAS_FIRE 3 /*!< ランダムアーティファクトバイアス:火炎 */
563+#define BIAS_COLD 4 /*!< ランダムアーティファクトバイアス:冷気 */
564+#define BIAS_ACID 5 /*!< ランダムアーティファクトバイアス:酸 */
565+#define BIAS_STR 6 /*!< ランダムアーティファクトバイアス:腕力 */
566+#define BIAS_INT 7 /*!< ランダムアーティファクトバイアス:知力 */
567+#define BIAS_WIS 8 /*!< ランダムアーティファクトバイアス:賢さ */
568+#define BIAS_DEX 9 /*!< ランダムアーティファクトバイアス:器用さ */
569+#define BIAS_CON 10 /*!< ランダムアーティファクトバイアス:耐久 */
570+#define BIAS_CHR 11 /*!< ランダムアーティファクトバイアス:魅力 */
571+#define BIAS_CHAOS 12 /*!< ランダムアーティファクトバイアス:混沌 */
572+#define BIAS_PRIESTLY 13 /*!< ランダムアーティファクトバイアス:プリースト系 */
573+#define BIAS_NECROMANTIC 14 /*!< ランダムアーティファクトバイアス:死霊 */
574+#define BIAS_LAW 15 /*!< ランダムアーティファクトバイアス:法 */
575+#define BIAS_ROGUE 16 /*!< ランダムアーティファクトバイアス:盗賊系 */
576+#define BIAS_MAGE 17 /*!< ランダムアーティファクトバイアス:メイジ系 */
577+#define BIAS_WARRIOR 18 /*!< ランダムアーティファクトバイアス:戦士系 */
578+#define BIAS_RANGER 19 /*!< ランダムアーティファクトバイアス:レンジャー系 */
579+#define MAX_BIAS 20 /*!< ランダムアーティファクトバイアス:最大数 */
580580
581581 /*** Pet constants ***/
582582
Show on old repository browser