#include "spells-status.h"
#include "wild.h"
#include "floor.h"
+#include "cmd-pet.h"
/*!
* オートローラーの内容を描画する間隔 /
#include "cmd-usestaff.h"
#include "cmd-zaprod.h"
#include "cmd-zapwand.h"
+#include "cmd-pet.h"
#include "object-hook.h"
#include "sort.h"
#include "object-hook.h"
#include "monster.h"
#include "monster-status.h"
+#include "cmd-pet.h"
/*!
* @brief プレイヤーの騎乗/下馬処理判定
extern bool player_can_ride_aux(grid_type *g_ptr, bool now_riding);
extern bool rakuba(HIT_POINT dam, bool force);
+/*** Pet constants ***/
+
+
+/*
+ * ペットに関するコマンド群 / Pet Commands
+ */
+#define PET_DISMISS 1 /*!< ペットに関するコマンド: ペットを離す */
+#define PET_TARGET 2 /*!< ペットに関するコマンド: ペットのターゲットを指定 */
+#define PET_STAY_CLOSE 3 /*!< ペットに関するコマンド: 近くにいろ */
+#define PET_FOLLOW_ME 4 /*!< ペットに関するコマンド: ついて来い */
+#define PET_SEEK_AND_DESTROY 5 /*!< ペットに関するコマンド: 敵を見つけて倒せ */
+#define PET_ALLOW_SPACE 6 /*!< ペットに関するコマンド: 少し離れていろ */
+#define PET_STAY_AWAY 7 /*!< ペットに関するコマンド: 離れていろ */
+#define PET_OPEN_DOORS 8 /*!< ペットに関するコマンド: ドア解放の許可 */
+#define PET_TAKE_ITEMS 9 /*!< ペットに関するコマンド: アイテム取得の許可 */
+#define PET_TELEPORT 10 /*!< ペットに関するコマンド: テレポートの許可 */
+#define PET_ATTACK_SPELL 11 /*!< ペットに関するコマンド: 攻撃魔法の許可 */
+#define PET_SUMMON_SPELL 12 /*!< ペットに関するコマンド: 召喚魔法の許可 */
+#define PET_BALL_SPELL 13 /*!< ペットに関するコマンド: プレイヤーを魔法に巻き込む許可 */
+#define PET_RIDING 14 /*!< ペットに関するコマンド: ペットに乗る */
+#define PET_NAME 15 /*!< ペットに関するコマンド: ペットに名前をつける */
+#define PET_RYOUTE 16 /*!< ペットに関するコマンド: 騎乗中に両手で武器を使うかどうか */
+
+ /*
+ * Follow distances
+ */
+#define PET_CLOSE_DIST 1 /*!<ペットの行動範囲…近くにいろ */
+#define PET_FOLLOW_DIST 6 /*!<ペットの行動範囲…ついて来い */
+#define PET_SEEK_DIST 10 /*!<ペットの行動範囲…特になし? */
+#define PET_DESTROY_DIST 255 /*!<ペットの行動範囲…敵を見つけて倒せ */
+#define PET_SPACE_DIST (-10) /*!<ペットの行動範囲…少し離れていろ */
+#define PET_AWAY_DIST (-25) /*!<ペットの行動範囲…離れていろ */
+
+#define PF_OPEN_DOORS 0x0001 /*!< ペットの行動許可…ドアを開けてよい */
+#define PF_PICKUP_ITEMS 0x0002 /*!< ペットの行動許可…アイテムを拾ってよい */
+#define PF_TELEPORT 0x0004 /*!< ペットの行動許可…テレポート魔法を使ってよい */
+#define PF_ATTACK_SPELL 0x0008 /*!< ペットの行動許可…攻撃魔法を使ってよい */
+#define PF_SUMMON_SPELL 0x0010 /*!< ペットの行動許可…召喚魔法を使ってよい */
+#define PF_BALL_SPELL 0x0020 /*!< ペットの行動許可…ボール魔法でプレイヤーを巻き込んでよい */
+#define PF_RYOUTE 0x0040 /*!< プレイヤーの騎乗フラグ…武器を片手で持つ */
#define MON_DRAIN_LIFE 2 /*!< モンスターの打撃によるプレイヤーの経験値吸収基本倍率(%) / Percent of player exp drained per hit */
#define USE_DEVICE 3 /*!< 魔道具の最低失敗基準値 x> Harder devices x< Easier devices */
-/*** Pet constants ***/
-
-
-/*
- * ペットに関するコマンド群 / Pet Commands
- */
-#define PET_DISMISS 1 /*!< ペットに関するコマンド: ペットを離す */
-#define PET_TARGET 2 /*!< ペットに関するコマンド: ペットのターゲットを指定 */
-#define PET_STAY_CLOSE 3 /*!< ペットに関するコマンド: 近くにいろ */
-#define PET_FOLLOW_ME 4 /*!< ペットに関するコマンド: ついて来い */
-#define PET_SEEK_AND_DESTROY 5 /*!< ペットに関するコマンド: 敵を見つけて倒せ */
-#define PET_ALLOW_SPACE 6 /*!< ペットに関するコマンド: 少し離れていろ */
-#define PET_STAY_AWAY 7 /*!< ペットに関するコマンド: 離れていろ */
-#define PET_OPEN_DOORS 8 /*!< ペットに関するコマンド: ドア解放の許可 */
-#define PET_TAKE_ITEMS 9 /*!< ペットに関するコマンド: アイテム取得の許可 */
-#define PET_TELEPORT 10 /*!< ペットに関するコマンド: テレポートの許可 */
-#define PET_ATTACK_SPELL 11 /*!< ペットに関するコマンド: 攻撃魔法の許可 */
-#define PET_SUMMON_SPELL 12 /*!< ペットに関するコマンド: 召喚魔法の許可 */
-#define PET_BALL_SPELL 13 /*!< ペットに関するコマンド: プレイヤーを魔法に巻き込む許可 */
-#define PET_RIDING 14 /*!< ペットに関するコマンド: ペットに乗る */
-#define PET_NAME 15 /*!< ペットに関するコマンド: ペットに名前をつける */
-#define PET_RYOUTE 16 /*!< ペットに関するコマンド: 騎乗中に両手で武器を使うかどうか */
-
-/*
- * Follow distances
- */
-#define PET_CLOSE_DIST 1 /*!<ペットの行動範囲…近くにいろ */
-#define PET_FOLLOW_DIST 6 /*!<ペットの行動範囲…ついて来い */
-#define PET_SEEK_DIST 10 /*!<ペットの行動範囲…特になし? */
-#define PET_DESTROY_DIST 255 /*!<ペットの行動範囲…敵を見つけて倒せ */
-#define PET_SPACE_DIST (-10) /*!<ペットの行動範囲…少し離れていろ */
-#define PET_AWAY_DIST (-25) /*!<ペットの行動範囲…離れていろ */
-
-#define PF_OPEN_DOORS 0x0001 /*!< ペットの行動許可…ドアを開けてよい */
-#define PF_PICKUP_ITEMS 0x0002 /*!< ペットの行動許可…アイテムを拾ってよい */
-#define PF_TELEPORT 0x0004 /*!< ペットの行動許可…テレポート魔法を使ってよい */
-#define PF_ATTACK_SPELL 0x0008 /*!< ペットの行動許可…攻撃魔法を使ってよい */
-#define PF_SUMMON_SPELL 0x0010 /*!< ペットの行動許可…召喚魔法を使ってよい */
-#define PF_BALL_SPELL 0x0020 /*!< ペットの行動許可…ボール魔法でプレイヤーを巻き込んでよい */
-#define PF_RYOUTE 0x0040 /*!< プレイヤーの騎乗フラグ…武器を片手で持つ */
#define CAN_TWO_HANDS_WIELDING() (!p_ptr->riding || (p_ptr->pet_extra_flags & PF_RYOUTE))
#include "monster-status.h"
#include "object-hook.h"
#include "realm-hex.h"
+#include "cmd-pet.h"
/*
#include "spells-floor.h"
#include "monster-status.h"
#include "object-hook.h"
+#include "cmd-pet.h"
static FLOOR_IDX new_floor_id; /*!<次のフロアのID / floor_id of the destination */
static u32b change_floor_mode; /*!<フロア移行処理に関するフラグ / Mode flags for changing floor */
#include "floor.h"
#include "grid.h"
+#include "cmd-pet.h"
+
/*
* Maximum number of tries for selection of a proper quest monster
*/
#include "angband.h"
+#include "cmd-pet.h"
#include "floor.h"
#include "grid.h"
#include "quest.h"
#include "mutation.h"
#include "patron.h"
#include "realm-hex.h"
+#include "cmd-pet.h"
/* Hack, monk armour */
static bool monk_armour_aux;