• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision5c2e97abf6083e84e57b82656033c1a10e2c84ac (tree)
Time2019-06-08 20:43:39
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 QUARK_MAX を util.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -38,14 +38,6 @@
3838 * You have been warned.\n
3939 */
4040
41-/*!
42- * @brief 銘情報の最大数 / Maximum number of "quarks" (see "io.c")
43- * @note
44- * Default: assume at most 512 different inscriptions are used<br>
45- * Was 512... 256 quarks added for random artifacts<br>
46- */
47-#define QUARK_MAX 768
48-
4941 /*
5042 * OPTION: Maximum number of messages to remember (see "io.c")
5143 * Default: assume maximal memorization of 2048 total messages
--- a/src/util.h
+++ b/src/util.h
@@ -234,11 +234,20 @@ extern concptr keymap_act[KEYMAP_MODES][256];
234234 #define SOUND_GLASS 65 /*!< A glass feature was crashed */
235235 #define SOUND_REFLECT 66 /*!< A bolt was reflected */
236236
237- /*
238- * Mega-Hack -- maximum known sounds
239- */
237+/*
238+ * Mega-Hack -- maximum known sounds
239+ */
240240 #define SOUND_MAX 67 /*!< 効果音定義の最大数 */
241241
242+/*!
243+ * @brief 銘情報の最大数 / Maximum number of "quarks" (see "io.c")
244+ * @note
245+ * Default: assume at most 512 different inscriptions are used<br>
246+ * Was 512... 256 quarks added for random artifacts<br>
247+ */
248+#define QUARK_MAX 768
249+
250+
242251
243252 /*
244253 * Hack -- The main "screen"
Show on old repository browser