-#include "system/angband.h"
-#include "birth/birth-util.h"
+#include "birth/birth-util.h"
#include "cmd-io/cmd-gameoption.h"
#include "core/show-file.h"
#include "main/sound-of-music.h"
#pragma once
+#include "system/angband.h"
+
typedef enum birth_kind
{
BK_REALM,
-#include "system/angband.h"
-#include "birth/history-generator.h"
+#include "birth/history-generator.h"
#include "birth/history.h"
#include "player/player-race-types.h"
#include "util/buffer-shaper.h"
#pragma once
+#include "system/angband.h"
+
void get_history(player_type* creature_ptr);
-#include "system/angband.h"
-#include "birth/history.h"
+/*!
+ * @brief 生い立ちメッセージテーブル / Forward declare
+ * @date 2002/01/12
+ * @author mogami
+ */
+#include "birth/history.h"
/*!
* 生い立ちテーブルの定義 / Background information (see below)\n
-
-/*!
-* 生い立ちメッセージテーブル / Forward declare
-*/
-typedef struct hist_type hist_type;
+#include "system/angband.h"
/*!
* 生い立ちメッセージテーブルの構造体定義 / Player background information
*/
-struct hist_type
-{
+typedef struct hist_type {
concptr info; /*!> メッセージ本文 / Textual History */
byte roll; /*!> 確率の重み / Frequency of this entry */
byte chart; /*!> 生い立ちメッセージの流れを示すチャートID / Chart index */
byte next; /*!> 次のチャートID */
byte bonus; /*!> メッセージに伴う社会的地位の変化量(50が基準値) / Social Class Bonus + 50 */
-};
+} hist_type;
struct hist_type;
extern hist_type bg[];
* Changed for ZAngband by Robert Ruehlmann
*/
-#include "system/angband.h"
#include "cmd-building/cmd-building.h"
#include "cmd-action/cmd-spell.h"
#include "cmd-io/cmd-dump.h"
#pragma once
+#include "system/angband.h"
#include "object/tval-types.h"
-#include "realm/realm-names-table.h"
-#include "player/player-race.h"
-#include "player/race-info-table.h"
-#include "player/player-class.h"
#define BUILDING_NON_MEMBER 0 /*!< 不明(現在未使用) */
#define BUILDING_MEMBER 1 /*!< 不明(現在未使用) */
* @struct arena_type
* @brief 闘技場のモンスターエントリー構造体 / A structure type for arena entry
*/
-typedef struct
-{
+typedef struct arena_type {
MONRACE_IDX r_idx; /*!< 闘技場のモンスター種族ID(0ならば表彰式) / Monster (0 means victory prizing) */
tval_type tval; /*!< モンスター打倒後に得られるアイテムの大カテゴリID / tval of prize (0 means no prize) */
OBJECT_SUBTYPE_VALUE sval; /*!< モンスター打倒後に得られるアイテムの小カテゴリID / sval of prize */
} arena_type;
-extern void do_cmd_building(player_type *player_ptr);
+void do_cmd_building(player_type *player_ptr);
* @author Hourier
*/
-#include "system/angband.h"
#include "cmd-io/diary-subtitle-table.h"
concptr subtitle[MAX_SUBTITLE] = {
#pragma once
+#include "system/angband.h"
+
#define MAX_SUBTITLE 33
extern concptr subtitle[MAX_SUBTITLE];
* @author Hourier
*/
-#include "system/angband.h"
#include "cmd-io/feeling-table.h"
concptr do_cmd_feeling_text[MAX_FEELING_TEXT] =
#pragma once
+#include "system/angband.h"
+
#define MAX_FEELING_TEXT 11
extern concptr do_cmd_feeling_text[MAX_FEELING_TEXT];
#include "pet/pet-util.h"
#include "player/avatar.h"
#include "player/race-info-table.h"
+#include "realm/realm-names-table.h"
#include "store/store-util.h"
#include "store/store.h"
#include "system/angband-version.h"
#include "mind/racial.h" // do_cmd_racial_power() がある。ファイル名変更?.
#include "mind/snipe-types.h"
#include "mspell/mspells3.h" // do_cmd_cast_learned() がある。後で移設する.
+#include "player/player-class.h"
#include "player/player-effects.h"
#include "player/player-move.h" // do_cmd_travel() がある。後で移設する.
#include "spell/spells-object.h"
#include "market/building-service.h"
#include "cmd-building/cmd-building.h"
+#include "realm/realm-names-table.h"
#include "term/screen-processor.h"
#include "term/term-color-types.h"
#include "player/player-personalities-types.h"
#include "player/player-race-types.h"
#include "player/player-status.h"
+#include "player/race-info-table.h"
#include "term/screen-processor.h"
#include "term/term-color-types.h"
#include "util/bit-flags-calculator.h"
#include "player/player-skill.h"
#include "player/race-info-table.h"
#include "realm/realm-hex-numbers.h"
+#include "realm/realm-names-table.h"
#include "realm/realm-song-numbers.h"
#include "specific-object/bow.h"
#include "spell-realm/spells-hex.h"
#include "player/player-personalities-types.h"
#include "player/player-skill.h"
#include "player/player-status.h"
+#include "realm/realm-names-table.h"
#include "spell-kind/earthquake.h"
#include "spell-kind/spells-floor.h"
#include "spell-kind/spells-launcher.h"
#define MAX_STORES 10 /*!< 店舗の種類最大数 / Total number of stores (see "store.c", etc) */
#define MAX_OWNERS 32 /*!< 各店舗毎の店主定義最大数 / Total number of owners per store (see "store.c", etc) */
-typedef struct owner_type owner_type;
-
-struct owner_type
-{
+typedef struct owner_type {
concptr owner_name; /* Name */
PRICE max_cost; /* Purse limit */
byte max_inflate; /* Inflation (max) */
byte haggle_per; /* Haggle unit */
byte insult_max; /* Insult limit */
byte owner_race; /* Owner race */
-};
+} owner_type;
extern const owner_type owners[MAX_STORES][MAX_OWNERS];
#include "monster-race/monster-race.h"
#include "monster/monster-status.h"
#include "player/mimic-info-table.h"
+#include "player/player-class.h"
#include "term/screen-processor.h"
#include "term/term-color-types.h"
#include "util/string-processor.h"