変愚蛮怒のメインリポジトリです
Revision | 3bac3ef947de477c478bd1e165f045f0ed3faa33 (tree) |
---|---|
Time | 2019-06-01 13:10:48 |
Author | deskull <deskull@user...> |
Commiter | deskull |
[Refactor] #37353 REALM1_BOOK, REALM2_BOOK を player-status.h へ移動.
@@ -165,12 +165,6 @@ | ||
165 | 165 | |
166 | 166 | |
167 | 167 | /* |
168 | - * Magic-books for the realms | |
169 | - */ | |
170 | -#define REALM1_BOOK (p_ptr->realm1 + TV_LIFE_BOOK - 1) | |
171 | -#define REALM2_BOOK (p_ptr->realm2 + TV_LIFE_BOOK - 1) | |
172 | - | |
173 | -/* | |
174 | 168 | * Maximum number of "normal" pack slots, and the index of the "overflow" |
175 | 169 | * slot, which can hold an item, but only temporarily, since it causes the |
176 | 170 | * pack to "overflow", dropping the "last" item onto the ground. Since this |
@@ -26,6 +26,12 @@ | ||
26 | 26 | #define MAGIC_FAIL_5PERCENT 0x0002 |
27 | 27 | #define MAGIC_GAIN_EXP 0x0004 |
28 | 28 | |
29 | + /* | |
30 | + * Magic-books for the realms | |
31 | + */ | |
32 | +#define REALM1_BOOK (p_ptr->realm1 + TV_LIFE_BOOK - 1) | |
33 | +#define REALM2_BOOK (p_ptr->realm2 + TV_LIFE_BOOK - 1) | |
34 | + | |
29 | 35 | extern const concptr stat_names[6]; |
30 | 36 | extern const concptr stat_names_reduced[6]; |
31 | 37 |