• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision29bdb3eb00e46683e70292487efd051a09ea27f7 (tree)
Time2019-06-05 23:41:55
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

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

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -265,8 +265,6 @@
265265 #define MAX_MACRO_MOD 12
266266 #define MAX_MACRO_TRIG 200 /*!< 登録を許すマクロ(トリガー)の最大数 */
267267
268-/* Max size of screen dump buffer */
269-#define SCREEN_BUF_MAX_SIZE (4 * 65536)
270268
271269 #define MTIMED_CSLEEP 0 /* Monster is sleeping */
272270 #define MTIMED_FAST 1 /* Monster is temporarily fast */
--- a/src/load.c
+++ b/src/load.c
@@ -90,7 +90,6 @@
9090 */
9191 #define MAX_TRIES 100
9292
93-
9493 /*
9594 * Local "savefile" pointer
9695 */
--- a/src/util.h
+++ b/src/util.h
@@ -13,6 +13,8 @@ extern int PlayerUID;
1313 #define KEYMAP_MODE_ROGUE 1 /*!< ローグライクキー配置 / Mode for roguelike keyset commands */
1414 #define KEYMAP_MODES 2 /*!< キー配置の数 / Number of keymap modes */
1515
16+#define SCREEN_BUF_MAX_SIZE (4 * 65536) /*!< Max size of screen dump buffer */
17+
1618 /*
1719 * Sort-array element
1820 */
Show on old repository browser