OSDN Git Service

Revert "Revert "Merge branch 'master' of git.osdn.net:/gitroot/hengband/hengband""
[hengband/hengband.git] / src / autopick / autopick-util.h
index 4ba52b5..f0b4bbc 100644 (file)
@@ -1,5 +1,8 @@
 #pragma once
 
+#include "system/angband.h"
+#include "system/object-type-definition.h"
+
 #define MAX_LINELEN 1024
 #define MAX_AUTOPICK_DEFAULT 200
 #define MAX_YANK MAX_LINELEN
 #define LSTAT_EXPRESSION    0x02
 #define LSTAT_AUTOREGISTER  0x04
 
-#define QUIT_WITHOUT_SAVE 1
-#define QUIT_AND_SAVE     2
-
-#define DESCRIPT_HGT 3
-
 /*!
  * @struct autopick_type
  * @brief 自動拾い/破壊設定データの構造体 / A structure type for entry of auto-picker/destroyer
@@ -84,3 +82,4 @@ void autopick_free_entry(autopick_type *entry);
 void free_text_lines(concptr *lines_list);
 int get_com_id(char key);
 void auto_inscribe_item(player_type *player_ptr, object_type *o_ptr, int idx);
+void add_autopick_list(autopick_type *entry);