• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision687f2858ff72313629beb23c9ab7b9a43c8a6fc0 (tree)
Time2019-06-07 01:39:51
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 マクロ最大数定義を util.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -153,13 +153,6 @@
153153
154154 #define DUNGEON_FEAT_PROB_NUM 3
155155
156-/*
157- * Max numbers of macro trigger names
158- */
159-#define MAX_MACRO_MOD 12
160-#define MAX_MACRO_TRIG 200 /*!< 登録を許すマクロ(トリガー)の最大数 */
161-
162-
163156 #define MTIMED_CSLEEP 0 /* Monster is sleeping */
164157 #define MTIMED_FAST 1 /* Monster is temporarily fast */
165158 #define MTIMED_SLOW 2 /* Monster is temporarily slow */
--- a/src/util.h
+++ b/src/util.h
@@ -22,6 +22,12 @@ extern int PlayerUID;
2222 #define CHEAT_MISC 3
2323
2424 /*
25+ * Max numbers of macro trigger names
26+ */
27+#define MAX_MACRO_MOD 12
28+#define MAX_MACRO_TRIG 200 /*!< 登録を許すマクロ(トリガー)の最大数 */
29+
30+ /*
2531 * Sort-array element
2632 */
2733 typedef struct tag_type tag_type;
Show on old repository browser