• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision047c3efaf5e04c6f0c3e1d0b8d384073a94f9845 (tree)
Time2019-06-06 22:42:23
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 SCREEN_HGT と SCREEN_WID を floor.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -38,19 +38,6 @@
3838 * You have been warned.\n
3939 */
4040
41-
42-/*!
43- * @brief 表示上の基本的なブロック単位(垂直方向、PANEL_HGTの倍数で設定すること)
44- * Number of grids used to display the dungeon (vertically). Must be a multiple of 11, probably hard-coded to 22.
45- */
46-#define SCREEN_HGT 22
47-
48-/*!
49- * @brief 表示上の基本的なブロック単位(水平方向、PANEL_WIDの倍数で設定すること)
50- * Number of grids used to display the dungeon (horizontally). Must be a multiple of 33, probably hard-coded to 66.
51- */
52-#define SCREEN_WID 66
53-
5441 /*
5542 * Arena constants
5643 */
--- a/src/floor.h
+++ b/src/floor.h
@@ -26,6 +26,18 @@
2626 #define BLOCK_WID 11
2727
2828 /*!
29+ * @brief 表示上の基本的なブロック単位(垂直方向、PANEL_HGTの倍数で設定すること)
30+ * Number of grids used to display the dungeon (vertically). Must be a multiple of 11, probably hard-coded to 22.
31+ */
32+#define SCREEN_HGT 22
33+
34+/*!
35+ * @brief 表示上の基本的なブロック単位(水平方向、PANEL_WIDの倍数で設定すること)
36+ * Number of grids used to display the dungeon (horizontally). Must be a multiple of 33, probably hard-coded to 66.
37+ */
38+#define SCREEN_WID 66
39+
40+/*!
2941 * @brief 表示上のダンジョンの最大垂直サイズ(SCREEN_HGTの3倍が望ましい)
3042 * Maximum dungeon height in grids, must be a multiple of SCREEN_HGT, probably hard-coded to SCREEN_HGT * 3.
3143 */
Show on old repository browser