• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision72c4123d09e82f303ea18b2b0ab0a69f1f4a1715 (tree)
Time2019-06-08 20:53:18
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 MAX_NAZGUL_NUM を monster.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -40,8 +40,6 @@
4040
4141 /*** Screen Locations ***/
4242
43-/* Maximum "Nazguls" number */
44-#define MAX_NAZGUL_NUM 5
4543
4644 /*
4745 Language selection macro
--- a/src/monster.h
+++ b/src/monster.h
@@ -6,6 +6,9 @@ typedef bool(*monsterrace_hook_type)(MONRACE_IDX r_idx);
66 extern MONSTER_IDX hack_m_idx;
77 extern MONSTER_IDX hack_m_idx_ii;
88
9+/* Maximum "Nazguls" number */
10+#define MAX_NAZGUL_NUM 5
11+
912 #define MTIMED_CSLEEP 0 /* Monster is sleeping */
1013 #define MTIMED_FAST 1 /* Monster is temporarily fast */
1114 #define MTIMED_SLOW 2 /* Monster is temporarily slow */
Show on old repository browser