#include "sort.h"
#include "mutation.h"
+#include "quest.h"
/*!
* ループ中で / hack as in leave_store in store.c
#include "projection.h"
#include "spells-summon.h"
#include "monster-status.h"
+#include "quest.h"
/*!
* @brief フロア脱出時に出戻りが不可能だった場合に警告を加える処理
#include "player-status.h"
#include "sort.h"
#include "mutation.h"
+#include "quest.h"
/*
#define MAX_WID 198
/*
- * Quest constants
- */
-#define MIN_RANDOM_QUEST 40 /*<! ランダムクエストを割り当てるクエストIDの開始値 */
-#define MAX_RANDOM_QUEST 49 /*<! ランダムクエストを割り当てるクエストIDの終了値 */
-
-/*!
- * @brief 該当IDが固定クエストかどうかを判定する / Check is the quest index is "fixed"
- * @param Q_IDX クエストID
- * @return 固定クエストならばTRUEを返す
- */
-#define is_fixed_quest_idx(Q_IDX) (((Q_IDX) < MIN_RANDOM_QUEST) || ((Q_IDX) > MAX_RANDOM_QUEST))
-
-#define QUEST_TOWER1 5 /*<! 塔クエスト(第1階層)に割り振るクエストID */
-#define QUEST_TOWER2 6 /*<! 塔クエスト(第2階層)に割り振るクエストID */
-#define QUEST_TOWER3 7 /*<! 塔クエスト(第3階層)に割り振るクエストID */
-#define QUEST_OBERON 8 /*<! オベロン打倒クエストに割り振るクエストID */
-#define QUEST_SERPENT 9 /*<! サーペント打倒クエストに割り振るクエストID */
-
-/*
* Arena constants
*/
#define MAX_ARENA_MONS 41 /*<! 闘技場のイベント件数 -KMW- */
#include "monsterrace-hook.h"
#include "world.h"
#include "mutation.h"
+#include "quest.h"
static bool load = TRUE; /*!<ロード処理中の分岐フラグ*/
static int wild_regen = 20; /*!<広域マップ移動時の自然回復処理カウンタ(広域マップ1マス毎に20回処理を基本とする)*/
#include "angband.h"
#include "mutation.h"
+#include "quest.h"
/*!
* @brief プレイヤーの継続行動を設定する。
#include "player-status.h"
#include "sort.h"
#include "mutation.h"
+#include "quest.h"
/*
#include "generate.h"
#include "grid.h"
#include "monster.h"
+#include "quest.h"
static FLOOR_IDX new_floor_id; /*!<次のフロアのID / floor_id of the destination */
#include "projection.h"
#include "monster.h"
#include "spells-summon.h"
+#include "quest.h"
#define HORDE_NOGOOD 0x01 /*!< (未実装フラグ)HORDE生成でGOODなモンスターの生成を禁止する? */
#define HORDE_NOEVIL 0x02 /*!< (未実装フラグ)HORDE生成でEVILなモンスターの生成を禁止する? */
#include "angband.h"
#include "object-curse.h"
#include "projection.h"
+#include "quest.h"
/*!
#include "angband.h"
#include "projection.h"
+#include "quest.h"
/*!
* @brief モンスターが敵対モンスターにビームを当てること可能かを判定する /
-
+/*
+ * Quest constants
+ */
+#define MIN_RANDOM_QUEST 40 /*<! ランダムクエストを割り当てるクエストIDの開始値 */
+#define MAX_RANDOM_QUEST 49 /*<! ランダムクエストを割り当てるクエストIDの終了値 */
+
+ /*!
+ * @brief 該当IDが固定クエストかどうかを判定する / Check is the quest index is "fixed"
+ * @param Q_IDX クエストID
+ * @return 固定クエストならばTRUEを返す
+ */
+#define is_fixed_quest_idx(Q_IDX) (((Q_IDX) < MIN_RANDOM_QUEST) || ((Q_IDX) > MAX_RANDOM_QUEST))
+
+#define QUEST_TOWER1 5 /*<! 塔クエスト(第1階層)に割り振るクエストID */
+#define QUEST_TOWER2 6 /*<! 塔クエスト(第2階層)に割り振るクエストID */
+#define QUEST_TOWER3 7 /*<! 塔クエスト(第3階層)に割り振るクエストID */
+#define QUEST_OBERON 8 /*<! オベロン打倒クエストに割り振るクエストID */
+#define QUEST_SERPENT 9 /*<! サーペント打倒クエストに割り振るクエストID */
+
+
extern void determine_random_questor(quest_type *q_ptr);
extern void complete_quest(QUEST_IDX quest_num);
extern void check_quest_completion(monster_type *m_ptr);
#include "angband.h"
#include "sort.h"
+#include "quest.h"
#include "projection.h"
#include "spells-summon.h"
#include "mutation.h"
+#include "quest.h"
/*!
#include "angband.h"
#include "world.h"
+#include "quest.h"
/*!
* @brief 現在の修正後能力値を3~17及び18/xxx形式に変換する / Converts stat num into a six-char (right justified) string