*/
#include "angband.h"
+#include "core.h"
#include "util.h"
#include "artifact.h"
#include "monster.h"
#include "files.h"
#include "term.h"
+#include "cmd-smith.h"
+#include "snipe.h"
+#include "view-mainwindow.h"
#if defined(MACINTOSH) || defined(MACH_O_CARBON)
#ifdef verify
process_pref_file("graf.prf");
/* Access the "character" pref file */
- sprintf(buf, "graf-%s.prf", player_base);
+ sprintf(buf, "graf-%s.prf", p_ptr->base_name);
/* Process "graf-<playername>.prf" */
process_pref_file(buf);
process_pref_file("font.prf");
/* Access the "character" pref file */
- sprintf(buf, "font-%s.prf", player_base);
+ sprintf(buf, "font-%s.prf", p_ptr->base_name);
/* Process "font-<playername>.prf" */
process_pref_file(buf);
*/
bool(*item_tester_hook)(object_type*);
+/*
+ * Here is a "pseudo-hook" used during calls to "get_item()" and
+ * "show_inven()" and "show_equip()", and the choice window routines.
+ */
+OBJECT_TYPE_VALUE item_tester_tval;
+
/*!
* @brief アイテムがitem_tester_hookグローバル関数ポインタの条件を満たしているかを返す汎用関数
* Check an item against the item tester info