• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision07d5a3bdb2a39207f5427c63ec1db1cf41a48ba5 (tree)
Time2019-06-05 23:35:33
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 no_flowed 対象呪文判定定義を player-status.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -250,10 +250,6 @@
250250 #define VIRTUE_LARGE 1
251251 #define VIRTUE_SMALL 2
252252
253-#define SPELL_DD_S 27
254-#define SPELL_DD_T 13
255-#define SPELL_SW 22
256-#define SPELL_KABE 20
257253
258254 #define DUNGEON_FEAT_PROB_NUM 3
259255
--- a/src/player-status.h
+++ b/src/player-status.h
@@ -34,6 +34,12 @@
3434 #define REALM1_BOOK (p_ptr->realm1 + TV_LIFE_BOOK - 1)
3535 #define REALM2_BOOK (p_ptr->realm2 + TV_LIFE_BOOK - 1)
3636
37+/* no_flowed 判定対象となるスペル */
38+#define SPELL_DD_S 27
39+#define SPELL_DD_T 13
40+#define SPELL_SW 22
41+#define SPELL_KABE 20
42+
3743 /* Empty hand status */
3844 #define EMPTY_HAND_NONE 0x0000 /* Both hands are used */
3945 #define EMPTY_HAND_LARM 0x0001 /* Left hand is empty */
Show on old repository browser