• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision5068462842370c2de081fcaf465e5b43ad1d84d4 (tree)
Time2019-06-02 20:54:28
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 MR1_SINKA を monsterrace.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -271,10 +271,6 @@
271271 #define is_pval_flag(INDEX) ((TR_STR <= (INDEX) && (INDEX) <= TR_MAGIC_MASTERY) || (TR_STEALTH <= (INDEX) && (INDEX) <= TR_BLOWS))
272272 #define have_pval_flags(ARRAY) !!((ARRAY)[0] & (0x00003f7f))
273273
274-
275-#define MR1_SINKA 0x01
276-
277-
278274 /*
279275 * Is the monster seen by the player?
280276 */
--- a/src/monsterrace.h
+++ b/src/monsterrace.h
@@ -419,7 +419,9 @@ struct monster_race
419419 byte r_wake; /* Number of times woken up (?) */
420420 byte r_ignore; /* Number of times ignored (?) */
421421
422- byte r_xtra1; /* Something (unused) */
422+ #define MR1_SINKA 0x01
423+ byte r_xtra1; /* Something */
424+
423425 byte r_xtra2; /* Something (unused) */
424426
425427 ITEM_NUMBER r_drop_gold; /*!< これまでに撃破時に落とした財宝の数 / Max number of gold dropped at once */
Show on old repository browser