#include "view/display-messages.h"
#include "world/world.h"
-int total_friends = 0;
-
/*!
* @brief ペットを開放するコマンドのメインルーチン
* @return なし
#pragma once
-extern int total_friends;
-
typedef struct player_type player_type;
bool do_cmd_riding(player_type *creature_ptr, bool force);
void do_cmd_pet_dismiss(player_type *creature_pt);
#include "mind/mind-force-trainer.h"
-#include "cmd-action/cmd-pet.h"
#include "core/disturbance.h"
#include "core/player-redraw-types.h"
#include "core/player-update-types.h"
#include "monster/monster-describer.h"
#include "monster/monster-status.h"
#include "monster/monster-update.h"
+#include "pet/pet-util.h"
#include "player-info/avatar.h"
#include "player/player-damage.h"
#include "player/player-status.h"
#include "mind/mind-mirror-master.h"
-#include "cmd-action/cmd-pet.h"
#include "core/disturbance.h"
#include "core/player-redraw-types.h"
#include "core/player-update-types.h"
#include "io/screen-util.h"
#include "mind/mind-magic-resistance.h"
#include "mind/mind-numbers.h"
+#include "pet/pet-util.h"
#include "spell-kind/spells-detection.h"
#include "spell-kind/spells-floor.h"
#include "spell-kind/spells-launcher.h"
#include "mind/mind-samurai.h"
#include "action/action-limited.h"
#include "cmd-action/cmd-attack.h"
-#include "cmd-action/cmd-pet.h"
#include "core/player-redraw-types.h"
#include "core/player-update-types.h"
#include "grid/grid.h"
#include "monster/monster-status-setter.h"
#include "monster/monster-status.h"
#include "object-enchant/tr-types.h"
+#include "pet/pet-util.h"
#include "player-attack/player-attack-util.h"
#include "player-info/avatar.h"
#include "player/attack-defense-types.h"
#include "system/player-type-definition.h"
#include "world/world.h"
+int total_friends = 0;
+
/*!
* @brief プレイヤーの騎乗/下馬処理判定
* @param g_ptr プレイヤーの移動先マスの構造体参照ポインタ
PF_TWO_HANDS = 0x0040, /*!< プレイヤーの騎乗フラグ…武器を片手で持つ */
};
+extern int total_friends;
+
typedef struct grid_type grid_type;
typedef struct player_type player_type;
bool can_player_ride_pet(player_type *creature_ptr, grid_type *g_ptr, bool now_riding);