OSDN Git Service

[Refactor] #37353 EMPTY_HAND_* を player-status.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Sun, 2 Jun 2019 12:30:29 +0000 (21:30 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Sun, 2 Jun 2019 12:30:29 +0000 (21:30 +0900)
src/defines.h
src/player-status.h

index 8c34d2b..a629b5a 100644 (file)
 #define OBJ_GOLD_LIST   480     /* First "gold" entry */
 #define MAX_GOLD        18      /* Number of "gold" entries */
 
-/* Empty hand status */
-#define EMPTY_HAND_NONE 0x0000 /* Both hands are used */
-#define EMPTY_HAND_LARM 0x0001 /* Left hand is empty */
-#define EMPTY_HAND_RARM 0x0002 /* Right hand is empty */
-
 /*
  * Object flags
  *
index d6d089c..8855703 100644 (file)
 #define MAGIC_FAIL_5PERCENT     0x0002
 #define MAGIC_GAIN_EXP          0x0004
 
- /*
 * Magic-books for the realms
 */
+/*
+ * Magic-books for the realms
+ */
 #define REALM1_BOOK     (p_ptr->realm1 + TV_LIFE_BOOK - 1)
 #define REALM2_BOOK     (p_ptr->realm2 + TV_LIFE_BOOK - 1)
 
+/* Empty hand status */
+#define EMPTY_HAND_NONE 0x0000 /* Both hands are used */
+#define EMPTY_HAND_LARM 0x0001 /* Left hand is empty */
+#define EMPTY_HAND_RARM 0x0002 /* Right hand is empty */
+
 extern const concptr stat_names[6];
 extern const concptr stat_names_reduced[6];