#include "angband.h"
#include "avatar.h"
+#include "realm.h"
/*!
* 徳の名称 / The names of the virtues
#pragma once
+#include "realm.h"
+
/*
* A structure to describe a building.
* From Kamband
#include "player-race.h"
#include "floor.h"
#include "objectkind.h"
+#include "realm.h"
#include "realm-song.h"
/*!
#define USE_DEVICE 3 /*!< 魔道具の最低失敗基準値 x> Harder devices x< Easier devices */
/*
- * Magic realms
- */
-#define REALM_NONE 0
-#define REALM_LIFE 1
-#define REALM_SORCERY 2
-#define REALM_NATURE 3
-#define REALM_CHAOS 4
-#define REALM_DEATH 5
-#define REALM_TRUMP 6
-#define REALM_ARCANE 7
-#define REALM_CRAFT 8
-#define REALM_DAEMON 9
-#define REALM_CRUSADE 10
-#define MAX_MAGIC 10
-#define MIN_TECHNIC 16
-#define REALM_MUSIC 16
-#define REALM_HISSATSU 17
-#define REALM_HEX 18
-#define MAX_REALM 18
-
-#define VALID_REALM (MAX_REALM + MAX_MAGIC - MIN_TECHNIC + 1)
-#define NUM_TECHNIC (MAX_REALM - MIN_TECHNIC + 1)
-
-#define is_magic(A) ((((A) > REALM_NONE) && ((A) < MAX_MAGIC + 1)) ? TRUE : FALSE)
-#define tval2realm(A) ((A) - TV_LIFE_BOOK + 1)
-#define technic2magic(A) (is_magic(A) ? (A) : (A) - MIN_TECHNIC + 1 + MAX_MAGIC)
-#define is_good_realm(REALM) ((REALM) == REALM_LIFE || (REALM) == REALM_CRUSADE)
-
-/*
* Magic-books for the realms
*/
#define REALM1_BOOK (p_ptr->realm1 + TV_LIFE_BOOK - 1)
#pragma once
#include "spells.h"
+#include "realm.h"
/*
* 職業ごとの選択可能な魔法領域現在の所 bitrh.cとtables.cでのみ使用。
#pragma once
+
+/*
+ * Magic realms
+ */
+#define REALM_NONE 0
+#define REALM_LIFE 1
+#define REALM_SORCERY 2
+#define REALM_NATURE 3
+#define REALM_CHAOS 4
+#define REALM_DEATH 5
+#define REALM_TRUMP 6
+#define REALM_ARCANE 7
+#define REALM_CRAFT 8
+#define REALM_DAEMON 9
+#define REALM_CRUSADE 10
+#define MAX_MAGIC 10
+#define MIN_TECHNIC 16
+#define REALM_MUSIC 16
+#define REALM_HISSATSU 17
+#define REALM_HEX 18
+#define MAX_REALM 18
+
+#define VALID_REALM (MAX_REALM + MAX_MAGIC - MIN_TECHNIC + 1)
+#define NUM_TECHNIC (MAX_REALM - MIN_TECHNIC + 1)
+
+#define is_magic(A) ((((A) > REALM_NONE) && ((A) < MAX_MAGIC + 1)) ? TRUE : FALSE)
+#define tval2realm(A) ((A) - TV_LIFE_BOOK + 1)
+#define technic2magic(A) (is_magic(A) ? (A) : (A) - MIN_TECHNIC + 1 + MAX_MAGIC)
+#define is_good_realm(REALM) ((REALM) == REALM_LIFE || (REALM) == REALM_CRUSADE)
+
extern const concptr realm_names[];
#ifdef JP
extern const concptr E_realm_names[];
#include "player-status.h"
#include "avatar.h"
+#include "realm.h"
#include "realm-hex.h"
#include "realm-song.h"
#pragma once
+#include "realm.h"
#define SPOP_DISPLAY_MES 0x0001 // !< スペル処理オプション … メッセージを表示する
#define SPOP_NO_UPDATE 0x0002 // !< スペル処理オプション … ステータス更新を解決後行う
#include "files.h"
#include "feature.h"
#include "floor-town.h"
+#include "realm.h"
#include "view-mainwindow.h"