• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisionec33025428504eb5a3dd034af2aecdfb1e9a2198 (tree)
Time2019-06-02 21:30:29
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 EMPTY_HAND_* を player-status.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -234,11 +234,6 @@
234234 #define OBJ_GOLD_LIST 480 /* First "gold" entry */
235235 #define MAX_GOLD 18 /* Number of "gold" entries */
236236
237-/* Empty hand status */
238-#define EMPTY_HAND_NONE 0x0000 /* Both hands are used */
239-#define EMPTY_HAND_LARM 0x0001 /* Left hand is empty */
240-#define EMPTY_HAND_RARM 0x0002 /* Right hand is empty */
241-
242237 /*
243238 * Object flags
244239 *
--- a/src/player-status.h
+++ b/src/player-status.h
@@ -26,12 +26,17 @@
2626 #define MAGIC_FAIL_5PERCENT 0x0002
2727 #define MAGIC_GAIN_EXP 0x0004
2828
29- /*
30- * Magic-books for the realms
31- */
29+/*
30+ * Magic-books for the realms
31+ */
3232 #define REALM1_BOOK (p_ptr->realm1 + TV_LIFE_BOOK - 1)
3333 #define REALM2_BOOK (p_ptr->realm2 + TV_LIFE_BOOK - 1)
3434
35+/* Empty hand status */
36+#define EMPTY_HAND_NONE 0x0000 /* Both hands are used */
37+#define EMPTY_HAND_LARM 0x0001 /* Left hand is empty */
38+#define EMPTY_HAND_RARM 0x0002 /* Right hand is empty */
39+
3540 extern const concptr stat_names[6];
3641 extern const concptr stat_names_reduced[6];
3742
Show on old repository browser