• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision4442b02818c5d6296261e80a0f49d73d75dd5607 (tree)
Time2019-06-08 20:41:18
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 MACRO_MAX を init.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -39,12 +39,6 @@
3939 */
4040
4141 /*!
42- * @brief マクロ登録の最大数 / Maximum number of macros (see "io.c")
43- * @note Default: assume at most 256 macros are used
44- */
45-#define MACRO_MAX 256
46-
47-/*!
4842 * @brief 銘情報の最大数 / Maximum number of "quarks" (see "io.c")
4943 * @note
5044 * Default: assume at most 512 different inscriptions are used<br>
--- a/src/init.h
+++ b/src/init.h
@@ -53,6 +53,13 @@ typedef errr (*parse_info_txt_func)(char *buf, header *head);
5353 #define VER_INFO_ROW 3 //!< タイトル表記(行)
5454
5555 /*!
56+ * @brief マクロ登録の最大数 / Maximum number of macros (see "io.c")
57+ * @note Default: assume at most 256 macros are used
58+ */
59+#define MACRO_MAX 256
60+
61+
62+/*!
5663 * @struct header
5764 * @brief 各初期データ用ヘッダ構造体 / Template file header information (see "init.c"). 16 bytes.
5865 * @details
Show on old repository browser