• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision2e16d579f544fd958ba49355336fc0b714bcf8d7 (tree)
Time2019-06-08 20:46:31
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 MESSAGE_BUF, MESSAGE_MAX を util.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -38,20 +38,6 @@
3838 * You have been warned.\n
3939 */
4040
41-/*
42- * OPTION: Maximum number of messages to remember (see "io.c")
43- * Default: assume maximal memorization of 2048 total messages
44- */
45-#define MESSAGE_MAX 81920
46-
47-/*
48- * OPTION: Maximum space for the message text buffer (see "io.c")
49- * Default: assume that each of the 2048 messages is repeated an
50- * average of three times, and has an average length of 48
51- */
52-#define MESSAGE_BUF 655360
53-
54-
5541 /*** Screen Locations ***/
5642
5743 /*
--- a/src/util.h
+++ b/src/util.h
@@ -247,7 +247,18 @@ extern concptr keymap_act[KEYMAP_MODES][256];
247247 */
248248 #define QUARK_MAX 768
249249
250+/*
251+ * OPTION: Maximum number of messages to remember (see "io.c")
252+ * Default: assume maximal memorization of 2048 total messages
253+ */
254+#define MESSAGE_MAX 81920
250255
256+/*
257+ * OPTION: Maximum space for the message text buffer (see "io.c")
258+ * Default: assume that each of the 2048 messages is repeated an
259+ * average of three times, and has an average length of 48
260+ */
261+#define MESSAGE_BUF 655360
251262
252263 /*
253264 * Hack -- The main "screen"
Show on old repository browser