OSDN Git Service

[Refactor] #37353 FELL_* 定義を object.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Thu, 23 May 2019 14:50:02 +0000 (23:50 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Thu, 23 May 2019 14:50:02 +0000 (23:50 +0900)
src/defines.h
src/object.h

index fa5a0eb..032a5cb 100644 (file)
 
 
 /*
- * アイテムの簡易鑑定定義 / Game generated inscription indices. These are stored in the object,
- * and are used to index the string array from tables.c.
- */
-#define FEEL_NONE              0 /*!< 簡易鑑定: 未鑑定 */
-#define FEEL_BROKEN            1 /*!< 簡易鑑定: 壊れている */
-#define FEEL_TERRIBLE          2 /*!< 簡易鑑定: 恐ろしい */
-#define FEEL_WORTHLESS         3 /*!< 簡易鑑定: 無価値 */
-#define FEEL_CURSED            4 /*!< 簡易鑑定: 呪われている */
-#define FEEL_UNCURSED          5 /*!< 簡易鑑定: 呪われていない */
-#define FEEL_AVERAGE           6 /*!< 簡易鑑定: 並 */
-#define FEEL_GOOD              7 /*!< 簡易鑑定: 上質 */
-#define FEEL_EXCELLENT         8 /*!< 簡易鑑定: 高級 */
-#define FEEL_SPECIAL           9 /*!< 簡易鑑定: 特別 */
-
-#define FEEL_MAX               9 /*!< 簡易鑑定の種別数 */
-
-/*
  * 変愚ver1.5.0以前に使われていたアイテムの追加特性フラグ / Hack -- special "xtra" object powers
  */
 #define EGO_XTRA_SUSTAIN        1 /*!< 旧版アイテムフラグ(非推奨): 追加維持能力 / Sustain one stat */
index 9f6a5ac..9d83ef7 100644 (file)
@@ -129,8 +129,25 @@ extern OBJECT_IDX get_obj_num(DEPTH level, BIT_FLAGS mode);
 extern void object_known(object_type *o_ptr);
 extern void object_aware(object_type *o_ptr);
 extern void object_tried(object_type *o_ptr);
+
+/*
+ * \83A\83C\83e\83\80\82Ì\8aÈ\88Õ\8aÓ\92è\92è\8b` / Game generated inscription indices. These are stored in the object,
+ * and are used to index the string array from tables.c.
+ */
+#define FEEL_NONE              0 /*!< \8aÈ\88Õ\8aÓ\92è: \96¢\8aÓ\92è */
+#define FEEL_BROKEN            1 /*!< \8aÈ\88Õ\8aÓ\92è: \89ó\82ê\82Ä\82¢\82é */
+#define FEEL_TERRIBLE          2 /*!< \8aÈ\88Õ\8aÓ\92è: \8b°\82ë\82µ\82¢ */
+#define FEEL_WORTHLESS         3 /*!< \8aÈ\88Õ\8aÓ\92è: \96³\89¿\92l */
+#define FEEL_CURSED            4 /*!< \8aÈ\88Õ\8aÓ\92è: \8eô\82í\82ê\82Ä\82¢\82é */
+#define FEEL_UNCURSED          5 /*!< \8aÈ\88Õ\8aÓ\92è: \8eô\82í\82ê\82Ä\82¢\82È\82¢ */
+#define FEEL_AVERAGE           6 /*!< \8aÈ\88Õ\8aÓ\92è: \95À */
+#define FEEL_GOOD              7 /*!< \8aÈ\88Õ\8aÓ\92è: \8fã\8e¿ */
+#define FEEL_EXCELLENT         8 /*!< \8aÈ\88Õ\8aÓ\92è: \8d\82\8b\89 */
+#define FEEL_SPECIAL           9 /*!< \8aÈ\88Õ\8aÓ\92è: \93Á\95Ê */
+#define FEEL_MAX               9 /*!< \8aÈ\88Õ\8aÓ\92è\82Ì\8eí\95Ê\90\94 */
 extern byte value_check_aux1(object_type *o_ptr);
 extern byte value_check_aux2(object_type *o_ptr);
+
 extern PRICE object_value(object_type *o_ptr);
 extern PRICE object_value_real(object_type *o_ptr);
 extern void distribute_charges(object_type *o_ptr, object_type *q_ptr, int amt);