• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision8ef3ad25ac75e683f7e336113a3955dd97b49744 (tree)
Time2019-04-04 23:46:09
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 OPT_PAGE_* を、gameoption.hへ移動。

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -2657,20 +2657,6 @@
26572657 (player_can_see_bold((A)->fy, (A)->fx) && projectable(p_ptr->y, p_ptr->x, (A)->fy, (A)->fx)))))
26582658
26592659
2660-/*** Option Definitions ***/
2661-
2662-
2663-#define OPT_PAGE_INPUT 1
2664-#define OPT_PAGE_MAPSCREEN 2
2665-#define OPT_PAGE_TEXT 3
2666-#define OPT_PAGE_GAMEPLAY 4
2667-#define OPT_PAGE_DISTURBANCE 5
2668-#define OPT_PAGE_BIRTH 6
2669-#define OPT_PAGE_AUTODESTROY 7
2670-#define OPT_PAGE_PLAYRECORD 10
2671-
2672-#define OPT_PAGE_JAPANESE_ONLY 99
2673-
26742660
26752661 /*** Macro Definitions ***/
26762662
--- a/src/gameoption.h
+++ b/src/gameoption.h
@@ -1,4 +1,18 @@
1-/*** Input Options ***/
1+
2+/*** Option Definitions ***/
3+
4+#define OPT_PAGE_INPUT 1
5+#define OPT_PAGE_MAPSCREEN 2
6+#define OPT_PAGE_TEXT 3
7+#define OPT_PAGE_GAMEPLAY 4
8+#define OPT_PAGE_DISTURBANCE 5
9+#define OPT_PAGE_BIRTH 6
10+#define OPT_PAGE_AUTODESTROY 7
11+#define OPT_PAGE_PLAYRECORD 10
12+
13+#define OPT_PAGE_JAPANESE_ONLY 99
14+
15+/*** Input Options ***/
216
317 extern bool rogue_like_commands; /* Rogue-like commands */
418 extern bool always_pickup; /* Pick things up by default */
Show on old repository browser