-name: Build test with MSVC
+name: Build test with MSVC
on:
workflow_call:
-name: Create Release
+name: Create Release
on:
push:
-THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
+THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do Not Translate or Localize
hengband incorporates third party material from the projects listed below.
-/*!
+/*!
* @file action-limited.cpp
* @brief プレイヤーの行動制約判定定義
*/
-#pragma once
+#pragma once
/*!
* @file action-limited.h
* @brief プレイヤーの行動制約判定ヘッダ
-/*!
+/*!
* @file activation-execution.cpp
* @brief アイテムの発動実行定義
*/
-#pragma once
+#pragma once
/*!
* @file activation-execution.h
* @brief アイテムの発動実行ヘッダ
-/*!
+/*!
* @file movement-execution.cpp
* @brief プレイヤーの歩行勝利実行定義
*/
-#pragma once
+#pragma once
/*!
* @file movement-execution.h
* @brief プレイヤーの歩行処理実行ヘッダ
-/*!
+/*!
* @file mutation-execution.cpp
* @brief プレイヤーの変異能力実行定義
*/
-#pragma once
+#pragma once
/*!
* @file mutation-execution.h
* @brief プレイヤーの変異能力実行ヘッダ
-/*!
+/*!
* @file open-close-execution.cpp
* @brief 扉や箱を開ける処理
* @date 2020/07/11
-#pragma once
+#pragma once
/*!
* @file open-close-execution.h
* @brief 扉や箱を開ける処理のヘッダ
-/*!
+/*!
* @file open-util.cpp
* @brief 開閉処理関連関数
*/
-#pragma once
+#pragma once
/*!
* @file open-util.h
* @brief 開閉処理関連関数ヘッダ
-/*!
+/*!
* @file racial-execution.cpp
* @brief レイシャルパワー実行処理実装
*/
-#pragma once
+#pragma once
/*!
* @file racial-execution.h
* @brief レイシャルパワー実行処理ヘッダ
-/*!
+/*!
* @file run-execution.cpp
* @brief プレイヤーの走行処理実装
*/
-#pragma once
+#pragma once
/*!
* @file run-execution.h
* @brief プレイヤーの走行処理ヘッダ
-/*!
+/*!
* @file travel-execution.cpp
* @brief トラベル移動処理実装
*/
-#pragma once
+#pragma once
/*!
* @file travel-execution.h
* @brief トラベル移動処理ヘッダ
-/*!
+/*!
* @file tunnel-execution.cpp
* @brief 掘削処理実装
*/
-#pragma once
+#pragma once
/*!
* @file tunnel-execution.h
* @brief 掘削処理ヘッダ
-/*!
+/*!
* @file weapon-shield.cpp
* @brief 手装備持ち替え処理実装
*/
-#pragma once
+#pragma once
/*!
* @file weapon-shield.h
* @brief 手装備持ち替え処理ヘッダ
-/*!
+/*!
* @file artifact-info.cpp
* @brief アーティファクトの発動効果取得関数定義
*/
-/*!
+/*!
* @file artifact-info.h
* @brief アーティファクトの発動効果取得関数ヘッダ
*/
-/*!
+/*!
* @file fixed-art-generator.cpp
* @brief 固定アーティファクトの生成 / Artifact code
* @date 2020/07/14
-#pragma once
+#pragma once
/*!
* @file fixed-art-generator.h
* @brief 固定アーティファクトの生成処理ヘッダ
-#pragma once
+#pragma once
/*!
* @file fixed-art-types.h
* @brief 固定アーティファクトのハードコード処理用ID定義
-/*!
+/*!
* @file random-art-activation.cpp
* @brief ランダムアーティファクトの発動実装定義
*/
-#pragma once
+#pragma once
/*!
* @file random-art-activation.h
* @brief ランダムアーティファクトの発動実装ヘッダ
-#pragma once
+#pragma once
/*!
* @file random-art-bias-types.h
* @brief ランダムアーティファクトのバイアス定義
-/*!
+/*!
* @file random-art-characteristics.cpp
* @brief ランダムアーティファクトのバイアス付加処理実装
*/
-#pragma once
+#pragma once
/*!
* @file random-art-characteristics.h
* @brief ランダムアーティファクトのバイアス付加処理ヘッダ
-#pragma once
+#pragma once
/*!
* @file random-art-effects.h
-/*!
+/*!
* @file random-art-generator.cpp
* @brief ランダムアーティファクトの生成メイン定義 / Artifact code
* @date 2020/07/14
-#pragma once
+#pragma once
/*!
* @file random-art-generator.h
* @brief ランダムアーティファクトの生成メインヘッダ / Artifact code
-/*!
+/*!
* @file random-art-misc.cpp
* @brief ランダムアーティファクト生成のその他特性バイアス付け実装 / Artifact code
*/
-#pragma once
+#pragma once
/*!
* @file random-art-misc.h
* @brief ランダムアーティファクト生成のその他特性バイアス付けヘッダ / Artifact code
-/*!
+/*!
* @file random-art-pval-investor.cpp
* @brief ランダムアーティファクトにpvalを追加する処理
* @date 2020/07/14
-#pragma once
+#pragma once
/*!
* @file random-art-pval-investor.h
* @brief ランダムアーティファクトのpval付加処理ヘッダ
-/*!
+/*!
* @file random-art-resistance.cpp
* @brief ランダムアーティファクトの耐性付加処理実装
*/
-#pragma once
+#pragma once
/*!
* @file random-art-resistance.h
* @brief ランダムアーティファクトの耐性付加処理ヘッダ
-/*!
+/*!
* @file random-art-slay.cpp
* @brief ランダムアーティファクトのスレイ付加処理実装
*/
-#pragma once
+#pragma once
/*!
* @file random-art-slay.h
* @brief ランダムアーティファクトのスレイ付加処理ヘッダ
-/*!
+/*!
* @brief 自動拾いエディタのコマンドを受け付ける
* @date 2020/04/26
* @author Hourier
-#pragma once
+#pragma once
int do_command_menu(int level, int start);
-#pragma once
+#pragma once
/*
* Editor command id's
-/*!
+/*!
* @brief 自動拾いの記述
* @date 2020/04/25
* @author Hourier
-#pragma once
+#pragma once
struct autopick_type;
void describe_autopick(char *buff, const autopick_type &entry);
-/*!
+/*!
* @brief 自動破壊の実行
* @date 2020/04/25
* @author Hourier
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#pragma once
+#pragma once
/*
* Dirty flag for text editor
-/*!
+/*!
* @brief 自動拾いエディタを表示させる
* @date 2020/04/26
* @author Hourier
-#pragma once
+#pragma once
struct text_body_type;
class PlayerType;
-/*!
+/*!
* @brief 自動拾いエディタ画面でキーを押した時の挙動一式
* @date 2020/04/26
* @author Hourier
-#pragma once
+#pragma once
/*! APE means AutoPickEditor*/
enum ape_quittance {
-#include <cstdlib>
+#include <cstdlib>
#include "autopick/autopick-dirty-flags.h"
#include "autopick/autopick-editor-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "autopick/autopick-entry.h"
+#include "autopick/autopick-entry.h"
#include "autopick/autopick-flags-table.h"
#include "autopick/autopick-key-flag-process.h"
#include "autopick/autopick-keys-table.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 自動拾いの検索
* @date 2020/04/26
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
/*
* Macros for Keywords
-#include "autopick/autopick-initializer.h"
+#include "autopick/autopick-initializer.h"
#include "autopick/autopick-entry.h"
#include "autopick/autopick-util.h"
#include "system/angband.h"
-#pragma once
+#pragma once
void init_autopick(void);
-#include "autopick/autopick-inserter-killer.h"
+#include "autopick/autopick-inserter-killer.h"
#include "autopick/autopick-dirty-flags.h"
#include "autopick/autopick-util.h"
#include "cmd-io/macro-util.h"
-#pragma once
+#pragma once
struct text_body_type;
void check_expression_line(text_body_type *tb, int y);
-#pragma once
+#pragma once
#define MATCH_KEY(KEY) (!strncmp(ptr, KEY, strlen(KEY)) \
? (ptr += strlen(KEY), (' ' == *ptr) ? ptr++ : 0, true) \
-#pragma once
+#pragma once
#include "system/h-basic.h"
-/*!
+/*!
* @brief 床のアイテムが自動拾いに一致するかどうかを調べる関数だけを格納したファイル
* @date 2020/04/25
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-/*!
+/*!
* @brief 自動拾いのユーティリティ
* @date 2020/04/25
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
#define DO_AUTOPICK 0x01
#define DO_AUTODESTROY 0x02
-#include "autopick/autopick-pref-processor.h"
+#include "autopick/autopick-pref-processor.h"
#include "autopick/autopick-entry.h"
#include "autopick/autopick-util.h"
#include "system/angband.h"
-#pragma once
+#pragma once
void process_autopick_file_command(char *buf);
-#include "autopick/autopick-reader-writer.h"
+#include "autopick/autopick-reader-writer.h"
#include "autopick/autopick-initializer.h"
#include "autopick/autopick-pref-processor.h"
#include "autopick/autopick-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-/*!
+/*!
* @brief 自動拾いにアイテムを登録する
* @date 2020/04/26
* @author Hourier
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "autopick/autopick-util.h"
+#include "autopick/autopick-util.h"
#include "autopick/autopick-menu-data-table.h"
#include "core/window-redrawer.h"
#include "game-option/input-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @file autopick.c
* @brief 自動拾い機能の実装 / Object Auto-picker/Destroyer
* @date 2014/01/02
-#pragma once
+#pragma once
#include "system/angband.h"
-/*
+/*
* @brief 敵への攻撃によって徳を変化させる処理
* @date 2021/08/05
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief ウルティマ4を参考にした徳のシステムの実装 / Enable an Ultima IV style "avatar" game where you try to achieve perfection in various virtues.
* @date 2013/12/23
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
#include <map>
-#include "birth/auto-roller.h"
+#include "birth/auto-roller.h"
#include "birth/birth-stat.h"
#include "birth/birth-util.h"
#include "cmd-io/cmd-gameoption.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "birth/birth-body-spec.h"
+#include "birth/birth-body-spec.h"
#include "player-base/player-class.h"
#include "player-base/player-race.h"
#include "player-info/race-info.h"
-#pragma once
+#pragma once
class PlayerType;
void get_height_weight(PlayerType *player_ptr);
-#include "birth/birth-explanations-table.h"
+#include "birth/birth-explanations-table.h"
#include "system/angband.h"
/*! 種族の解説メッセージテーブル */
-#pragma once
+#pragma once
#include <string>
#include <vector>
-#include "birth/birth-select-class.h"
+#include "birth/birth-select-class.h"
#include "birth/birth-util.h"
#include "io/input-key-acceptor.h"
#include "player-info/class-info.h"
-#pragma once
+#pragma once
class PlayerType;
bool get_player_class(PlayerType *player_ptr);
-#include "birth/birth-select-personality.h"
+#include "birth/birth-select-personality.h"
#include "birth/birth-util.h"
#include "io/input-key-acceptor.h"
#include "player/player-personality.h"
-#pragma once
+#pragma once
class PlayerType;
bool get_player_personality(PlayerType *player_ptr);
-#include "birth/birth-select-race.h"
+#include "birth/birth-select-race.h"
#include "birth/birth-util.h"
#include "io/input-key-acceptor.h"
#include "player-info/race-info.h"
-#pragma once
+#pragma once
class PlayerType;
bool get_player_race(PlayerType *player_ptr);
-#include "birth/birth-select-realm.h"
+#include "birth/birth-select-realm.h"
#include "birth/birth-explanations-table.h"
#include "birth/birth-util.h"
#include "core/asking-player.h"
-#pragma once
+#pragma once
class PlayerType;
bool get_player_realms(PlayerType *player_ptr);
-#include "birth/birth-stat.h"
+#include "birth/birth-stat.h"
#include "birth/auto-roller.h"
#include "player-base/player-class.h"
#include "player-base/player-race.h"
-#pragma once
+#pragma once
#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
+#pragma once
#include "system/angband.h"
-#include "birth/birth-wizard.h"
+#include "birth/birth-wizard.h"
#include "avatar/avatar.h"
#include "birth/auto-roller.h"
#include "birth/birth-body-spec.h"
-#pragma once
+#pragma once
class PlayerType;
bool player_birth_wizard(PlayerType *player_ptr);
-/*!
+/*!
* @file birth.c
* @brief プレイヤーの作成を行う / Create a player character
* @date 2013/12/28
-#pragma once
+#pragma once
class PlayerType;
void player_birth(PlayerType *player_ptr);
-#include "birth/game-play-initializer.h"
+#include "birth/game-play-initializer.h"
#include "dungeon/quest.h"
#include "floor/floor-util.h"
#include "game-option/birth-options.h"
-#pragma once
+#pragma once
class PlayerType;
void player_wipe_without_name(PlayerType *player_ptr);
-#include "birth/history-editor.h"
+#include "birth/history-editor.h"
#include "io/input-key-acceptor.h"
#include "io/read-pref-file.h"
#include "locale/japanese.h"
-#pragma once
+#pragma once
class PlayerType;
void edit_history(PlayerType *player_ptr);
-#include "birth/history-generator.h"
+#include "birth/history-generator.h"
#include "birth/history.h"
#include "player-info/race-types.h"
#include "system/player-type-definition.h"
-#pragma once
+#pragma once
class PlayerType;
void get_history(PlayerType *player_ptr);
-/*!
+/*!
* @brief 生い立ちメッセージテーブル / Forward declare
* @date 2002/01/12
* @author mogami
-#include "system/angband.h"
+#include "system/angband.h"
#include <vector>
/*!
-#include "birth/initial-equipments-table.h"
+#include "birth/initial-equipments-table.h"
#include "object/tval-types.h"
#include "sv-definition/sv-armor-types.h"
#include "sv-definition/sv-bow-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <tuple>
-#include "birth/inventory-initializer.h"
+#include "birth/inventory-initializer.h"
#include "autopick/autopick.h"
#include "birth/initial-equipments-table.h"
#include "floor/floor-object.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "birth/quick-start.h"
+#include "birth/quick-start.h"
#include "birth/birth-stat.h"
#include "birth/birth-util.h"
#include "birth/game-play-initializer.h"
-#pragma once
+#pragma once
#include "player-info/class-types.h"
#include "player-info/race-types.h"
-/*!
+/*!
* @file blue-magic-ball-bolt.cpp
* @brief 青魔法のボール/ボルト系呪文定義
*/
-#pragma once
+#pragma once
/*!
* @file blue-magic-ball-bolt.h
* @brief 青魔法のボール/ボルト系呪文ヘッダ
-/*!
+/*!
* @file blue-magic-breath.cpp
* @brief 青魔法のブレス系呪文定義
*/
-#pragma once
+#pragma once
/*!
* @file blue-magic-breath.h
* @brief 青魔法のブレス系呪文ヘッダ
-/*!
+/*!
* @file blue-magic-caster.cpp
* @brief 青魔法のその他系統の呪文定義と詠唱時分岐処理
*/
-#pragma once
+#pragma once
/*!
* @file blue-magic-caster.h
* @brief 青魔法のその他系統の呪文定義と詠唱時分岐処理ヘッダ
-/*!
+/*!
* @file blue-magic-checker.cpp
* @brief 青魔法の処理実装 / Blue magic
* @date 2014/01/15
-#pragma once
+#pragma once
/*!
* @file blue-magic-checker.h
* @brief 青魔法の処理ヘッダ / Blue magic
-/*!
+/*!
* @file blue-magic-spirit-curse.cpp
* @brief 青魔法の呪い系処理定義
*/
-#pragma once
+#pragma once
/*!
* @file blue-magic-spirit-curse.h
* @brief 青魔法の呪い系処理ヘッダ
-/*!
+/*!
* @file blue-magic-status.cpp
* @brief 青魔法の状態異常系スペル定義
*/
-#pragma once
+#pragma once
/*!
* @file blue-magic-status.h
* @brief 青魔法の状態異常系スペルヘッダ
-/*!
+/*!
* @file blue-magic-summon.cpp
* @brief 青魔法の召喚系スペル定義
*/
-#pragma once
+#pragma once
/*!
* @file blue-magic-summon.h
* @brief 青魔法の召喚系スペルヘッダ
-/*!
+/*!
* @file blue-magic-util.cpp
* @brief 青魔法の構造体、初期化処理定義
*/
-#pragma once
+#pragma once
/*!
* @file blue-magic-util.h
* @brief 青魔法の構造体、初期化処理ヘッダ
-/*!
+/*!
* @file learnt-info.cpp
* @brief 青魔法の情報表示処理定義
*/
-#pragma once
+#pragma once
/*!
* @file learnt-info.h
* @brief 青魔法の情報表示処理ヘッダ
-/*!
+/*!
* @file learnt-power-getter.cpp
* @brief 青魔法の処理実行定義
*/
-#pragma once
+#pragma once
/*!
* @file learnt-power-getter.h
* @brief 青魔法の処理実行ヘッダ
-/*!
+/*!
* @brief 攻撃コマンド処理
* @date 2020/05/23
* @author Hourier
-#pragma once
+#pragma once
#include "combat/combat-options-type.h"
#include "system/angband.h"
-/*!
+/*!
* @brief 剣術の実装 / Blade arts
* @date 2014/01/17
* @author
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_hissatsu(PlayerType *player_ptr);
-/*!
+/*!
* @brief ものまねの処理実装 / Imitation code
* @date 2014/01/14
* @author
-#pragma once
+#pragma once
class PlayerType;
bool do_cmd_mane(PlayerType *player_ptr, bool baigaesi);
-/*!
+/*!
* @brief 各職業の特殊技能実装 / Special magics
* @date 2014/01/15
* @author
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_mind(PlayerType *player_ptr);
-#include "cmd-action/cmd-move.h"
+#include "cmd-action/cmd-move.h"
#include "action/action-limited.h"
#include "action/movement-execution.h"
#include "action/run-execution.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_go_up(PlayerType *player_ptr);
-#include "cmd-action/cmd-open-close.h"
+#include "cmd-action/cmd-open-close.h"
#include "action/open-close-execution.h"
#include "action/open-util.h"
#include "cmd-action/cmd-attack.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_open(PlayerType *player_ptr);
-/*!
+/*!
* @brief その他の小さなコマンド処理群 (探索、汎用グリッド処理、自殺/引退/切腹)
* @date 2014/01/02
* @author
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_search(PlayerType *player_ptr);
-#include "cmd-action/cmd-pet.h"
+#include "cmd-action/cmd-pet.h"
#include "action/action-limited.h"
#include "cmd-action/cmd-attack.h"
#include "cmd-io/cmd-dump.h"
-#pragma once
+#pragma once
class PlayerType;
bool do_cmd_riding(PlayerType *player_ptr, bool force);
-/*
+/*
* @brief クラス、種族、突然変異に関するコマンド処理
* @author Hourier
* @date 2022/02/24
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_racial_power(PlayerType *player_ptr);
-#include "cmd-action/cmd-shoot.h"
+#include "cmd-action/cmd-shoot.h"
#include "combat/shoot.h"
#include "floor/floor-object.h"
#include "inventory/inventory-slot-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 魔法のインターフェイスと発動 / Purpose: Do everything for each spell
* @date 2013/12/31
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-#include "cmd-action/cmd-travel.h"
+#include "cmd-action/cmd-travel.h"
#include "action/travel-execution.h"
#include "core/asking-player.h"
#include "floor/cave.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_travel(PlayerType *player_ptr);
-#include "cmd-action/cmd-tunnel.h"
+#include "cmd-action/cmd-tunnel.h"
#include "action/tunnel-execution.h"
#include "cmd-action/cmd-attack.h"
#include "core/disturbance.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_tunnel(PlayerType *player_ptr);
-/*!
+/*!
* @brief 町の施設処理 / Building commands
* @date 2013/12/23
* @author
-#pragma once
+#pragma once
#include "object/tval-types.h"
#include "system/angband.h"
-#include "cmd-building/cmd-inn.h"
+#include "cmd-building/cmd-inn.h"
#include "cmd-item/cmd-magiceat.h"
#include "core/turn-compensator.h"
#include "game-option/birth-options.h"
-#pragma once
+#pragma once
class PlayerType;
bool inn_comm(PlayerType *player_ptr, int cmd);
-#include "cmd-io/cmd-autopick.h"
+#include "cmd-io/cmd-autopick.h"
#include "autopick/autopick-command-menu.h"
#include "autopick/autopick-commands-table.h"
#include "autopick/autopick-dirty-flags.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_edit_autopick(PlayerType *player_ptr);
-#include "cmd-io/cmd-diary.h"
+#include "cmd-io/cmd-diary.h"
#include "core/asking-player.h"
#include "core/show-file.h"
#include "game-option/play-record-options.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_diary(PlayerType *player_ptr);
-/*!
+/*!
* @brief プレイヤーのインターフェイスに関するコマンドの実装 / Interface commands
* @date 2014/01/02
* @author
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_pref(PlayerType *player_ptr);
-#include "cmd-io/cmd-floor.h"
+#include "cmd-io/cmd-floor.h"
#include "core/asking-player.h"
#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_target(PlayerType *player_ptr);
-#include "cmd-io/cmd-gameoption.h"
+#include "cmd-io/cmd-gameoption.h"
#include "autopick/autopick.h"
#include "cmd-io/cmd-autopick.h"
#include "cmd-io/cmd-dump.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include "system/game-option-types.h"
-#include "cmd-io/cmd-help.h"
+#include "cmd-io/cmd-help.h"
#include "core/show-file.h"
#include "system/player-type-definition.h"
#include "term/screen-processor.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_help(PlayerType *player_ptr);
-#include "cmd-io/cmd-knowledge.h"
+#include "cmd-io/cmd-knowledge.h"
#include "cmd-visual/cmd-draw.h"
#include "game-option/birth-options.h"
#include "grid/feature.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_knowledge(PlayerType *player_ptr);
-#include "cmd-io/cmd-lore.h"
+#include "cmd-io/cmd-lore.h"
#include "core/asking-player.h"
#include "core/stuff-handler.h"
#include "game-option/cheat-options.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_query_symbol(PlayerType *player_ptr);
-#include "cmd-io/cmd-macro.h"
+#include "cmd-io/cmd-macro.h"
#include "cmd-io/cmd-gameoption.h"
#include "cmd-io/macro-util.h"
#include "core/asking-player.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_macros(PlayerType *player_ptr);
-#include "cmd-io/cmd-menu-content-table.h"
+#include "cmd-io/cmd-menu-content-table.h"
#include "player-info/class-types.h"
#include "util/enum-converter.h"
#include "util/int-char-converter.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <optional>
-/*!
+/*!
* @brief 記念撮影のセーブとロード
* @date 2020/04/22
* @Author Hourier
-#pragma once
+#pragma once
#include <filesystem>
-#include "cmd-io/cmd-save.h"
+#include "cmd-io/cmd-save.h"
#include "cmd-io/cmd-dump.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_save_game(PlayerType *player_ptr, int is_autosave);
-/*
+/*
* @brief 日記のサブタイトルを表すテキストの配列群
* @date 2023/04/22
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-/*
+/*
* @brief 雰囲気を表すテキストの配列群
* @date 2020/03/08
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "cmd-io/macro-util.h"
+#include "cmd-io/macro-util.h"
/* Current macro action [1024] */
std::vector<char> macro_buffers;
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "cmd-item/cmd-destroy.h"
+#include "cmd-item/cmd-destroy.h"
#include "autopick/autopick-registry.h"
#include "autopick/autopick.h"
#include "avatar/avatar.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_destroy(PlayerType *player_ptr);
-/*!
+/*!
* @brief プレイヤーの食べるコマンド実装
* @date 2018/09/07
@ @author deskull
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "cmd-item/cmd-equipment.h"
+#include "cmd-item/cmd-equipment.h"
#include "action/weapon-shield.h"
#include "artifact/fixed-art-types.h"
#include "autopick/autopick.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_equip(PlayerType *player_ptr);
-/*!
+/*!
* @brief プレイヤーのアイテムに関するコマンドの実装1 / Inventory and equipment commands
* @date 2014/01/02
* @author
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_inven(PlayerType *player_ptr);
-/*!
+/*!
* @brief プレイヤーのアイテムに関するコマンドの実装2 / Spell/Prayer commands
* @date 2014/01/27
* @author
-#pragma once
+#pragma once
class PlayerType;
bool do_cmd_magic_eater(PlayerType *player_ptr, bool only_browse, bool powerful);
-/*!
+/*!
* @brief プレイヤーの飲むコマンド実装
* @date 2018/09/07
* @author deskull
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_quaff_potion(PlayerType *player_ptr);
-/*!
+/*!
* @todo いずれcmd-item.c/h に統合したい
* @brief プレイヤーの読むコマンド実装
* @date 2018/09/07
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_read_scroll(PlayerType *player_ptr);
-#include "cmd-item/cmd-refill.h"
+#include "cmd-item/cmd-refill.h"
#include "floor/floor-object.h"
#include "inventory/inventory-object.h"
#include "inventory/inventory-slot-types.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_refill(PlayerType *player_ptr);
-/*
+/*
* @brief アイテム投擲コマンドの実装
* @date 2021/08/20
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "cmd-item/cmd-usestaff.h"
+#include "cmd-item/cmd-usestaff.h"
#include "action/action-limited.h"
#include "floor/floor-object.h"
#include "monster-floor/monster-summon.h"
-#pragma once
+#pragma once
class PlayerType;
int staff_effect(PlayerType *player_ptr, int sval, bool *use_charge, bool powerful, bool magic, bool known);
-#include "cmd-item/cmd-zaprod.h"
+#include "cmd-item/cmd-zaprod.h"
#include "action/action-limited.h"
#include "effect/attribute-types.h"
#include "floor/floor-object.h"
-#pragma once
+#pragma once
class PlayerType;
int rod_effect(PlayerType *player_ptr, int sval, int dir, bool *use_charge, bool powerful);
-#include "cmd-item/cmd-zapwand.h"
+#include "cmd-item/cmd-zapwand.h"
#include "action/action-limited.h"
#include "avatar/avatar.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
class PlayerType;
bool wand_effect(PlayerType *player_ptr, int sval, int dir, bool powerful, bool magic);
-#include "cmd-visual/cmd-draw.h"
+#include "cmd-visual/cmd-draw.h"
#include "core/asking-player.h"
#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_redraw(PlayerType *player_ptr);
-#include "cmd-visual/cmd-map.h"
+#include "cmd-visual/cmd-map.h"
#include "autopick/autopick-methods-table.h"
#include "autopick/autopick-util.h"
#include "io/input-key-acceptor.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_view_map(PlayerType *player_ptr);
-#include "cmd-visual/cmd-visuals.h"
+#include "cmd-visual/cmd-visuals.h"
#include "cmd-visual/cmd-draw.h"
#include "core/asking-player.h"
#include "core/visuals-reseter.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_visuals(PlayerType *player_ptr);
-#include "combat/attack-accuracy.h"
+#include "combat/attack-accuracy.h"
#include "combat/combat-options-type.h"
#include "inventory/inventory-slot-types.h"
#include "main/sound-definitions-table.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "combat/attack-criticality.h"
+#include "combat/attack-criticality.h"
#include "combat/combat-options-type.h"
#include "inventory/inventory-slot-types.h"
#include "main/sound-of-music.h"
-#pragma once
+#pragma once
#include "combat/combat-options-type.h"
#include "main/sound-definitions-table.h"
-#include "combat/attack-power-table.h"
+#include "combat/attack-power-table.h"
/*!
* @brief 修行僧のターンダメージ算出テーブル
-#pragma once
+#pragma once
#include "system/angband.h"
#include "system/system-variables.h"
-/*!
+/*!
* @brief モンスターから直接攻撃を受けた時に、プレイヤーのオーラダメージで反撃する処理
* @date 2020/05/31
* @author Hourier
-#pragma once
+#pragma once
class MonsterAttackPlayer;
class PlayerType;
-#pragma once
+#pragma once
enum combat_options {
HISSATSU_NONE = 0,
-#include "combat/hallucination-attacks-table.h"
+#include "combat/hallucination-attacks-table.h"
/*!
* @brief 幻覚時の打撃記述テーブル / Weird melee attack types when hallucinating
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "combat/martial-arts-table.h"
+#include "combat/martial-arts-table.h"
/*!
* @brief マーシャルアーツ打撃テーブル
*/
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "combat/shoot.h"
+#include "combat/shoot.h"
#include "artifact/fixed-art-types.h"
#include "avatar/avatar.h"
#include "combat/attack-criticality.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-#include "combat/slaying.h"
+#include "combat/slaying.h"
#include "artifact/fixed-art-types.h"
#include "effect/attribute-types.h"
#include "mind/mind-samurai.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "core/asking-player.h"
+#include "core/asking-player.h"
#include "cmd-io/macro-util.h"
#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
#include "util/flag-group.h"
#include <optional>
-#include "core/disturbance.h"
+#include "core/disturbance.h"
#include "action/travel-execution.h"
#include "game-option/disturbance-options.h"
#include "game-option/map-screen-options.h"
-#pragma once
+#pragma once
class PlayerType;
void disturb(PlayerType *player_ptr, bool stop_search, bool flush_output);
-/*
+/*
* @file game-closer.cpp
* @brief ゲーム終了処理
* @author Hourier
-#pragma once
+#pragma once
/*
* @file game-closer.h
-/*!
+/*!
* @brief ゲームプレイのメインルーチン
* @date 2020/05/10
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void play_game(PlayerType *player_ptr, bool new_game, bool browsing_movie);
-#include "core/magic-effects-timeout-reducer.h"
+#include "core/magic-effects-timeout-reducer.h"
#include "game-option/birth-options.h"
#include "mind/mind-force-trainer.h"
#include "mind/mind-magic-resistance.h"
-#pragma once
+#pragma once
class PlayerType;
void reduce_magic_effects_timeout(PlayerType *player_ptr);
-#include "core/object-compressor.h"
+#include "core/object-compressor.h"
#include "core/window-redrawer.h"
#include "floor/floor-object.h"
#include "floor/geometry.h"
-#pragma once
+#pragma once
class PlayerType;
void compact_objects(PlayerType *player_ptr, int size);
-#include "core/player-processor.h"
+#include "core/player-processor.h"
#include "action/run-execution.h"
#include "action/travel-execution.h"
#include "core/disturbance.h"
-#pragma once
+#pragma once
extern bool load; /*!<ロード処理中の分岐フラグ*/
extern bool can_save;
-#include "core/score-util.h"
+#include "core/score-util.h"
#include "system/dungeon-info.h"
#include "system/floor-type-definition.h"
#include "system/player-type-definition.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @file scores.c
* @brief ハイスコア処理 / Highscores handling
* @date 2014/07/14
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "core/show-file.h"
+#include "core/show-file.h"
#include "core/asking-player.h"
#include "io/files-util.h"
#include "io/input-key-acceptor.h"
-#pragma once
+#pragma once
#include <stdint.h>
#include <string_view>
-#pragma once
+#pragma once
/*
* Special internal key
-#include "core/speed-table.h"
+#include "core/speed-table.h"
#include <vector>
/*!
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "core/stuff-handler.h"
+#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
#include "player/player-status.h"
#include "system/player-type-definition.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "core/turn-compensator.h"
+#include "core/turn-compensator.h"
#include "floor/floor-town.h"
#include "player-info/race-types.h"
#include "store/store-owners.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "core/visuals-reseter.h"
+#include "core/visuals-reseter.h"
#include "game-option/special-options.h"
#include "io/read-pref-file.h"
#include "monster-race/monster-race.h"
-#pragma once
+#pragma once
class PlayerType;
void reset_visuals(PlayerType *player_ptr);
-/*!
+/*!
* @brief ウィンドウの再描画処理
* @date 2020/06/27
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
#include "dungeon/dungeon-flag-types.h"
#include "util/flag-group.h"
-#pragma once
+#pragma once
enum class DungeonFeatureType {
WINNER,
-#include "dungeon/dungeon-processor.h"
+#include "dungeon/dungeon-processor.h"
#include "cmd-building/cmd-building.h"
#include "cmd-io/cmd-dump.h"
#include "core/disturbance.h"
-#pragma once
+#pragma once
class PlayerType;
void process_dungeon(PlayerType *player_ptr, bool load_game);
-#include "dungeon/quest-completion-checker.h"
+#include "dungeon/quest-completion-checker.h"
#include "dungeon/quest.h"
#include "effect/effect-characteristics.h"
#include "floor/cave.h"
-#pragma once
+#pragma once
#include "dungeon/quest.h"
#include "system/angband.h"
-#include "dungeon/quest-monster-placer.h"
+#include "dungeon/quest-monster-placer.h"
#include "dungeon/quest.h"
#include "floor/floor-generator-util.h"
#include "floor/geometry.h"
-#pragma once
+#pragma once
class PlayerType;
bool place_quest_monsters(PlayerType *player_ptr);
-#include "dungeon/quest.h"
+#include "dungeon/quest.h"
#include "artifact/fixed-art-types.h"
#include "cmd-io/cmd-dump.h"
#include "core/asking-player.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include "util/enum-converter.h"
-#pragma once
+#pragma once
#include "util/flag-group.h"
enum class AttributeType : int {
-#pragma once
+#pragma once
/*
* project()関数に用いられる、遠隔攻撃特性ビットフラグ / Bit flags for the "project()" function
-#include "effect/effect-feature.h"
+#include "effect/effect-feature.h"
#include "dungeon/dungeon-flag-types.h"
#include "effect/effect-characteristics.h"
#include "effect/effect-processor.h" // 暫定、後で消す.
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-#include "effect/effect-item.h"
+#include "effect/effect-item.h"
#include "autopick/autopick.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-#include "effect/effect-monster-charm.h"
+#include "effect/effect-monster-charm.h"
#include "avatar/avatar.h"
#include "dungeon/quest.h"
#include "effect/effect-monster-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <optional>
-#include "effect/effect-monster-curse.h"
+#include "effect/effect-monster-curse.h"
#include "effect/effect-monster-util.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-indice-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "effect/effect-monster-evil.h"
+#include "effect/effect-monster-evil.h"
#include "effect/effect-monster-util.h"
#include "monster-race/monster-race-hook.h"
#include "monster-race/monster-race.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "effect/effect-monster-lite-dark.h"
+#include "effect/effect-monster-lite-dark.h"
#include "effect/effect-monster-util.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-flags-resistance.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "effect/effect-monster-oldies.h"
+#include "effect/effect-monster-oldies.h"
#include "avatar/avatar.h"
#include "effect/effect-monster-util.h"
#include "monster-floor/monster-generator.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "effect/effect-monster-psi.h"
+#include "effect/effect-monster-psi.h"
#include "core/window-redrawer.h"
#include "effect/effect-monster-util.h"
#include "floor/line-of-sight.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "effect/effect-monster-resist-hurt.h"
+#include "effect/effect-monster-resist-hurt.h"
#include "effect/effect-monster-util.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-brightness-flags.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "effect/effect-monster-spirit.h"
+#include "effect/effect-monster-spirit.h"
#include "effect/effect-monster-util.h"
#include "hpmp/hp-mp-processor.h"
#include "monster-race/monster-race.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* 本ファイル内の行数はまともなレベルに落ち着いているので、一旦ここに留め置くこととする
* @brief 魔法種別による各種処理切り替え
* @date 2020/04/29
-#pragma once
+#pragma once
#include "system/angband.h"
#include <optional>
-/*!
+/*!
* @brief effect_monster_type構造体の初期化処理
* @date 2020/04/29
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-/*!
+/*!
* @brief 魔法によるモンスターへの効果まとめ
* @date 2020/04/29
* @author Hourier
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-#include "effect/effect-player-curse.h"
+#include "effect/effect-player-curse.h"
#include "blue-magic/blue-magic-checker.h"
#include "effect/effect-player.h"
#include "mind/mind-mirror-master.h"
-#pragma once
+#pragma once
class EffectPlayerType;
class PlayerType;
-#include "effect/effect-player-oldies.h"
+#include "effect/effect-player-oldies.h"
#include "effect/effect-player.h"
#include "game-option/birth-options.h"
#include "hpmp/hp-mp-processor.h"
-#pragma once
+#pragma once
class EffectPlayerType;
class PlayerType;
-#include "effect/effect-player-resist-hurt.h"
+#include "effect/effect-player-resist-hurt.h"
#include "artifact/fixed-art-types.h"
#include "blue-magic/blue-magic-checker.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
#include <string_view>
-#include "effect/effect-player-spirit.h"
+#include "effect/effect-player-spirit.h"
#include "blue-magic/blue-magic-checker.h"
#include "core/window-redrawer.h"
#include "effect/effect-player.h"
-#pragma once
+#pragma once
class EffectPlayerType;
class PlayerType;
-#include "effect/effect-player-switcher.h"
+#include "effect/effect-player-switcher.h"
#include "effect/attribute-types.h"
#include "effect/effect-player-curse.h"
#include "effect/effect-player-oldies.h"
-#pragma once
+#pragma once
class EffectPlayerType;
class PlayerType;
-/*!
+/*!
* @brief 魔法によるプレイヤーへの効果まとめ
* @date 2020/04/29
* @author Hourier
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-#include "effect/effect-processor.h"
+#include "effect/effect-processor.h"
#include "core/stuff-handler.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-#include "effect/spells-effect-util.h"
+#include "effect/spells-effect-util.h"
#include "monster-race/race-indice-types.h"
int rakubadam_m;
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-#pragma once
+#pragma once
// MSVCの警告レベルを最大に設定してあるためjson.hppが大量の警告を
// 出力してしまうのでヘッダのインクルード時のみ警告を抑制しておく
-// __ _____ _____ _____
+// __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
-#include "flavor/flag-inscriptions-table.h"
+#include "flavor/flag-inscriptions-table.h"
#include "object-enchant/tr-types.h"
#ifdef JP
-#pragma once
+#pragma once
#include <optional>
#include <vector>
-/*!
+/*!
* @brief 武器/防具/アクセサリアイテムにおける、耐性やスレイ等の表記
* @date 2020/07/06
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-#include "flavor/flavor-util.h"
+#include "flavor/flavor-util.h"
#include "flavor/flag-inscriptions-table.h"
#include "object-enchant/tr-flags.h"
#include "object-enchant/tr-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "flavor/named-item-describer.h"
+#include "flavor/named-item-describer.h"
#include "artifact/fixed-art-types.h"
#include "flavor/flavor-util.h"
#include "flavor/object-flavor-types.h"
-#pragma once
+#pragma once
#include <string>
-#pragma once
+#pragma once
enum object_description_type {
OD_NAME_ONLY = 0x00000001, /* Omit values, pval, inscription */
-/*!
+/*!
* @brief オブジェクトの記述処理 / Mbject flavor code
* @date 2014/01/03
* @author
-#pragma once
+#pragma once
#include <string>
-/*!
+/*!
* @brief 個々のアイテム種別について、未鑑定名/鑑定後の正式な名前を取得する処理
* @date 2020/07/07
* @author Hourier
-#pragma once
+#pragma once
#include <string>
#include <utility>
-#include "floor/cave-generator.h"
+#include "floor/cave-generator.h"
#include "dungeon/dungeon-flag-types.h"
#include "dungeon/quest-monster-placer.h"
#include "floor/dungeon-tunnel-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief ダンジョンの壁等に関する判定関数の集合
* @date 2020/07/18
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "floor/dungeon-tunnel-util.h"
+#include "floor/dungeon-tunnel-util.h"
#include "system/angband.h"
/*
-#pragma once
+#pragma once
struct dt_type {
int dun_tun_rnd; /*!< ダンジョンの通路方向を掻き回す頻度(一回の試行ごとに%で判定している) */
-#include "floor/fixed-map-generator.h"
+#include "floor/fixed-map-generator.h"
#include "artifact/fixed-art-generator.h"
#include "artifact/fixed-art-types.h"
#include "dungeon/quest.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
/* Dungeon allocation "places" */
enum dap_type : int {
-#pragma once
+#pragma once
/*!
* @brief ダンジョンの最深層 / Maximum dungeon level.
-#include "floor/floor-changer.h"
+#include "floor/floor-changer.h"
#include "action/travel-execution.h"
#include "dungeon/quest-monster-placer.h"
#include "dungeon/quest.h"
-#pragma once
+#pragma once
class PlayerType;
void change_floor(PlayerType *player_ptr);
-#include "floor/floor-events.h"
+#include "floor/floor-events.h"
#include "cmd-io/cmd-dump.h"
#include "core/disturbance.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
class PlayerType;
class FloorType;
-#pragma once
+#pragma once
#define SAFE_MAX_ATTEMPTS 5000 /*!< 生成処理基本試行回数 */
-/*!
+/*!
* @brief ダンジョンの生成 / Dungeon generation
* @date 2014/01/04
* @author
-#pragma once
+#pragma once
class FloorType;
class PlayerType;
-#include "floor/floor-leaver.h"
+#include "floor/floor-leaver.h"
#include "cmd-building/cmd-building.h"
#include "floor/cave.h"
#include "floor/floor-events.h"
-#pragma once
+#pragma once
class PlayerType;
void leave_floor(PlayerType *player_ptr);
-#include "floor/floor-mode-changer.h"
+#include "floor/floor-mode-changer.h"
#include "system/player-type-definition.h"
/*!
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief フロア生成時にアイテムを配置する
* @date 2020/06/01
* @author Hourier
-#pragma once
+#pragma once
#include "object/item-tester-hooker.h"
#include "system/angband.h"
-#include "floor/floor-save-util.h"
+#include "floor/floor-save-util.h"
/*
* Sign for current process used in temporary files.
-#pragma once
+#pragma once
#include "system/angband.h"
#include "system/monster-entity.h"
-/*!
+/*!
* @brief 保存された階の管理 / management of the saved floor
* @date 2014/01/04
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief ダンジョン生成に利用する関数群 / Used by dungeon generation.
* @date 2014/07/15
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "floor/floor-town.h"
+#include "floor/floor-town.h"
#include "system/item-entity.h"
/* The towns [towns_info.size()] */
-#pragma once
+#pragma once
#include "store/store-util.h"
#include "system/angband.h"
-/*!
+/*!
* @brief フロア全体の処理に関するユーティリティ
* @date 2019/04/24
* @author deskull
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-#include "floor/geometry.h"
+#include "floor/geometry.h"
#include "floor/cave.h"
#include "game-option/text-display-options.h"
#include "grid/feature.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "floor/line-of-sight.h"
+#include "floor/line-of-sight.h"
#include "floor/cave.h"
#include "system/floor-type-definition.h"
#include "system/player-type-definition.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "floor/object-allocator.h"
+#include "floor/object-allocator.h"
#include "dungeon/quest.h"
#include "floor/cave.h"
#include "floor/dungeon-tunnel-util.h"
-#pragma once
+#pragma once
#include "floor/floor-allocation-types.h"
#include "system/angband.h"
-#include "floor/object-scanner.h"
+#include "floor/object-scanner.h"
#include "flavor/flavor-describer.h"
#include "floor/cave.h"
#include "game-option/text-display-options.h"
-#pragma once
+#pragma once
#include "object/tval-types.h"
#include "system/angband.h"
-#include "floor/pattern-walk.h"
+#include "floor/pattern-walk.h"
#include "cmd-io/cmd-save.h"
#include "core/asking-player.h"
#include "dungeon/quest.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "floor/tunnel-generator.h"
+#include "floor/tunnel-generator.h"
#include "floor/cave.h"
#include "floor/dungeon-tunnel-util.h"
#include "floor/geometry.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 荒野マップの生成とルール管理 / Wilderness generation
* @date 2014/02/13
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
#include <vector>
-#include "game-option/auto-destruction-options.h"
+#include "game-option/auto-destruction-options.h"
bool destroy_items; /* Use easy auto-destroyer */
bool destroy_feeling; /* Apply auto-destroy as sense feeling */
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "game-option/birth-options.h"
+#include "game-option/birth-options.h"
bool smart_learn; /* Monsters learn from their mistakes (*) */
bool smart_cheat; /* Monsters exploit players weaknesses (*) */
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "game-option/cheat-options.h"
+#include "game-option/cheat-options.h"
bool cheat_peek; /* Peek into object creation */
bool cheat_hear; /* Peek into monster creation */
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
enum cheat_type {
CHEAT_OBJECT = 0,
-#include "game-option/disturbance-options.h"
+#include "game-option/disturbance-options.h"
bool find_ignore_stairs; /* Run past stairs */
bool find_ignore_doors; /* Run through open doors */
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "game-option/game-play-options.h"
+#include "game-option/game-play-options.h"
bool stack_force_notes; /* Merge inscriptions when stacking */
bool stack_force_costs; /* Merge discounts when stacking */
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "game-option/input-options.h"
+#include "game-option/input-options.h"
bool rogue_like_commands; /* Rogue-like commands */
bool always_pickup; /* Pick things up by default */
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "game-option/keymap-directory-getter.h"
+#include "game-option/keymap-directory-getter.h"
#include "game-option/input-options.h"
#include "io/input-key-requester.h"
#include "system/angband.h"
-#pragma once
+#pragma once
enum keymap_mode {
KEYMAP_MODE_ORIG = 0, /*!< オリジナルキー配置 / Mode for original keyset commands */
-#include "game-option/map-screen-options.h"
+#include "game-option/map-screen-options.h"
bool center_player; /* Center map while walking (*slow*) */
bool center_running; /* Centering even while running */
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "game-option/option-flags.h"
+#include "game-option/option-flags.h"
#include "system/redrawing-flags-updater.h"
std::array<uint32_t, MAX_WINDOW_ENTITIES> g_option_flags = {};
-#pragma once
+#pragma once
#include "system/redrawing-flags-updater.h"
#include "util/flag-group.h"
-#include "game-option/option-types-table.h"
+#include "game-option/option-types-table.h"
#include "game-option/auto-destruction-options.h"
#include "game-option/birth-options.h"
#include "game-option/cheat-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <vector>
-#include "game-option/play-record-options.h"
+#include "game-option/play-record-options.h"
bool record_fix_art; /* Record fixed artifacts */
bool record_rand_art; /* Record random artifacts */
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "game-option/runtime-arguments.h"
+#include "game-option/runtime-arguments.h"
bool arg_sound; /* Command arg -- Request special sounds */
int arg_sound_volume_table_index;
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "game-option/special-options.h"
+#include "game-option/special-options.h"
byte hitpoint_warn; /* Hitpoint warning (0 to 9) */
byte mana_warn; /* Mana color (0 to 9) */
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "game-option/text-display-options.h"
+#include "game-option/text-display-options.h"
bool plain_descriptions; /* Plain object descriptions */
bool plain_pickup; /* Plain pickup messages(japanese only) */
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "grid/door.h"
+#include "grid/door.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor/cave.h"
#include "grid/feature.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "grid/feature-action-flags.h"
+#include "grid/feature-action-flags.h"
/*!
* @brief 地形状態フラグテーブル /
-#pragma once
+#pragma once
#include "grid/feature-flag-types.h"
#include "system/angband.h"
-#pragma once
+#pragma once
#include "util/enum-converter.h"
-#include "grid/feature-generator.h"
+#include "grid/feature-generator.h"
#include "dungeon/dungeon-flag-mask.h"
#include "dungeon/dungeon-flag-types.h"
#include "dungeon/quest.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "grid/feature.h"
+#include "grid/feature.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor/cave.h"
#include "floor/geometry.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-/*!
+/*!
* @brief グリッドの実装 / low level dungeon routines -BEN-
* @date 2013/12/30
* @author
-#pragma once
+#pragma once
/*!
* @file grid.h
-#include "grid/lighting-colors-table.h"
+#include "grid/lighting-colors-table.h"
#include "term/term-color-types.h"
/*!
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "grid/object-placer.h"
+#include "grid/object-placer.h"
#include "floor/cave.h"
#include "floor/floor-object.h"
#include "grid/grid.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "grid/stair.h"
+#include "grid/stair.h"
#include "dungeon/quest.h"
#include "floor/cave.h"
#include "game-option/birth-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "grid/trap.h"
+#include "grid/trap.h"
#include "cmd-io/cmd-dump.h"
#include "cmd-io/cmd-save.h"
#include "core/disturbance.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include "util/flag-group.h"
-#include "hpmp/hp-mp-processor.h"
+#include "hpmp/hp-mp-processor.h"
#include "avatar/avatar.h"
#include "cmd-action/cmd-pet.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
class PlayerType;
void process_player_hp_mp(PlayerType *player_ptr);
-#include "hpmp/hp-mp-regenerator.h"
+#include "hpmp/hp-mp-regenerator.h"
#include "cmd-item/cmd-magiceat.h"
#include "core/window-redrawer.h"
#include "inventory/inventory-slot-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "info-reader/artifact-reader.h"
+#include "info-reader/artifact-reader.h"
#include "artifact/fixed-art-types.h"
#include "artifact/random-art-effects.h"
#include "info-reader/baseitem-tokens-table.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-/*
+/*
* @brief ベースアイテム定義の読み込み処理
* @author Hourier
* @date 2022/10/10
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-#include "info-reader/baseitem-tokens-table.h"
+#include "info-reader/baseitem-tokens-table.h"
// clang-format off
/*!
-#pragma once
+#pragma once
#include "object-enchant/tr-types.h"
#include "object-enchant/trg-types.h"
-#include "info-reader/dungeon-info-tokens-table.h"
+#include "info-reader/dungeon-info-tokens-table.h"
#include "dungeon/dungeon-flag-types.h"
/*!
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "info-reader/dungeon-reader.h"
+#include "info-reader/dungeon-reader.h"
#include "grid/feature.h"
#include "info-reader/dungeon-info-tokens-table.h"
#include "info-reader/feature-reader.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-#include "info-reader/ego-reader.h"
+#include "info-reader/ego-reader.h"
#include "artifact/random-art-effects.h"
#include "info-reader/baseitem-tokens-table.h"
#include "info-reader/info-reader-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-#include "info-reader/feature-info-tokens-table.h"
+#include "info-reader/feature-info-tokens-table.h"
/*!
* @brief 地形属性トークンの定義 / Feature info flags
-#pragma once
+#pragma once
#include "grid/feature-flag-types.h"
#include "system/angband.h"
-#include "info-reader/feature-reader.h"
+#include "info-reader/feature-reader.h"
#include "floor/wild.h"
#include "grid/feature.h"
#include "grid/grid.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-/*!
+/*!
* @brief ゲームデータ初期化1 / Initialization (part 1) -BEN-
* @date 2014/01/28
* @author
-#pragma once
+#pragma once
#include <set>
#include <string_view>
-#include "info-reader/general-parser.h"
+#include "info-reader/general-parser.h"
#include "artifact/fixed-art-types.h"
#include "dungeon/quest.h"
#include "grid/feature.h"
-#pragma once
+#pragma once
#include "object-enchant/object-ego.h"
#include "system/angband.h"
-#include "info-reader/info-reader-util.h"
+#include "info-reader/info-reader-util.h"
#include "artifact/random-art-effects.h"
#include "main/angband-headers.h"
#include "object-enchant/activation-info-table.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include "util/bit-flags-calculator.h"
-#include "info-reader/magic-reader.h"
+#include "info-reader/magic-reader.h"
#include "info-reader/info-reader-util.h"
#include "info-reader/parse-error-types.h"
#include "main/angband-headers.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-#pragma once
+#pragma once
enum parse_error_type : int {
PARSE_ERROR_NONE = 0,
-#include "info-reader/race-info-tokens-table.h"
+#include "info-reader/race-info-tokens-table.h"
#include "monster-attack/monster-attack-effect.h"
#include "monster-attack/monster-attack-table.h"
#include "monster-race/race-ability-flags.h"
-#pragma once
+#pragma once
#include "monster-attack/monster-attack-effect.h"
#include "monster-attack/monster-attack-table.h"
-#include "info-reader/race-reader.h"
+#include "info-reader/race-reader.h"
#include "info-reader/info-reader-util.h"
#include "info-reader/parse-error-types.h"
#include "info-reader/race-info-tokens-table.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-#pragma once
+#pragma once
/* Random dungeon grid effects */
enum rdge_type {
-#include "info-reader/skill-reader.h"
+#include "info-reader/skill-reader.h"
#include "info-reader/info-reader-util.h"
#include "info-reader/parse-error-types.h"
#include "main/angband-headers.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-#include "info-reader/vault-reader.h"
+#include "info-reader/vault-reader.h"
#include "info-reader/info-reader-util.h"
#include "info-reader/parse-error-types.h"
#include "main/angband-headers.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-/*!
+/*!
* @brief オブジェクト選択処理
* @date 2020/07/02
* @author Hourier
-#pragma once
+#pragma once
#include "object/tval-types.h"
#include "system/angband.h"
-#include "inventory/inventory-curse.h"
+#include "inventory/inventory-curse.h"
#include "artifact/fixed-art-types.h"
#include "core/asking-player.h"
#include "core/disturbance.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "inventory/inventory-damage.h"
+#include "inventory/inventory-damage.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
#include "inventory/inventory-object.h"
-#pragma once
+#pragma once
#include "object/object-broken.h"
-#include "inventory/inventory-describer.h"
+#include "inventory/inventory-describer.h"
#include "game-option/birth-options.h"
#include "inventory/inventory-slot-types.h"
#include "player/player-status-flags.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "inventory/inventory-object.h"
+#include "inventory/inventory-object.h"
#include "core/window-redrawer.h"
#include "flavor/flavor-describer.h"
#include "floor/floor-object.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
enum inventory_slot_type {
INVEN_PACK = 23, /*!< アイテムスロット…所持品(0~) */
-/*!
+/*!
* @brief インベントリ関係のユーティリティ
* @date 2020/07/02
* @author Hourier
-#pragma once
+#pragma once
#include "object/tval-types.h"
#include "system/angband.h"
-#include "inventory/item-getter.h"
+#include "inventory/item-getter.h"
#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
#include "game-option/input-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "inventory/item-selection-util.h"
+#include "inventory/item-selection-util.h"
#include "io/input-key-requester.h"
#include "object/item-use-flags.h"
-#pragma once
+#pragma once
#include "object/tval-types.h"
#include "system/angband.h"
-#include "inventory/pack-overflow.h"
+#include "inventory/pack-overflow.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
#include "flavor/flavor-describer.h"
-#pragma once
+#pragma once
class PlayerType;
void pack_overflow(PlayerType *player_ptr);
-#include "inventory/player-inventory.h"
+#include "inventory/player-inventory.h"
#include "autopick/autopick.h"
#include "core/asking-player.h"
#include "core/disturbance.h"
-#pragma once
+#pragma once
#include "object/tval-types.h"
#include "system/angband.h"
-#include "inventory/recharge-processor.h"
+#include "inventory/recharge-processor.h"
#include "core/disturbance.h"
#include "core/window-redrawer.h"
#include "flavor/flavor-describer.h"
-#pragma once
+#pragma once
class PlayerType;
void recharge_magic_items(PlayerType *player_ptr);
-#include "io-dump/character-dump.h"
+#include "io-dump/character-dump.h"
#include "artifact/fixed-art-types.h"
#include "avatar/avatar.h"
#include "cmd-building/cmd-building.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "io-dump/dump-remover.h"
+#include "io-dump/dump-remover.h"
#include "io-dump/dump-util.h"
#include "io/read-pref-file.h"
#include "term/z-form.h"
-#pragma once
+#pragma once
#include <filesystem>
#include <string_view>
-#include "io-dump/dump-util.h"
+#include "io-dump/dump-util.h"
#include "floor/geometry.h"
#include "game-option/keymap-directory-getter.h"
#include "game-option/special-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include "system/terrain-type-definition.h"
-#include "io-dump/player-status-dump.h"
+#include "io-dump/player-status-dump.h"
#include "view/display-player.h"
/*!
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "io-dump/random-art-info-dumper.h"
+#include "io-dump/random-art-info-dumper.h"
#include "floor/floor-town.h"
#include "inventory/inventory-slot-types.h"
#include "io/files-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 一部職業でのみダンプする能力の出力処理
* @date 2020/03/07
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "io/command-repeater.h"
+#include "io/command-repeater.h"
#include "io/input-key-requester.h"
#include "util/int-char-converter.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "io/cursor.h"
+#include "io/cursor.h"
#include "core/stuff-handler.h"
#include "effect/effect-characteristics.h"
#include "effect/spells-effect-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 異常発生時のゲーム緊急終了処理
* @date 2020/03/01
* @author Hourier
-#pragma once
+#pragma once
/*
* Windowsのコードからは呼ばれない。よってVSからは見えない
*/
-/*!
+/*!
* @brief ファイル入出力管理 / Purpose: code dealing with files (and death)
* @date 2014/01/28
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
#include <filesystem>
-/*!
+/*!
* @brief Index of spell type names
*/
-#pragma once
+#pragma once
#include <string>
#include <vector>
-#include "io/input-key-acceptor.h"
+#include "io/input-key-acceptor.h"
#include "cmd-io/macro-util.h"
#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief キー入力に応じてゲーム内コマンドを実行する
* @date 2022/02/20
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
bool enter_wizard_mode(PlayerType *player_ptr);
-#include "io/input-key-requester.h"
+#include "io/input-key-requester.h"
#include "cmd-io/cmd-menu-content-table.h"
#include "cmd-io/macro-util.h"
#include "core/asking-player.h" //!< @todo 相互依存している、後で何とかする.
-#pragma once
+#pragma once
#include "game-option/keymap-directory-getter.h"
#include "system/angband.h"
-/*!
+/*!
* @brief prefファイルの内容を解釈しメモリに展開する
* @date 2020/03/01
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 突然変異の一覧を出力する
* @date 2020/04/24
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "io/pref-file-expressor.h"
+#include "io/pref-file-expressor.h"
#include "game-option/runtime-arguments.h"
#include "player-info/class-info.h"
#include "player-info/race-info.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*
+/*
* @brief プレイヤーのインターフェイスに関するコマンドの実装 / Interface commands
* @date 2023/04/30
* @author Mogami & Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
#include <filesystem>
-/*!
+/*!
* @brief 録画・再生機能
* @date 2014/01/02
* @author 2014 Deskull rearranged comment for Doxygen.
-#pragma once
+#pragma once
#include <filesystem>
#include <string_view>
-/*!
+/*!
* @file report.c
* @brief スコアサーバ転送機能の実装
* @date 2014/07/14
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 画面描画のユーティリティ
* @date 2018/09/25
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @file signal-handlers.c
* @brief シグナルハンドラの管理 / Controlling signal handlers
* @date 2020/02/23
-#pragma once
+#pragma once
#include "system/angband.h"
extern int16_t signal_count;
-#include "io/tokenizer.h"
+#include "io/tokenizer.h"
/*!
* @brief 各種データテキストをトークン単位に分解する / Extract the first few "tokens" from a buffer
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "io/uid-checker.h"
+#include "io/uid-checker.h"
#include "system/angband.h"
#if defined(SET_UID) && defined(SAFE_SETUID) && defined(SAFE_SETUID_POSIX)
#include "main-unix/unix-user-ids.h"
-#pragma once
+#pragma once
void safe_setuid_drop();
void safe_setuid_grab();
-/*!
+/*!
* @brief 日記へのメッセージ追加処理
* @date 2020/03/08
* @author Hourier
-#pragma once
+#pragma once
#include <string_view>
#ifdef JP
-/*!
+/*!
* @brief アイテムのフレーバー初期化 (未鑑定名のシャッフル処理)
* @author Hourier
* @date 2022/12/28
-#pragma once
+#pragma once
void initialize_items_flavor();
-/*!
+/*!
* @brief 自動拾いの登録状況を表示する
* @date 2020/04/23
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_reload_autopick(PlayerType *player_ptr);
-/*!
+/*!
* @brief 技能の経験を表示する
* @date 2020/04/23
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_knowledge_weapon_exp(PlayerType *player_ptr);
-/*!
+/*!
* @brief 地形に関する情報を表示する
* @date 2020/04/24
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*
+/*
* @brief 装備の耐性を表示する
* @date 2020/04/20
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_knowledge_inventory(PlayerType *player_ptr);
-/*!
+/*!
* @brief 既知のアイテムとアーティファクトを表示する
* @date 2020/04/23
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_knowledge_artifacts(PlayerType *player_ptr);
-/*!
+/*!
* @file knowledge-monsters.cpp
* @brief 既知のモンスターに関する情報を表示する
* @date 2020/04/24
-#pragma once
+#pragma once
#include "system/angband.h"
#include <optional>
-/*!
+/*!
* @brief 突然変異の一覧を出力する
* @date 2020/04/24
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_knowledge_mutations(PlayerType *player_ptr);
-/*!
+/*!
* @brief 既知のクエストを表示する
* @date 2020/04/23
* @author Hourier
-#pragma once
+#pragma once
#include "dungeon/quest.h"
#include "system/angband.h"
-/*!
+/*!
* @brief 自己に関する情報を表示する
* @date 2020/04/24
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_knowledge_virtues(PlayerType *player_ptr);
-/*!
+/*!
* @brief 既知/存命のユニークを表示する
* @date 2020/04/23
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_knowledge_uniques(PlayerType *player_ptr, bool is_alive);
-#include "knowledge/lighting-level-table.h"
+#include "knowledge/lighting-level-table.h"
/*!
* @brief キャラクタ色の明暗表現
-#pragma once
+#pragma once
#include "system/angband.h"
#include "system/terrain-type-definition.h"
-/*
+/*
* @brief シンボルテキストの配列群
* @date 2020/03/08
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*
+/*
* @brief オブジェクト種別を表すテキストの配列群
* @date 2020/03/08
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
#include <vector>
-#include "load/angband-version-comparer.h"
+#include "load/angband-version-comparer.h"
#include "system/angband-version.h"
#include "world/world.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "load/birth-loader.h"
+#include "load/birth-loader.h"
#include "birth/quick-start.h"
#include "load/angband-version-comparer.h"
#include "load/load-util.h"
-#pragma once
+#pragma once
void load_quick_start(void);
-#include "load/dummy-loader.h"
+#include "load/dummy-loader.h"
#include "load/angband-version-comparer.h"
#include "load/load-util.h"
#include "load/monster/monster-loader-factory.h"
-#pragma once
+#pragma once
class PlayerType;
void rd_dummy1(void);
-#include "load/dungeon-loader.h"
+#include "load/dungeon-loader.h"
#include "dungeon/quest.h"
#include "floor/floor-save-util.h"
#include "floor/floor-save.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief その他の情報を読み込む処理
* @date 2020/07/05
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void rd_extra(PlayerType *player_ptr);
-#include "load/floor-loader.h"
+#include "load/floor-loader.h"
#include "floor/floor-generator.h"
#include "floor/floor-object.h"
#include "floor/floor-save-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "load/info-loader.h"
+#include "load/info-loader.h"
#include "game-option/runtime-arguments.h"
#include "load/angband-version-comparer.h"
#include "load/load-util.h"
-#pragma once
+#pragma once
void rd_version_info(void);
void rd_randomizer(void);
-#include "load/inventory-loader.h"
+#include "load/inventory-loader.h"
#include "inventory/inventory-slot-types.h"
#include "load/item/item-loader-factory.h"
#include "load/load-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "load/item/item-loader-base.h"
+#include "load/item/item-loader-base.h"
#include "artifact/fixed-art-types.h"
#include "load/angband-version-comparer.h"
#include "load/load-util.h"
-#pragma once
+#pragma once
class ItemEntity;
class ItemLoaderBase {
-/*!
+/*!
* @brief アイテム情報をセーブデータから読み込むクラスを選択するファクトリクラス
* @date 2021/10/16
* @author Hourier
-#pragma once
+#pragma once
#include <memory>
-#pragma once
+#pragma once
enum class ItemLoaderVersionType {
LOAD50,
-#include "load/load-util.h"
+#include "load/load-util.h"
#include "locale/japanese.h"
#include "term/gameterm.h"
#include "term/screen-processor.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "load/load-zangband.h"
+#include "load/load-zangband.h"
#include "avatar/avatar.h"
#include "cmd-building/cmd-building.h"
#include "dungeon/quest.h"
-#pragma once
+#pragma once
#include "dungeon/quest.h"
#include "system/angband.h"
-/*!
+/*!
* @brief セーブファイル読み込み処理 / Purpose: support for loading savefiles -BEN-
* @date 2014/07/07
* @author
-#pragma once
+#pragma once
class PlayerType;
bool load_savedata(PlayerType *player_ptr, bool *new_game);
-#include "load/lore-loader.h"
+#include "load/lore-loader.h"
#include "game-option/runtime-arguments.h"
#include "load/angband-version-comparer.h"
#include "load/load-util.h"
-#pragma once
+#pragma once
void load_lore(void);
-#pragma once
+#pragma once
class MonsterEntity;
class PlayerType;
-/*!
+/*!
* @brief モンスター情報をセーブデータから読み込むクラスを選択するファクトリクラス
* @date 2021/10/16
* @author Hourier
-#pragma once
+#pragma once
#include <memory>
-#pragma once
+#pragma once
enum class MonsterLoaderVersionType {
LOAD50,
-#pragma once
+#pragma once
/*** Terrain Feature Index (see "lib/edit/TerrainDefinitions.txt") ***/
enum old_feature_type {
-#pragma once
+#pragma once
enum class SaveDataItemFlagType : unsigned int {
PVAL = 0x00000001,
-#include "load/old/item-loader-savefile50.h"
+#include "load/old/item-loader-savefile50.h"
#include "artifact/fixed-art-types.h"
#include "game-option/runtime-arguments.h"
#include "load/angband-version-comparer.h"
-#pragma once
+#pragma once
#include "load/item/item-loader-base.h"
-/*!
+/*!
* @brief 変愚蛮怒 v1.5.0以前の旧いセーブデータを読み込む処理
* @date 2020/07/04
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
#include "system/monster-entity.h"
-#include "load/old/load-v1-7-0.h"
+#include "load/old/load-v1-7-0.h"
#include "game-option/birth-options.h"
#include "load/load-util.h"
#include "load/old/load-v1-5-0.h"
-#pragma once
+#pragma once
class PlayerType;
void set_hp_old(PlayerType *player_ptr);
-#pragma once
+#pragma once
enum class SaveDataMonsterFlagType {
AP_R_IDX = 0x00000001,
-#include "load/old/monster-loader-savefile50.h"
+#include "load/old/monster-loader-savefile50.h"
#include "load/angband-version-comparer.h"
#include "load/load-util.h"
#include "load/old/load-v1-5-0.h"
-#pragma once
+#pragma once
#include "load/monster/monster-loader-base.h"
-#include "load/option-loader.h"
+#include "load/option-loader.h"
#include "cmd-io/cmd-gameoption.h"
#include "game-option/cheat-options.h"
#include "game-option/option-flags.h"
-#pragma once
+#pragma once
void rd_options();
-#include "load/player-attack-loader.h"
+#include "load/player-attack-loader.h"
#include "load/angband-version-comparer.h"
#include "load/load-util.h"
#include "load/load-zangband.h"
-#pragma once
+#pragma once
class PlayerType;
void rd_special_attack(PlayerType *player_ptr);
-#include "load/player-class-specific-data-loader.h"
+#include "load/player-class-specific-data-loader.h"
#include "load/load-util.h"
#include "player-info/bard-data-type.h"
#include "player-info/bluemage-data-type.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include "system/system-variables.h"
-#include "load/player-info-loader.h"
+#include "load/player-info-loader.h"
#include "cmd-building/cmd-building.h"
#include "load/angband-version-comparer.h"
#include "load/birth-loader.h"
-#pragma once
+#pragma once
class PlayerType;
void rd_base_info(PlayerType *player_ptr);
-#include "load/quest-loader.h"
+#include "load/quest-loader.h"
#include "artifact/fixed-art-types.h"
#include "dungeon/quest.h"
#include "floor/floor-town.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <tuple>
-/*!
+/*!
* @file savedata-old-flag-types.h
* @brief 過去に存在したセーブデータ有無フラグを定義する。古いセーブデータからのマイグレーション用。
*/
-#include "load/store-loader.h"
+#include "load/store-loader.h"
#include "avatar/avatar.h"
#include "floor/floor-town.h"
#include "load/angband-version-comparer.h"
-#pragma once
+#pragma once
class PlayerType;
void load_store(PlayerType *player_ptr);
-#include "load/world-loader.h"
+#include "load/world-loader.h"
#include "cmd-building/cmd-building.h"
#include "floor/wild.h"
#include "load/angband-version-comparer.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "locale/english.h"
+#include "locale/english.h"
#include "system/angband.h"
#include "util/string-processor.h"
-#pragma once
+#pragma once
#ifndef JP
void plural_aux(char *Name);
-/*!
+/*!
* @file japanese.cpp
* @brief 日本語処理関数
* @date 2014/07/07
-#pragma once
+#pragma once
#include "system/angband.h"
#include <optional>
-#pragma once
+#pragma once
#include "system/h-basic.h"
-#include "locale/utf-8.h"
+#include "locale/utf-8.h"
/*!
* @brief 文字列の最初の文字のUTF-8エンコーディングにおけるバイト長を返す
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "lore/combat-types-setter.h"
+#include "lore/combat-types-setter.h"
#include "lore/lore-util.h"
#include "monster-attack/monster-attack-effect.h"
#include "monster-attack/monster-attack-table.h"
-#pragma once
+#pragma once
struct lore_type;
void set_monster_blow_method(lore_type *lore_ptr, int m);
-#include "lore/lore-calculator.h"
+#include "lore/lore-calculator.h"
#include "game-option/cheat-options.h"
#include "lore/lore-util.h"
#include "monster-race/monster-race.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-/*!
+/*!
* @brief モンスターの思い出を記憶する処理
* @date 2020/06/09
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "lore/lore-util.h"
+#include "lore/lore-util.h"
#include "game-option/birth-options.h"
#include "monster-attack/monster-attack-table.h"
#include "monster-race/monster-race.h"
-#pragma once
+#pragma once
#include "monster-attack/monster-attack-table.h"
#include "monster-race/monster-aura-types.h"
-#include "lore/magic-types-setter.h"
+#include "lore/magic-types-setter.h"
#include "lore/lore-calculator.h"
#include "lore/lore-util.h"
#include "monster-race/race-brightness-mask.h"
-#pragma once
+#pragma once
struct lore_type;
class PlayerType;
-/*!
+/*!
* @brief モンスターの思い出表示に必要なフラグ類の処理
* @date 2020/06/09
* @author Hourier
-#pragma once
+#pragma once
#include "lore/lore-util.h"
#include "system/angband.h"
-/* File: maid-x11.c */
+/* File: maid-x11.c */
/*
* Copyright (c) 1997 Ben Harrison, and others
-/* File: main-cap.c */
+/* File: main-cap.c */
/* Purpose: Support for "term.c" using "termcap" calls */
-/* File: main-gcu.c */
+/* File: main-gcu.c */
/*
* Copyright (c) 1997 Ben Harrison, and others
-/*!
+/*!
* @brief UNIX用ユーザID定義
* @author Hourier
* @date 2023/05/27
-#pragma once
+#pragma once
class UnixUserIds {
public:
-/*!
+/*!
* @file x11-gamma-builder.cpp
* @brief X11環境 (の中でもmaid-x11を必要とする特殊な環境)でガンマ値を調整する
* @date 2020/05/16
-#pragma once
+#pragma once
/*!
* @file x11-gamma-builder.h
* @brief X11環境ガンマ値の調整処理ヘッダ
-/*!
+/*!
* @file x11-type-string.cpp
* @brief X11用の文字列処理
* @date 2020/06/14
-#pragma once
+#pragma once
/*!
* @file x11-type-string.h
* @brief X11用の文字列処理ヘッダ
-/*!
+/*!
* @file main-win.cpp
* @brief Windows版固有実装(メインエントリポイント含む)
* @date 2018/03/16
-/*!
+/*!
* @file commandline-win.cpp
* @brief Windows版固有実装(コマンドライン)
*/
-#pragma once
+#pragma once
/*!
* @file commandline-win.h
* @brief Windows版固有実装(コマンドライン)ヘッダ
-/*!
+/*!
* @file graphics-win.cpp
* @brief Windows版固有実装(タイル、イメージファイルの読み込み)
*/
-#pragma once
+#pragma once
/*!
* @file graphics-win.h
* @brief Windows版固有実装(タイル、イメージファイルの読み込み)ヘッダ
-/*!
+/*!
* @file main-win-bg.cpp
* @brief Windows版固有実装(壁紙)
*/
-#pragma once
+#pragma once
#include "main-win/main-win-define.h"
#include <filesystem>
-/*!
+/*!
* @file main-win-cfg-reader.cpp
* @brief Windows版固有実装(.cfgファイル処理)
*/
-#pragma once
+#pragma once
#include "system/angband.h"
#include <cstddef>
-#pragma once
+#pragma once
// max. length of full pathname
#define MAIN_WIN_MAX_PATH 1024
-#include "main-win/main-win-exception.h"
+#include "main-win/main-win-exception.h"
#include "main-win/main-win-utils.h"
#include "net/report-error.h"
#include <sstream>
-#pragma once
+#pragma once
#include <stdexcept>
-/*!
+/*!
* @file main-win-file-utils.cpp
* @brief Windows版固有実装(ファイル関連処理)
*/
-#pragma once
+#pragma once
#include "system/h-type.h"
#include <filesystem>
-/*!
+/*!
* @file main-win-mci.cpp
* @brief Windows版固有実装(BGM再生用のMCI)
*/
-#pragma once
+#pragma once
#include <windows.h>
-#pragma once
+#pragma once
/*
* Menu constants -- see "ang_jp.rc", "ang_eng.rc"
-#pragma once
+#pragma once
#include <windows.h>
-/*!
+/*!
* @file main-win-music.cpp
* @brief Windows版固有実装(BGM)
*/
-#pragma once
+#pragma once
#include "main-win/main-win-cfg-reader.h"
#include "main/music-definitions-table.h"
-/*!
+/*!
* @file main-win-sound.cpp
* @brief Windows版固有実装(効果音)
*/
-#pragma once
+#pragma once
#include "main-win/main-win-cfg-reader.h"
#include <array>
-/*!
+/*!
* @file main-win-term.cpp
* @brief Windows版固有実装(ターミナル)
*/
-#pragma once
+#pragma once
/*!
* @file main-win-term.h
* @brief Windows版固有実装(ターミナル)ヘッダ
-/*!
+/*!
* @file main-win-tokenizer.cpp
* @brief Windows版固有実装(トークン分割)
*/
-#pragma once
+#pragma once
#include "system/h-type.h"
-/*!
+/*!
* @file main-win-utils.cpp
* @brief Windows版固有実装(ユーティリティー)
*/
-#pragma once
+#pragma once
/*!
* @file main-win-utils.h
* @brief Windows版固有実装(ユーティリティー)ヘッダ
-/*!
+/*!
* @file wav-reader.cpp
* @brief Windows版固有実装(WAVファイル読込)
*/
-#pragma once
+#pragma once
/*!
* @file wav-reader.h
* @brief Windows版固有実装(WAVファイル読込)ヘッダ
-/* File: main-x11.c */
+/* File: main-x11.c */
/*
* Copyright (c) 1997 Ben Harrison, and others
-/*
+/*
* Copyright (c) 1997 Ben Harrison, and others
*
* This software may be copied and distributed for educational, research,
-/*!
+/*!
* @file angband-headers.cpp
* @brief ゲームデータのグローバルヘッダ情報定義
*/
-#pragma once
+#pragma once
/*!
* @file angband-headers.h
* @brief ゲームデータのグローバルヘッダ情報ヘッダ
-/*!
+/*!
* @file angband-initializer.cpp
* @brief 変愚蛮怒のシステム初期化
* @date 2014/01/28
-#pragma once
+#pragma once
/*!
* @file angband-initializer.h
* @brief 変愚蛮怒のシステム初期化処理ヘッダファイル
-/*!
+/*!
* @file game-data-initializer.cpp
* @brief 変愚蛮怒のゲームデータ初期化定義
*/
-#pragma once
+#pragma once
/*!
* @file game-data-initializer.h
* @brief 変愚蛮怒のゲームデータ初期化ヘッダファイル
-/*!
+/*!
* @file info-initializer.cpp
* @brief 変愚蛮怒のゲームデータ解析処理定義
*/
-#pragma once
+#pragma once
/*!
* @file info-initializer.h
* @brief 変愚蛮怒のゲームデータ解析処理ヘッダ
-/*!
+/*!
* @file init-error-messages-table.cpp
* @brief 変愚蛮怒のゲームデータ解析エラー名定義
*/
-#pragma once
+#pragma once
/*!
* @file init-error-messages-table.h
* @brief 変愚蛮怒のゲームデータ解析エラー名ヘッダ
-/*!
+/*!
* @file music-definitions-table.cpp
* @brief 設定ファイル用のBGM名定義
*/
-#pragma once
+#pragma once
/*!
* @file music-definitions-table.h
* @brief 設定ファイル用のBGM名定義ヘッダ
-/*!
+/*!
* @file scene-table-floor.cpp
* @brief フロアの状況に応じたBGM設定処理実装
*/
-#pragma once
+#pragma once
/*!
* @file scene-table-floor.h
* @brief フロアの状況に応じたBGM設定処理ヘッダ
-/*!
+/*!
* @file scene-table-monster.cpp
* @brief モンスターの遭遇状況に応じたBGM設定処理実装
*/
-#pragma once
+#pragma once
/*!
* @file scene-table-monster.h
* @brief モンスターの遭遇状況に応じたBGM設定処理ヘッダ
-/*!
+/*!
* @file scene-table.cpp
* @brief BGM選曲の基本処理部分実装
*/
-#pragma once
+#pragma once
/*!
* @file scene-table.h
* @brief BGM選曲の基本処理部分ヘッダ
-/*!
+/*!
* @file sound-definitions-table.cpp
* @brief 設定ファイル用の効果音名定義
*/
-#pragma once
+#pragma once
/*!
* @file sound-definitions-table.h
* @brief 設定ファイル用の効果音名定義ヘッダ
-/*!
+/*!
* @file sound-of-music.cpp
* @brief BGM及び効果音のterm出力処理実装
*/
-#pragma once
+#pragma once
/*!
* @file sound-of-music.h
* @brief BGM及び効果音のterm出力処理ヘッダ
-#include "market/arena-info-table.h"
+#include "market/arena-info-table.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-indice-types.h"
#include "object/tval-types.h"
-#pragma once
+#pragma once
#include "system/baseitem-info.h"
#include <vector>
-#include "market/arena.h"
+#include "market/arena.h"
#include "cmd-building/cmd-building.h"
#include "core/asking-player.h"
#include "core/show-file.h"
-#pragma once
+#pragma once
class PlayerType;
void arena_comm(PlayerType *player_ptr, int cmd);
-#include "market/bounty-prize-table.h"
+#include "market/bounty-prize-table.h"
#include "object/tval-types.h"
#include "sv-definition/sv-potion-types.h"
#include "sv-definition/sv-scroll-types.h"
-/*!
+/*!
* @brief 賞金首の報酬テーブル
* @author Hourier
* @date 2022/11/04
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "market/bounty.h"
+#include "market/bounty.h"
#include "autopick/autopick.h"
#include "avatar/avatar.h"
#include "cmd-building/cmd-building.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
/*
* Buildings actions
-#include "market/building-craft-armor.h"
+#include "market/building-craft-armor.h"
#include "io/input-key-acceptor.h"
#include "market/building-util.h"
#include "term/screen-processor.h"
-#pragma once
+#pragma once
bool eval_ac(short ac);
-#include "market/building-craft-fix.h"
+#include "market/building-craft-fix.h"
#include "artifact/artifact-info.h"
#include "artifact/fixed-art-types.h"
#include "artifact/random-art-effects.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "market/building-craft-weapon.h"
+#include "market/building-craft-weapon.h"
#include "artifact/fixed-art-types.h"
#include "combat/attack-accuracy.h"
#include "combat/shoot.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "market/building-enchanter.h"
+#include "market/building-enchanter.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
#include "floor/floor-object.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "market/building-initializer.h"
+#include "market/building-initializer.h"
#include "floor/floor-town.h"
#include "io/files-util.h"
#include "object/object-kind-hook.h"
-#pragma once
+#pragma once
void init_towns(void);
void init_buildings(void);
-#include "market/building-monster.h"
+#include "market/building-monster.h"
#include "core/asking-player.h"
#include "core/stuff-handler.h"
#include "game-option/game-play-options.h"
-#pragma once
+#pragma once
class PlayerType;
bool research_mon(PlayerType *player_ptr);
-#include "market/building-quest.h"
+#include "market/building-quest.h"
#include "cmd-building/cmd-building.h"
#include "core/asking-player.h"
#include "dungeon/quest.h"
-#pragma once
+#pragma once
class PlayerType;
void castle_quest(PlayerType *player_ptr);
-#include "market/building-recharger.h"
+#include "market/building-recharger.h"
#include "autopick/autopick.h"
#include "core/asking-player.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
class PlayerType;
void building_recharge(PlayerType *player_ptr);
-#include "market/building-service.h"
+#include "market/building-service.h"
#include "cmd-building/cmd-building.h"
#include "player-base/player-class.h"
#include "realm/realm-names-table.h"
-#pragma once
+#pragma once
struct building_type;
class PlayerType;
-#include "market/building-util.h"
+#include "market/building-util.h"
#include "system/player-type-definition.h"
#include "term/screen-processor.h"
#include "term/z-form.h"
-#pragma once
+#pragma once
class PlayerType;
void clear_bldg(int min_row, int max_row);
-#include "market/play-gamble.h"
+#include "market/play-gamble.h"
#include "avatar/avatar.h"
#include "core/asking-player.h"
#include "core/show-file.h"
-#pragma once
+#pragma once
class PlayerType;
void gamble_comm(PlayerType *player_ptr, int cmd);
-#include "market/poker.h"
+#include "market/poker.h"
#include "io/input-key-acceptor.h"
#include "system/angband.h"
#include "term/screen-processor.h"
-#pragma once
+#pragma once
int do_poker(void);
-/*!
+/*!
* @brief モンスター同士の打撃後処理 / Melee post-process.
* @date 2014/01/17
* @author
-#pragma once
+#pragma once
#include "combat/combat-options-type.h"
#include "system/angband.h"
-#include "melee/melee-spell-flags-checker.h"
+#include "melee/melee-spell-flags-checker.h"
#include "dungeon/dungeon-flag-types.h"
#include "effect/effect-characteristics.h"
#include "floor/geometry.h"
-#pragma once
+#pragma once
struct melee_spell_type;
class PlayerType;
-#include "melee/melee-spell-util.h"
+#include "melee/melee-spell-util.h"
#include "dungeon/dungeon-flag-types.h"
#include "dungeon/quest.h"
#include "floor/cave.h"
-#pragma once
+#pragma once
#include "monster-race/race-ability-flags.h"
#include "system/angband.h"
-#include "melee/melee-spell.h"
+#include "melee/melee-spell.h"
#include "core/disturbance.h"
#include "melee/melee-spell-flags-checker.h"
#include "melee/melee-spell-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスター同士が乱闘を起こした時の攻撃種別をスイッチングする
* @date 2020/05/30
* @author Hourier
-#pragma once
+#pragma once
enum class BlowEffectType {
NONE = 0,
-#include "melee/melee-util.h"
+#include "melee/melee-util.h"
#include "floor/geometry.h"
#include "grid/grid.h"
#include "melee/melee-switcher.h"
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "monster-attack/monster-attack-effect.h"
-/*!
+/*!
* @brief モンスター同士が乱闘する処理
* @date 2020/05/23
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
/*
* Some things which induce learning
-#include "mind/mind-archer.h"
+#include "mind/mind-archer.h"
#include "action/action-limited.h"
#include "autopick/autopick.h"
#include "core/asking-player.h"
-#pragma once
+#pragma once
class PlayerType;
bool create_ammo(PlayerType *player_ptr);
-#include "mind/mind-berserker.h"
+#include "mind/mind-berserker.h"
#include "action/movement-execution.h"
#include "cmd-action/cmd-attack.h"
#include "floor/geometry.h"
-#pragma once
+#pragma once
enum class MindBerserkerType : int;
class PlayerType;
-#include "mind/mind-blue-mage.h"
+#include "mind/mind-blue-mage.h"
#include "action/action-limited.h"
#include "avatar/avatar.h"
#include "blue-magic/blue-magic-caster.h"
-#pragma once
+#pragma once
#include <array>
-/*!
+/*!
* @brief 騎兵のレイシャルパワー処理
* @date 2020/05/16
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
bool rodeo(PlayerType *player_ptr);
-#include "mind/mind-chaos-warrior.h"
+#include "mind/mind-chaos-warrior.h"
#include "floor/floor-object.h"
#include "object-enchant/object-boost.h"
#include "object-enchant/object-ego.h"
-#pragma once
+#pragma once
class PlayerType;
void acquire_chaos_weapon(PlayerType *player_ptr);
-/*!
+/*!
* @brief 元素使いの魔法系統
*/
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-#include "mind/mind-explanations-table.h"
+#include "mind/mind-explanations-table.h"
/*! 特殊技能の一覧テーブル */
mind_power const mind_powers[MAX_MINDKINDS] = {
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mind/mind-force-trainer.h"
+#include "mind/mind-force-trainer.h"
#include "avatar/avatar.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mind/mind-hobbit.h"
+#include "mind/mind-hobbit.h"
#include "floor/floor-object.h"
#include "object/object-kind-hook.h"
#include "sv-definition/sv-food-types.h"
-#pragma once
+#pragma once
class PlayerType;
bool create_ration(PlayerType *player_ptr);
-#include "mind/mind-info.h"
+#include "mind/mind-info.h"
#include "cmd-action/cmd-spell.h"
#include "locale/japanese.h"
#include "mind/mind-force-trainer.h"
-#pragma once
+#pragma once
#include <string>
-/*!
+/*!
* @brief 魔力喰い処理
* @date 2020/06/27
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
bool eat_magic(PlayerType *player_ptr, int power);
-#include "mind/mind-magic-eater.h"
+#include "mind/mind-magic-eater.h"
#include "flavor/flavor-describer.h"
#include "floor/floor-object.h"
#include "inventory/inventory-object.h"
-#pragma once
+#pragma once
class PlayerType;
bool import_magic_device(PlayerType *player_ptr);
-#include "mind/mind-magic-resistance.h"
+#include "mind/mind-magic-resistance.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
#include "game-option/disturbance-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mind/mind-mindcrafter.h"
+#include "mind/mind-mindcrafter.h"
#include "autopick/autopick.h"
#include "avatar/avatar.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
class PlayerType;
bool psychometry(PlayerType *player_ptr);
-/*!
+/*!
* @brief 鏡使いの鏡魔法コマンド処理
* @date 2022/03/07
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mind/mind-monk.h"
+#include "mind/mind-monk.h"
#include "action/action-limited.h"
#include "io/input-key-acceptor.h"
#include "mind/stances-table.h"
-#pragma once
+#pragma once
class PlayerType;
bool choose_monk_stance(PlayerType *player_ptr);
-#include "mind/mind-ninja.h"
+#include "mind/mind-ninja.h"
#include "cmd-action/cmd-attack.h"
#include "cmd-item/cmd-throw.h"
#include "combat/combat-options-type.h"
-#pragma once
+#pragma once
struct player_attack_type;
class PlayerType;
-#pragma once
+#pragma once
enum class MindBerserkerType : int {
DETECT_MANACE = 0,
-#include "mind/mind-power-getter.h"
+#include "mind/mind-power-getter.h"
#include "core/asking-player.h"
#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
#include "mind/mind-types.h"
#include "system/angband.h"
-#include "mind/mind-priest.h"
+#include "mind/mind-priest.h"
#include "core/window-redrawer.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
-#pragma once
+#pragma once
class PlayerType;
bool bless_weapon(PlayerType *player_ptr);
-/*!
+/*!
* @brief 剣術家のレイシャルパワー処理
* @date 2020/05/16
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief スナイパー技能の実装 / Sniping
* @date 2014/01/18
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
enum class MindKindType {
MINDCRAFTER = 0, /*!< 特殊能力: 超能力 */
-#include "mind/mind-warrior-mage.h"
+#include "mind/mind-warrior-mage.h"
#include "hpmp/hp-mp-processor.h"
#include "player/player-damage.h"
#include "system/player-type-definition.h"
-#pragma once
+#pragma once
class PlayerType;
bool comvert_hp_to_mp(PlayerType *player_ptr);
-#include "mind/mind-warrior.h"
+#include "mind/mind-warrior.h"
#include "cmd-action/cmd-attack.h"
#include "floor/geometry.h"
#include "spell-kind/spells-teleport.h"
-#pragma once
+#pragma once
class PlayerType;
bool hit_and_away(PlayerType *player_ptr);
-#include "mind/mind-weaponsmith.h"
+#include "mind/mind-weaponsmith.h"
#include "action/action-limited.h"
#include "autopick/autopick.h"
#include "core/asking-player.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_kaji(PlayerType *player_ptr, bool only_browse);
-/*!
+/*!
* @brief 素手で攻撃することに補正のある職業 (修行僧、狂戦士、練気術師)の打撃処理
* @date 2020/05/23
* @author Hourier
-#pragma once
+#pragma once
struct player_attack_type;
class PlayerType;
-#pragma once
+#pragma once
enum snipe_type {
SP_NONE = 0,
-#include "mind/stances-table.h"
+#include "mind/stances-table.h"
/*!
* @brief 修行僧の構え能力テーブル
-#pragma once
+#pragma once
#include "player/special-defense-types.h"
#include "system/angband.h"
-#include "monster-attack/insults-moans.h"
+#include "monster-attack/insults-moans.h"
/*! モンスターの侮辱行為メッセージテーブル / Hack -- possible "insult" messages */
concptr desc_insult[MAX_INSULTS] = {
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスターの打撃種別を記述すると共に、切り傷/朦朧値を追加する
* @date 2020/05/31
* @author Hourier
-#pragma once
+#pragma once
class MonsterAttackPlayer;
void describe_monster_attack_method(MonsterAttackPlayer *monap_ptr);
-#pragma once
+#pragma once
/*!
* @note モンスターの攻撃効果 / New monster blow effects
-#include "monster-attack/monster-attack-lose.h"
+#include "monster-attack/monster-attack-lose.h"
#include "mind/mind-mirror-master.h"
#include "monster-attack/monster-attack-player.h"
#include "monster-attack/monster-attack-status.h"
-#pragma once
+#pragma once
class MonsterAttackPlayer;
class PlayerType;
-/*!
+/*!
* @brief モンスターからプレイヤーへの直接攻撃処理
* @date 2020/05/23
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスターの攻撃に関する処理
* @date 2020/03/08
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief プレイヤーのステータス (麻痺等)に影響を与えるモンスターの打撃処理
* @date 2020/05/31
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスターからプレイヤーへの直接攻撃をその種別において振り分ける
* @date 2020/05/31
* @author Hourier
-#pragma once
+#pragma once
class MonsterAttackPlayer;
class PlayerType;
-#include "monster-attack/monster-attack-table.h"
+#include "monster-attack/monster-attack-table.h"
#include "effect/attribute-types.h"
#include "monster-attack/monster-attack-effect.h"
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "monster-attack/monster-attack-effect.h"
-/*!
+/*!
* @brief プレイヤーのHP/MP、アイテム、お金・明かりの残りターン、充填魔力を盗んだり減少させたりする処理
* @date 2020/05/31
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster-floor/monster-death-util.h"
+#include "monster-floor/monster-death-util.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-flags1.h"
#include "monster-race/race-indice-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster-floor/monster-death.h"
+#include "monster-floor/monster-death.h"
#include "artifact/fixed-art-generator.h"
#include "artifact/fixed-art-types.h"
#include "cmd-building/cmd-building.h"
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-/*!
+/*!
* @brief モンスターの移動方向を決定する処理
* @date 2020/03/08
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster-floor/monster-dist-offsets.h"
+#include "monster-floor/monster-dist-offsets.h"
/*
* Hack -- Precompute a bunch of calls to distance() in find_safety() and
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* todo 後で再分割する
* @brief モンスター生成処理
* @date 2020/06/10
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster-floor/monster-lite-util.h"
+#include "monster-floor/monster-lite-util.h"
#include "system/grid-type-definition.h"
#include "system/monster-entity.h"
#include "util/bit-flags-calculator.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster-floor/monster-lite.h"
+#include "monster-floor/monster-lite.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor/cave.h"
#include "grid/feature-flag-types.h"
-#pragma once
+#pragma once
class FloorType;
class PlayerType;
-/*!
+/*!
* @brief モンスターの移動に関する処理
* @date 2020/03/08
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスターが移動した結果、床のアイテムに重なった時の処理と、モンスターがアイテムを落とす処理
* @date 2020/03/07
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster-floor/monster-remover.h"
+#include "monster-floor/monster-remover.h"
#include "core/stuff-handler.h"
#include "floor/cave.h"
#include "floor/floor-object.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスターの逃走に関する処理
* @date 2020/03/08
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスターの逃走・隠匿に関する処理
* @date 2020/03/08
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster-floor/monster-summon.h"
+#include "monster-floor/monster-summon.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor/geometry.h"
#include "floor/wild.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスターの移動方向を走査する処理
* @date 2020/03/08
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスターをフロアに1体配置する処理
* @date 2020/06/13
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
/*
* Bit flags for the place_monster_???() (etc)
-#include "monster-floor/quantum-effect.h"
+#include "monster-floor/quantum-effect.h"
#include "effect/attribute-types.h"
#include "floor/line-of-sight.h"
#include "monster-floor/monster-death.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスター死亡時の特殊処理switch (一般的な処理もdefaultで実施)
* @date 2020/08/21
* @author Hourier
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-#pragma once
+#pragma once
/*!
* @brief モンスターがまとっているオーラ定義.
-#include "monster-race/monster-kind-mask.h"
+#include "monster-race/monster-kind-mask.h"
const EnumClassFlagGroup<MonsterKindType> alignment_mask = {
MonsterKindType::GOOD, MonsterKindType::EVIL
-#pragma once
+#pragma once
#include "monster-race/race-kind-flags.h"
#include "system/angband.h"
-#include "monster-race/monster-race-hook.h"
+#include "monster-race/monster-race-hook.h"
#include "monster-attack/monster-attack-effect.h"
#include "monster-attack/monster-attack-table.h"
#include "monster-floor/place-monster-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster-race/monster-race.h"
+#include "monster-race/monster-race.h"
#include "monster-race/race-flags-resistance.h"
#include "monster-race/race-flags1.h"
#include "monster-race/race-indice-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
enum class MonsterAbilityType {
SHRIEK = 0, /*!< モンスター能力: 叫ぶ / Shriek for help */
-#include "monster-race/race-ability-mask.h"
+#include "monster-race/race-ability-mask.h"
// clang-format off
/* "summon" spells currently "summon" spells are included in "intelligent" and "indirect" */
-#pragma once
+#pragma once
#include "monster-race/race-ability-flags.h"
#include "util/flag-group.h"
-#pragma once
+#pragma once
enum class MonsterBehaviorType {
NEVER_BLOW = 0,
-#pragma once
+#pragma once
enum class MonsterBrightnessType {
HAS_LITE_1 = 0, /* Monster carries light */
-#include "monster-race/race-brightness-mask.h"
+#include "monster-race/race-brightness-mask.h"
const EnumClassFlagGroup<MonsterBrightnessType> lite_mask = {
MonsterBrightnessType::HAS_LITE_1,
-#pragma once
+#pragma once
#include "monster-race/race-brightness-flags.h"
#include "util/flag-group.h"
-#pragma once
+#pragma once
enum class MonsterDropType {
ONLY_GOLD = 0,
-#pragma once
+#pragma once
enum class MonsterFeatureType {
AQUATIC = 0,
-#include "monster-race/race-feature-mask.h"
+#include "monster-race/race-feature-mask.h"
const EnumClassFlagGroup<MonsterFeatureType> feature_lore_flags2 = {
MonsterFeatureType::PASS_WALL,
-#pragma once
+#pragma once
#include "monster-race/race-feature-flags.h"
#include "util/flag-group.h"
-#pragma once
+#pragma once
enum class MonsterResistanceType {
RESIST_ALL = 0, /* Resist all */
-#pragma once
+#pragma once
enum race_flags1 {
RF1_UNIQUE = 0x00000001, /*!< モンスター特性: ユニーク / Unique Monster */
-#pragma once
+#pragma once
enum race_flags2 {
RF2_STUPID = 0x00000001, /*!< モンスター特性: 愚かな行動を取る / Monster is stupid */
-#pragma once
+#pragma once
enum race_flags3 {
RF3_ORC = 0x00000001, /*!< モンスター特性: オーク / Orc */
-#pragma once
+#pragma once
enum race_flags7 {
RF7_AQUATIC = 0x00000001, /* Aquatic monster */
-#pragma once
+#pragma once
enum race_flags8 : uint32_t {
RF8_WILD_ONLY = 0x00000001,
-#pragma once
+#pragma once
enum class MonsterRaceId : int16_t {
PLAYER = 0,
-#pragma once
+#pragma once
enum class MonsterKindType {
UNIQUE = 0,
-#pragma once
+#pragma once
enum class MonsterPopulationType {
NAZGUL = 0,
-#include "monster-race/race-resistance-mask.h"
+#include "monster-race/race-resistance-mask.h"
const EnumClassFlagGroup<MonsterResistanceType> RFR_EFF_IM_ACID_MASK = {
MonsterResistanceType::IMMUNE_ACID,
-#pragma once
+#pragma once
#include "monster-race/race-flags-resistance.h"
#include "util/flag-group.h"
-#pragma once
+#pragma once
enum class MonsterSpeakType {
SPEAK_ALL = 0, /* SPEAK_BATTLE, SPEAK_FEAR, SPEAK_FRIEND, SPEAK_DEATH */
-#pragma once
+#pragma once
enum class MonsterVisualType {
CLEAR = 0,
-#pragma once
+#pragma once
enum class MonsterWildernessType {
WILD_ONLY = 0,
-/*!
+/*!
* @file horror-descriptions.cpp
* @brief エルドリッチホラーの形容詞テーブル定義
* @date 2023/04/29
-#pragma once
+#pragma once
#include <string>
#include <vector>
-#include "monster/monster-compaction.h"
+#include "monster/monster-compaction.h"
#include "core/stuff-handler.h"
#include "game-option/play-record-options.h"
#include "io/write-diary.h"
-#pragma once
+#pragma once
class PlayerType;
void compact_monsters(PlayerType *player_ptr, int size);
-/*
+/*
* @brief モンスターがダメージを受けた時の処理と経験値の加算処理
* @date 2021/08/04
* @author Hourier
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "monster-race/race-indice-types.h"
-#include "monster/monster-describer.h"
+#include "monster/monster-describer.h"
#include "io/files-util.h"
#include "locale/english.h"
#include "monster-race/monster-race.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-#pragma once
+#pragma once
enum monsetr_description_type {
MD_NONE = 0x00000000,
-#pragma once
+#pragma once
enum class MonsterTemporaryFlagType {
VIEW = 0, /* Monster is in line of sight */
-/*!
+/*!
* @brief モンスター情報の記述 / describe monsters (using monster memory)
* @date 2013/12/11
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-/*!
+/*!
* @brief モンスター処理 / misc code for monsters
* @date 2014/07/08
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster/monster-pain-describer.h"
+#include "monster/monster-pain-describer.h"
#include "monster-race/monster-race.h"
#include "monster/monster-describer.h"
#include "system/floor-type-definition.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief monster-processのための構造体群初期化処理と共通性の極めて高い処理
* @date 2020/03/07
* @author Hourier
-/*!
+/*!
* @brief monster-processのための構造体群
* @date 2020/03/07
* @author Hourier
-/*!
+/*!
* @brief モンスターの特殊技能とターン経過処理 (移動等)/ Monster spells and movement for passaging a turn
* @date 2014/01/17
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster/monster-status-setter.h"
+#include "monster/monster-status-setter.h"
#include "avatar/avatar.h"
#include "cmd-visual/cmd-draw.h"
#include "core/speed-table.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster/monster-status.h"
+#include "monster/monster-status.h"
#include "autopick/autopick-pref-processor.h"
#include "core/speed-table.h"
#include "floor/cave.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
enum monster_timed_effect_type {
MTIMED_CSLEEP = 0, /* Monster is sleeping */
-/*!
+/*!
* @brief モンスター情報のアップデート処理
* @date 2020/03/08
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "monster/monster-util.h"
+#include "monster/monster-util.h"
#include "dungeon/dungeon-flag-types.h"
#include "dungeon/quest.h"
#include "floor/wild.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
enum class MonsterSmartLearnType {
RES_ACID = 0, /*!< モンスターの学習フラグ: プレイヤーに酸耐性あり */
-/*!
+/*!
* @brief モンスターのスペル振り分け処理 / Spell launch by a monster
* @date 2014/07/14
* @author Habu
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/element-resistance-checker.h"
+#include "mspell/element-resistance-checker.h"
#include "game-option/birth-options.h"
#include "monster-race/race-ability-flags.h"
#include "monster/smart-learn-types.h"
-#pragma once
+#pragma once
struct msr_type;
class PlayerType;
-#include "mspell/high-resistance-checker.h"
+#include "mspell/high-resistance-checker.h"
#include "monster-race/race-ability-flags.h"
#include "monster/smart-learn-types.h"
#include "mspell/smart-mspell-util.h"
-#pragma once
+#pragma once
struct msr_type;
class PlayerType;
-#include "mspell/improper-mspell-remover.h"
+#include "mspell/improper-mspell-remover.h"
#include "game-option/birth-options.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-flags2.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/monster-power-table.h"
+#include "mspell/monster-power-table.h"
#include "monster-race/race-ability-flags.h"
#include "player-ability/player-ability-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/mspell-attack-util.h"
+#include "mspell/mspell-attack-util.h"
#include "monster-race/monster-race.h"
#include "system/floor-type-definition.h"
#include "system/monster-entity.h"
-#pragma once
+#pragma once
#include "monster-race/race-ability-flags.h"
#include "system/angband.h"
-#include "mspell/mspell-attack.h"
+#include "mspell/mspell-attack.h"
#include "blue-magic/blue-magic-checker.h"
#include "core/disturbance.h"
#include "dungeon/dungeon-flag-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/mspell-attack/abstract-mspell.h"
+#include "mspell/mspell-attack/abstract-mspell.h"
#include "monster/monster-update.h"
#include "mspell/mspell-damage-calculator.h"
#include "mspell/mspell-util.h"
-#pragma once
+#pragma once
#include "effect/effect-processor.h"
#include "monster-race/race-ability-flags.h"
-#include "mspell/mspell-attack/mspell-ball.h"
+#include "mspell/mspell-attack/mspell-ball.h"
#include "effect/attribute-types.h"
#include "effect/effect-processor.h"
#include "main/sound-of-music.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/mspell-attack/mspell-bolt.h"
+#include "mspell/mspell-attack/mspell-bolt.h"
#include "effect/attribute-types.h"
#include "effect/effect-processor.h"
#include "main/sound-definitions-table.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/mspell-attack/mspell-breath.h"
+#include "mspell/mspell-attack/mspell-breath.h"
#include "core/disturbance.h"
#include "effect/attribute-types.h"
#include "effect/effect-processor.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/mspell-attack/mspell-curse.h"
+#include "mspell/mspell-attack/mspell-curse.h"
#include "core/disturbance.h"
#include "effect/attribute-types.h"
#include "effect/effect-processor.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief ボルトでもボールでもブレスでもなく、ダメージを与える特殊なスペルの実行 /
* Performing special spells that take damage, not bolts, balls or breaths
* @date 2020/05/16
-#pragma once
+#pragma once
#include "mspell/mspell-attack/abstract-mspell.h"
#include "system/angband.h"
-/*!
+/*!
* @brief モンスター魔法の実装 / Monster spells (attack player)
* @date 2014/01/17
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/mspell-damage-calculator.h"
+#include "mspell/mspell-damage-calculator.h"
#include "game-option/birth-options.h"
#include "inventory/inventory-slot-types.h"
#include "monster-race/monster-race.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/mspell-data.h"
+#include "mspell/mspell-data.h"
#include "effect/attribute-types.h"
#include "monster/monster-update.h"
#include "mspell/mspell-util.h"
-#pragma once
+#pragma once
#include "mind/drs-types.h"
#include "system/angband.h"
-#include "mspell/mspell-dispel.h"
+#include "mspell/mspell-dispel.h"
#include "blue-magic/blue-magic-checker.h"
#include "core/speed-table.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief フロアの一定範囲に効果を及ぼす (悲鳴、テレポート等)スペルの効果
* @date 2020/05/16
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスター魔法の実装(対モンスター処理) / Monster spells (attack monster)
* @date 2014/01/17
* @author
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-#include "mspell/mspell-learn-checker.h"
+#include "mspell/mspell-learn-checker.h"
#include "floor/cave.h"
#include "grid/grid.h"
#include "system/floor-type-definition.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief モンスターの魔法によってフロアを明るくする処理及びその判定
* @date 2020/07/23
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
#include "system/angband.h"
//! モンスターが魔法を使った際の結果。
-/*!
+/*!
* @brief モンスターが詠唱する魔法を選択する処理
* @date 2020/07/23
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 特殊な行動を取るモンスターの具体的な行動定義 (MonsterRaceDefinitionsのSPECIALフラグ)
* @date 2020/05/16
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief プレイヤーのステータスを下げるか、モンスター自身のステータスを上げるスペル類の処理
* @date 2020/05/16
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/mspell-summon.h"
+#include "mspell/mspell-summon.h"
#include "core/disturbance.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/mspell-util.h"
+#include "mspell/mspell-util.h"
#include "core/disturbance.h"
#include "floor/geometry.h"
#include "grid/grid.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/smart-mspell-util.h"
+#include "mspell/smart-mspell-util.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-ability-flags.h"
#include "monster-race/race-flags2.h"
-#pragma once
+#pragma once
#include "monster-race/race-ability-flags.h"
#include "monster/smart-learn-types.h"
-#include "mspell/specified-summon.h"
+#include "mspell/specified-summon.h"
#include "effect/effect-characteristics.h"
#include "effect/effect-processor.h"
#include "floor/cave.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mspell/summon-checker.h"
+#include "mspell/summon-checker.h"
#include "monster-attack/monster-attack-table.h"
#include "monster-race/monster-race-hook.h"
#include "monster-race/monster-race.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mutation/gain-mutation-switcher.h"
+#include "mutation/gain-mutation-switcher.h"
#include "mutation/mutation-flag-types.h"
#include "mutation/mutation-util.h"
#include "player-base/player-class.h"
-#pragma once
+#pragma once
struct glm_type;
class PlayerType;
-#include "mutation/lose-mutation-switcher.h"
+#include "mutation/lose-mutation-switcher.h"
#include "mutation/mutation-flag-types.h"
#include "mutation/mutation-util.h"
#include "system/player-type-definition.h"
-#pragma once
+#pragma once
struct glm_type;
class PlayerType;
-/*!
+/*!
* @brief 突然変異の各種計算 / Calculations for mutation
* @date 2014/01/11
* @author
-#pragma once
+#pragma once
class PlayerType;
int calc_mutant_regenerate_mod(PlayerType *player_ptr);
-#pragma once
+#pragma once
enum class PlayerMutationType {
SPIT_ACID = 0, /*!< 突然変異: 酸の唾 */
-#include "mutation/mutation-investor-remover.h"
+#include "mutation/mutation-investor-remover.h"
#include "avatar/avatar.h"
#include "core/stuff-handler.h"
#include "mutation/gain-mutation-switcher.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "mutation/mutation-processor.h"
+#include "mutation/mutation-processor.h"
#include "core/asking-player.h"
#include "core/disturbance.h"
#include "effect/attribute-types.h"
-#pragma once
+#pragma once
class PlayerType;
void process_world_aux_mutation(PlayerType *player_ptr);
-/*!
+/*!
* @brief 突然変異でのみ得ることができる特殊能力処理
* @date 2020/07/04
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
bool eat_rock(PlayerType *player_ptr);
-#include "mutation/mutation-util.h"
+#include "mutation/mutation-util.h"
#include "mutation/mutation-flag-types.h"
glm_type *initialize_glm_type(glm_type *gm_ptr, MUTATION_IDX choose_mut)
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "net/curl-easy-session.h"
+#include "net/curl-easy-session.h"
#if !defined(DISABLE_NET)
-#pragma once
+#pragma once
#include "system/angband.h"
#include <functional>
-#include "net/curl-slist.h"
+#include "net/curl-slist.h"
#if !defined(DISABLE_NET)
-#pragma once
+#pragma once
#include "system/angband.h"
#include <memory>
-#include "net/http-client.h"
+#include "net/http-client.h"
#include "net/curl-easy-session.h"
#include "net/curl-slist.h"
#include <fstream>
-#pragma once
+#pragma once
#include "system/angband.h"
#include <filesystem>
-#include "external-lib/include-json.h"
+#include "external-lib/include-json.h"
#include "locale/japanese.h"
#include "net/http-client.h"
#include "system/angband-version.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "object-activation/activation-bolt-ball.h"
+#include "object-activation/activation-bolt-ball.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
#include "effect/effect-processor.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "object-activation/activation-breath.h"
+#include "object-activation/activation-breath.h"
#include "effect/attribute-types.h"
#include "object-enchant/dragon-breaths-table.h"
#include "object/object-flags.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "object-activation/activation-charm.h"
+#include "object-activation/activation-charm.h"
#include "spell-kind/spells-charm.h"
#include "spell-kind/spells-sight.h"
#include "system/player-type-definition.h"
-#pragma once
+#pragma once
class PlayerType;
bool activate_charm_animal(PlayerType *player_ptr);
-#include "object-activation/activation-genocide.h"
+#include "object-activation/activation-genocide.h"
#include "spell-kind/spells-genocide.h"
#include "system/player-type-definition.h"
#include "view/display-messages.h"
-#pragma once
+#pragma once
class PlayerType;
bool activate_genocide(PlayerType *player_ptr);
-/*!
+/*!
* @brief 発動処理その他 (肥大化しがちなので適宜まとまりを別ファイルへ分割すること)
* @date 2020/08/19
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "object-activation/activation-resistance.h"
+#include "object-activation/activation-resistance.h"
#include "effect/attribute-types.h"
#include "hpmp/hp-mp-processor.h"
#include "spell-kind/spells-launcher.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief プレイヤーの発動コマンド実装
* @date 2018/09/07
* @author deskull
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "object-activation/activation-teleport.h"
+#include "object-activation/activation-teleport.h"
#include "cmd-io/cmd-save.h"
#include "core/asking-player.h"
#include "effect/attribute-types.h"
-#pragma once
+#pragma once
class PlayerType;
bool activate_teleport_away(PlayerType *player_ptr);
-#include "object-activation/activation-util.h"
+#include "object-activation/activation-util.h"
#include "object/object-info.h"
#include "system/baseitem-info.h"
#include "system/item-entity.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "object-enchant/activation-info-table.h"
+#include "object-enchant/activation-info-table.h"
#include "artifact/random-art-effects.h"
/*!
-#pragma once
+#pragma once
#include "system/angband.h"
#include <vector>
-#include "object-enchant/dragon-breaths-table.h"
+#include "object-enchant/dragon-breaths-table.h"
#include "effect/attribute-types.h"
/*!
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "object-enchant/tr-types.h"
-#pragma once
+#pragma once
/*
* @file enchanter-base.h
-/*!
+/*!
* @brief アイテムの強化/弱化処理クラスを選択するファクトリクラス
* @date 2022/03/22
* @author Hourier
-#pragma once
+#pragma once
#include <memory>
-#pragma once
+#pragma once
/*
* Bit flags for apply_magic()
-#pragma once
+#pragma once
/*
* アイテムの簡易鑑定定義 / Game generated inscription indices. These are stored in the object,
-/*!
+/*!
* @brief ベースアイテムを強化する処理
* @date 2022/03/22
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
#include <tuple>
-#include "object-enchant/object-boost.h"
+#include "object-enchant/object-boost.h"
#include "artifact/random-art-effects.h"
#include "object-enchant/tr-types.h"
#include "player-ability/player-ability-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "object-enchant/object-curse.h"
+#include "object-enchant/object-curse.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
#include "inventory/inventory-slot-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief エゴアイテムに関する処理
* @date 2019/05/02
* @author deskull
-#pragma once
+#pragma once
#include <map>
#include <string>
-/*
+/*
* @brief 変愚ver1.5.0以前に使われていたアイテムの追加特性フラグ / Hack -- special "xtra" object powers
* @date 2020/05/28
* @author Hourier
-/*!
+/*!
* @brief アミュレットを強化生成する処理
* @date 2021/04/30
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/enchanter-base.h"
#include "system/angband.h"
-#include "object-enchant/others/apply-magic-lite.h"
+#include "object-enchant/others/apply-magic-lite.h"
#include "artifact/random-art-generator.h"
#include "inventory/inventory-slot-types.h"
#include "object-enchant/object-ego.h"
-#pragma once
+#pragma once
#include "object-enchant/enchanter-base.h"
#include "system/angband.h"
-/*!
+/*!
* @brief 武器でも防具でもアクセサリでもない、その他のアイテム群を生成・強化する処理
* @date 2022/02/23
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/enchanter-base.h"
-/*!
+/*!
* @brief 指輪を強化生成する処理
* @date 2021/04/30
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/enchanter-base.h"
#include "system/angband.h"
-/*
+/*
* @brief 防具類に耐性等を付与する処理の共通部分
* @date 2021/08/01
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/enchanter-base.h"
#include "system/angband.h"
-/*
+/*
* @brief 鎧類に耐性等の追加効果を付与する基底処理
* @date 2022/03/12
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/protector/abstract-protector-enchanter.h"
#include "system/angband.h"
-/*
+/*
* @brief 靴に耐性等の追加効果を付与する処理
* @date 2021/08/01
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/protector/abstract-protector-enchanter.h"
#include "system/angband.h"
-/*
+/*
* @brief クロークに耐性等の追加効果を付与する処理
* @date 2021/08/01
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/protector/abstract-protector-enchanter.h"
#include "system/angband.h"
-/*
+/*
* @brief 冠に耐性等の追加効果を付与する処理
* @date 2021/08/01
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/protector/abstract-protector-enchanter.h"
#include "system/angband.h"
-/*
+/*
* @brief ドラゴン・スケイルメイルに耐性等の追加効果を付与する処理
* @date 2022/03/12
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/protector/abstract-protector-enchanter.h"
#include "system/angband.h"
-/*
+/*
* @brief 籠手に耐性等の追加効果を付与する処理
* @date 2021/08/01
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/protector/abstract-protector-enchanter.h"
#include "system/angband.h"
-/*
+/*
* @brief 重鎧に耐性等の追加効果を付与する処理
* @date 2022/03/12
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/protector/apply-magic-armor.h"
#include "system/angband.h"
-/*
+/*
* @brief 兜に耐性等の追加効果を付与する処理
* @date 2021/08/01
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/protector/abstract-protector-enchanter.h"
#include "system/angband.h"
-/*
+/*
* @brief 盾に耐性等の追加効果を付与する処理
* @date 2021/08/01
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/protector/abstract-protector-enchanter.h"
#include "system/angband.h"
-/*
+/*
* @brief 軽鎧に耐性等の追加効果を付与する処理
* @date 2022/03/12
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/protector/apply-magic-armor.h"
#include "system/angband.h"
-#pragma once
+#pragma once
/*
* Special Object Flags
-#pragma once
+#pragma once
#include "object-enchant/tr-types.h"
#include "util/flag-group.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
/* 旧TRC. 実態に即した名称に変更 */
enum class CurseTraitType {
-#pragma once
+#pragma once
// clang-format off
/*!
-#include "object-enchant/vorpal-weapon.h"
+#include "object-enchant/vorpal-weapon.h"
#include "artifact/fixed-art-types.h"
#include "inventory/inventory-slot-types.h"
#include "io/files-util.h"
-#pragma once
+#pragma once
struct player_attack_type;
class PlayerType;
-#include "object-enchant/weapon/abstract-weapon-enchanter.h"
+#include "object-enchant/weapon/abstract-weapon-enchanter.h"
#include "object-enchant/object-boost.h"
#include "object/tval-types.h"
#include "sv-definition/sv-weapon-types.h"
-#pragma once
+#pragma once
#include "object-enchant/enchanter-base.h"
#include "system/angband.h"
-/*!
+/*!
* @brief 矢類のアイテムを強化する処理
* @date 2022/03/11
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/weapon/abstract-weapon-enchanter.h"
#include "system/angband.h"
-/*!
+/*!
* @brief 弓系のアイテムを強化する処理
* @date 2022/03/11
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/weapon/abstract-weapon-enchanter.h"
#include "system/angband.h"
-/*!
+/*!
* @brief 掘削武器に耐性等の追加効果を付与する処理
* @date 2022/03/11
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/weapon/abstract-weapon-enchanter.h"
#include "system/angband.h"
-/*!
+/*!
* @brief 鈍器に耐性等の追加効果を付与する処理
* @date 2022/03/22
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/weapon/melee-weapon-enchanter.h"
#include "system/angband.h"
-/*!
+/*!
* @brief 長柄/斧に耐性等の追加効果を付与する処理
* @date 2022/03/22
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/weapon/melee-weapon-enchanter.h"
#include "system/angband.h"
-/*!
+/*!
* @brief 剣に耐性等の追加効果を付与する処理
* @date 2022/03/22
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/weapon/melee-weapon-enchanter.h"
#include "system/angband.h"
-/*!
+/*!
* @brief 剣・鈍器・長柄/斧武器に耐性等の追加効果を付与する処理
* @date 2022/03/22
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/weapon/abstract-weapon-enchanter.h"
#include "system/angband.h"
-#include "object-hook/hook-armor.h"
+#include "object-hook/hook-armor.h"
#include "inventory/inventory-slot-types.h"
#include "object/object-info.h"
#include "player/player-sex.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "object-hook/hook-expendable.h"
+#include "object-hook/hook-expendable.h"
#include "artifact/fixed-art-types.h"
#include "core/window-redrawer.h"
#include "monster-race/monster-race.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "object-hook/hook-magic.h"
+#include "object-hook/hook-magic.h"
#include "inventory/inventory-slot-types.h"
#include "object-enchant/tr-types.h"
#include "object/object-flags.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "object-hook/hook-perception.h"
+#include "object-hook/hook-perception.h"
#include "object-hook/hook-weapon.h"
#include "perception/object-perception.h"
#include "system/item-entity.h"
-#pragma once
+#pragma once
class ItemEntity;
bool object_is_nameless_weapon_armour(const ItemEntity *o_ptr);
-#include "object-hook/hook-quest.h"
+#include "object-hook/hook-quest.h"
#include "artifact/fixed-art-types.h"
#include "cmd-building/cmd-building.h"
#include "dungeon/quest.h"
-#pragma once
+#pragma once
#include "dungeon/quest.h"
#include "system/angband.h"
-#include "object-hook/hook-weapon.h"
+#include "object-hook/hook-weapon.h"
#include "object-enchant/tr-types.h"
#include "object-hook/hook-armor.h"
#include "object/object-flags.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "object-use/item-use-checker.h"
+#include "object-use/item-use-checker.h"
#include "system/player-type-definition.h"
#include "timed-effect/player-stun.h"
#include "timed-effect/timed-effects.h"
-#pragma once
+#pragma once
#include <string>
-/*
+/*
* @brief 薬を飲んだ時の効果処理
* @date 2022/03/10
* @author Hourier
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-/*!
+/*!
* @brief 薬を飲んだ時の各種効果処理
* @date 2022/03/10
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*
+/*
* @brief 読むことができるアイテム群の内、Tシャツ『★GHB』を読んだ時の効果や処理を記述する.
* @date 2022/02/26
* @author Hourier
-#pragma once
+#pragma once
#include "object-use/read/read-executor-base.h"
-/*
+/*
* @brief 読むことができるアイテム群の内、中つ国ガイドを読んだ時の効果や処理を記述する.
* @date 2022/02/26
* @author Hourier
-#pragma once
+#pragma once
#include "object-use/read/read-executor-base.h"
-/*!
+/*!
* @brief 巻物を読んだ際の効果処理
* @date 2022/02/26
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
class ReadExecutorBase {
public:
-#include "object-use/read/read-executor-factory.h"
+#include "object-use/read/read-executor-factory.h"
#include "artifact/fixed-art-types.h"
#include "object-use/read/gbh-shirt-read-executor.h"
#include "object-use/read/parchment-read-executor.h"
-#pragma once
+#pragma once
#include "object-use/read/read-executor-base.h"
#include <memory>
-/*
+/*
* @brief 読むことができるアイテム群の内、一つの指輪に刻印された文字を読んだ時の効果や処理を記述する.
* @date 2022/02/26
* @author Hourier
-#pragma once
+#pragma once
#include "object-use/read/read-executor-base.h"
-/*
+/*
* @brief 読むことができるアイテム群の内、巻物を読んだ時の効果や処理を記述する.
* @date 2022/02/26
* @author Hourier
-#pragma once
+#pragma once
#include "object-use/read/read-executor-base.h"
-/*!
+/*!
* @file throw-util.cpp
* @brief 投擲処理関連クラス
* @date 2021/08/20
-#pragma once
+#pragma once
/*!
* @file throw-util.h
* @brief 投擲処理関連ヘッダ
-/*!
+/*!
* @brief 杖を振る処理
* @date 2021/09/25
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief ロッドを振る処理
* @date 2021/09/25
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "object-use/zapwand-execution.h"
+#include "object-use/zapwand-execution.h"
#include "action/action-limited.h"
#include "avatar/avatar.h"
#include "cmd-item/cmd-zapwand.h" // 相互依存。暫定的措置、後で何とかする.
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief オブジェクトに関する汎用判定処理
* @date 2018/09/24
* @author deskull
-#pragma once
+#pragma once
#include "object/tval-types.h"
-#pragma once
+#pragma once
/*
* get_item()関数でアイテムの選択を行うフラグ / Bit flags for the "get_item" function
-#include "object/lite-processor.h"
+#include "object/lite-processor.h"
#include "core/disturbance.h"
#include "core/window-redrawer.h"
#include "game-option/disturbance-options.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-/*!
+/*!
* @brief アイテム破壊処理
* @date 2019/03/06
* @author deskull
-#pragma once
+#pragma once
#include "object-enchant/tr-types.h"
#include "system/angband.h"
-#include "object/object-flags.h"
+#include "object/object-flags.h"
#include "mind/mind-weaponsmith.h"
#include "object-enchant/object-ego.h"
#include "object-enchant/tr-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include "system/system-variables.h"
-#include "object/object-index-list.h"
+#include "object/object-index-list.h"
#include "system/floor-type-definition.h"
#include "system/item-entity.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief オブジェクトの実装 / Object code, part 1
* @date 2014/01/10
* @author
-#pragma once
+#pragma once
#include "object/tval-types.h"
#include "system/angband.h"
-/*!
+/*!
* @brief アイテムが特定種別のものであるかどうかの判定関数群
* @date 2018/12/15
* @author deskull
-#pragma once
+#pragma once
bool kind_is_cloak(short bi_id);
bool kind_is_polearm(short bi_id);
-/*
+/*
* @brief How an entity of an item is marked (flags in ItemEntity::marked)
* @date 2020/05/28
* @author Hourier
-/*!
+/*!
* @brief 同種のアイテムをインベントリや床に重ね合わせたり、その判断を行う処理
* @date 2020/06/03
* @author Hourier
-#pragma once
+#pragma once
class ItemEntity;
void distribute_charges(ItemEntity *o_ptr, ItemEntity *q_ptr, int amt);
-#include "object/object-value-calc.h"
+#include "object/object-value-calc.h"
#include "artifact/artifact-info.h"
#include "object-enchant/activation-info-table.h"
#include "object-enchant/object-ego.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "object/object-value.h"
+#include "object/object-value.h"
#include "monster-race/monster-race.h"
#include "object/object-flags.h"
#include "object/object-value-calc.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*
+/*
* The values for the "tval" field of various objects.
*
* This value is the primary means by which items are sorted in the
-#include "object/warning.h"
+#include "object/warning.h"
#include "artifact/fixed-art-types.h"
#include "core/asking-player.h"
#include "core/disturbance.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "perception/identification.h"
+#include "perception/identification.h"
#include "artifact/fixed-art-types.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "perception/object-perception.h"
+#include "perception/object-perception.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
#include "game-option/play-record-options.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-/*!
+/*!
* @brief 疑似鑑定処理
* @date 2020/05/15
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/item-feeling.h"
-/*!
+/*!
* @brief 落馬処理
* @date 2020/05/31
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "pet/pet-util.h"
+#include "pet/pet-util.h"
#include "core/stuff-handler.h"
#include "grid/grid.h"
#include "monster-race/monster-race.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
/*
* @file player-ability-types.h
-#include "player-ability/player-charisma.h"
+#include "player-ability/player-charisma.h"
#include "mutation/mutation-flag-types.h"
#include "object/object-flags.h"
#include "player-base/player-class.h"
-#pragma once
+#pragma once
#include "player-status/player-basic-statistics.h"
-#include "player-ability/player-constitution.h"
+#include "player-ability/player-constitution.h"
#include "mutation/mutation-flag-types.h"
#include "object/object-flags.h"
#include "player-base/player-class.h"
-#pragma once
+#pragma once
#include "player-status/player-basic-statistics.h"
-#include "player-ability/player-dexterity.h"
+#include "player-ability/player-dexterity.h"
#include "mutation/mutation-flag-types.h"
#include "object/object-flags.h"
#include "player-base/player-class.h"
-#pragma once
+#pragma once
#include "player-status/player-basic-statistics.h"
-#include "player-ability/player-intelligence.h"
+#include "player-ability/player-intelligence.h"
#include "mutation/mutation-flag-types.h"
#include "object/object-flags.h"
#include "player-base/player-class.h"
-#pragma once
+#pragma once
#include "player-status/player-basic-statistics.h"
-#include "player-ability/player-strength.h"
+#include "player-ability/player-strength.h"
#include "mutation/mutation-flag-types.h"
#include "object/object-flags.h"
#include "player-base/player-class.h"
-#pragma once
+#pragma once
#include "player-status/player-basic-statistics.h"
-#include "player-ability/player-wisdom.h"
+#include "player-ability/player-wisdom.h"
#include "mutation/mutation-flag-types.h"
#include "object/object-flags.h"
#include "player-base/player-class.h"
-#pragma once
+#pragma once
#include "player-status/player-basic-statistics.h"
-/*!
+/*!
* @brief 特殊属性武器で攻撃した際の追加効果処理
* @date 2020/05/23
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 吸血処理
* @date 2020/05/23
* @author Hourier
-#pragma once
+#pragma once
struct player_attack_type;
class PlayerType;
-/*!
+/*!
* @brief プレイヤーからモンスターへの打撃処理
* @date 2020/05/22
* @author Hourier
-#pragma once
+#pragma once
#include "combat/combat-options-type.h"
#include "combat/martial-arts-table.h"
-/*!
+/*!
* @brief プレイヤーの職業クラスに基づく耐性・能力の判定処理等を行うクラス
* @date 2021/09/08
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/tr-flags.h"
#include "system/player-type-definition.h"
-/*!
+/*!
* @brief プレイヤーの種族に基づく耐性・能力の判定処理等を行うクラス
* @date 2021/09/08
* @author Hourier
-#pragma once
+#pragma once
#include "object-enchant/tr-flags.h"
-#include "player-info/alignment.h"
+#include "player-info/alignment.h"
#include "artifact/fixed-art-types.h"
#include "avatar/avatar.h"
#include "game-option/text-display-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "player-info/base-status-info.h"
+#include "player-info/base-status-info.h"
#include "inventory/inventory-slot-types.h"
#include "object-enchant/tr-types.h"
#include "object/object-flags.h"
-#pragma once
+#pragma once
class PlayerType;
struct self_info_type;
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "player-info/body-improvement-info.h"
+#include "player-info/body-improvement-info.h"
#include "player-info/self-info-util.h"
#include "player/player-status-flags.h"
#include "player/player-status.h"
-#pragma once
+#pragma once
class PlayerType;
struct self_info_type;
-#include "player-info/class-ability-info.h"
+#include "player-info/class-ability-info.h"
#include "player-info/self-info-util.h"
#include "realm/realm-names-table.h"
#include "realm/realm-types.h"
-#pragma once
+#pragma once
class PlayerType;
struct self_info_type;
-/*!
+/*!
* @brief プレイヤーの職業に関する諸テーブル定義
* @date 2019/04/30
* @author deskull
-#pragma once
+#pragma once
/* 人畜無害なenumヘッダを先に読み込む */
#include "system/angband.h"
-#pragma once
+#pragma once
#include <memory>
#include <variant>
-#pragma once
+#pragma once
enum class PlayerClassType : short {
WARRIOR = 0,
-#include "player-info/equipment-info.h"
+#include "player-info/equipment-info.h"
#include "inventory/inventory-slot-types.h"
#include "object-hook/hook-weapon.h"
#include "object/tval-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "player-info/magic-eater-data-type.h"
+#include "player-info/magic-eater-data-type.h"
#include "sv-definition/sv-rod-types.h"
#include "sv-definition/sv-staff-types.h"
#include "sv-definition/sv-wand-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "player-info/mimic-info-table.h"
+#include "player-info/mimic-info-table.h"
#include "player-info/race-info.h"
#ifdef JP
-#pragma once
+#pragma once
#include "player-info/race-info.h"
#include <map>
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "player-info/mutation-info.h"
+#include "player-info/mutation-info.h"
#include "mutation/mutation-flag-types.h"
#include "player-info/self-info-util.h"
#include "player/player-status-flags.h"
-#pragma once
+#pragma once
class PlayerType;
struct self_info_type;
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "player-info/race-ability-info.h"
+#include "player-info/race-ability-info.h"
#include "player-info/self-info-util.h"
#include "system/player-type-definition.h"
#include "term/z-form.h"
-#pragma once
+#pragma once
class PlayerType;
struct self_info_type;
-#include "player-info/race-info.h"
+#include "player-info/race-info.h"
const player_race_info *rp_ptr;
-#pragma once
+#pragma once
#include <optional>
#include <unordered_map>
-#pragma once
+#pragma once
#include "util/enum-converter.h"
-#include "player-info/resistance-info.h"
+#include "player-info/resistance-info.h"
#include "player-base/player-race.h"
#include "player-info/race-info.h"
#include "player-info/self-info-util.h"
-#pragma once
+#pragma once
class PlayerType;
struct self_info_type;
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 自己分析における各種情報格納処理 (予定地)
* @author Hourier
* @date 2023/06/10
-#pragma once
+#pragma once
#include "system/item-entity.h"
-/*!
+/*!
* @brief 自己分析処理/ Self knowledge
* @date 2018/09/07
* @author deskull
-#pragma once
+#pragma once
class PlayerType;
void self_knowledge(PlayerType *player_ptr);
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "player-info/weapon-effect-info.h"
+#include "player-info/weapon-effect-info.h"
#include "inventory/inventory-slot-types.h"
#include "object-enchant/tr-types.h"
#include "player-info/self-info-util.h"
-#pragma once
+#pragma once
class PlayerType;
struct self_info_type;
-#include "player-status/player-basic-statistics.h"
+#include "player-status/player-basic-statistics.h"
#include "core/window-redrawer.h"
#include "mutation/mutation-flag-types.h"
#include "object/object-flags.h"
-#pragma once
+#pragma once
#include "player-ability/player-ability-types.h"
#include "player-status/player-status-base.h"
-/*
+/*
* @file player-energy.cpp
* @brief ゲームターン当たりの行動エネルギー増減処理
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
/*!< Empty hand status */
enum empty_hand_status {
-#include "player-status/player-infravision.h"
+#include "player-status/player-infravision.h"
#include "mutation/mutation-flag-types.h"
#include "player-base/player-race.h"
#include "player-info/mimic-info-table.h"
-#pragma once
+#pragma once
#include "player-status/player-status-base.h"
class PlayerInfravision : public PlayerStatusBase {
-#include "player-status/player-speed.h"
+#include "player-status/player-speed.h"
#include "artifact/fixed-art-types.h"
#include "grid/feature-flag-types.h"
#include "grid/feature.h"
-#pragma once
+#pragma once
#include "player-status/player-status-base.h"
class PlayerSpeed : public PlayerStatusBase {
-#include "player-status/player-status-base.h"
+#include "player-status/player-status-base.h"
#include "inventory/inventory-slot-types.h"
#include "object/object-flags.h"
#include "player/player-status.h"
-#pragma once
+#pragma once
#include "player/player-status-flags.h"
#include "system/angband.h"
-#include "player-status/player-stealth.h"
+#include "player-status/player-stealth.h"
#include "mind/mind-ninja.h"
#include "mutation/mutation-flag-types.h"
#include "player-base/player-class.h"
-#pragma once
+#pragma once
#include "player-status/player-status-base.h"
class PlayerStealth : public PlayerStatusBase {
-#pragma once
+#pragma once
enum special_attack_type {
ATTACK_CONFUSE = 0x00000001, /*!< プレイヤーのステータス:混乱打撃 */
-#include "player/digestion-processor.h"
+#include "player/digestion-processor.h"
#include "avatar/avatar.h"
#include "core/disturbance.h"
#include "core/speed-table.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief エルドリッチホラー処理
* @date 2020/06/07
* @author Hourier
-#pragma once
+#pragma once
class MonsterEntity;
class PlayerType;
-#include "player/patron.h"
+#include "player/patron.h"
#include "cmd-action/cmd-pet.h"
#include "cmd-io/cmd-dump.h"
#include "flavor/flavor-describer.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-#include "player/permanent-resistances.h"
+#include "player/permanent-resistances.h"
#include "inventory/inventory-slot-types.h"
#include "mind/mind-elementalist.h"
#include "mutation/mutation-flag-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "player/player-damage.h"
+#include "player/player-damage.h"
#include "autopick/autopick-pref-processor.h"
#include "avatar/avatar.h"
#include "blue-magic/blue-magic-checker.h"
-#pragma once
+#pragma once
#include <string_view>
-/*!
+/*!
* @brief プレイヤーの移動処理 / Movement commands
* @date 2014/01/02
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
enum player_personality_type {
PERSONALITY_ORDINARY = 0,
-#include "player/player-personality.h"
+#include "player/player-personality.h"
#include "mutation/mutation-flag-types.h"
#include "object-enchant/trc-types.h"
-#pragma once
+#pragma once
#include "player/player-personality-types.h"
#include "system/angband.h"
-#include "player/player-realm.h"
+#include "player/player-realm.h"
#include "object/tval-types.h"
#include "system/player-type-definition.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <vector>
-#include "player/player-sex.h"
+#include "player/player-sex.h"
/*
* Pointer to the player tables
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "player/player-skill.h"
+#include "player/player-skill.h"
#include "monster-race/monster-race.h"
#include "player-base/player-class.h"
#include "player-base/player-race.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "player/player-status-flags.h"
+#include "player/player-status-flags.h"
#include "artifact/fixed-art-types.h"
#include "inventory/inventory-slot-types.h"
#include "mind/mind-elementalist.h"
-#pragma once
+#pragma once
#include "inventory/inventory-slot-types.h"
#include "object-enchant/tr-types.h"
-#include "player/player-status-resist.h"
+#include "player/player-status-resist.h"
#include "artifact/fixed-art-types.h"
#include "grid/grid.h"
#include "inventory/inventory-slot-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "player/player-status-table.h"
+#include "player/player-status-table.h"
/*!
* @brief 能力値テーブル / Abbreviations of healthy stats
-#pragma once
+#pragma once
#include "player-ability/player-ability-types.h"
#include "system/angband.h"
-#include "player/player-status.h"
+#include "player/player-status.h"
#include "artifact/fixed-art-types.h"
#include "autopick/autopick-reader-writer.h"
#include "autopick/autopick.h"
-#pragma once
+#pragma once
/*
* @file player-status.h
-#include "player/player-view.h"
+#include "player/player-view.h"
#include "floor/cave.h"
#include "floor/line-of-sight.h"
#include "game-option/map-screen-options.h"
-#pragma once
+#pragma once
class PlayerType;
void update_view(PlayerType *player_ptr);
-/*!
+/*!
* @brief 死亡・引退・切腹時の画面表示
* @date 2020/02/24
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void print_tomb(PlayerType *player_ptr);
-#include "player/process-name.h"
+#include "player/process-name.h"
#include "autopick/autopick-reader-writer.h"
#include "core/asking-player.h"
#include "game-option/birth-options.h"
-#pragma once
+#pragma once
class PlayerType;
void process_player_name(PlayerType *player_ptr, bool is_new_savefile = false);
-#include "player/race-info-table.h"
+#include "player/race-info-table.h"
#ifdef JP
#define N(JAPANESE, ENGLISH) JAPANESE, ENGLISH
-#pragma once
+#pragma once
#include "player-info/race-info.h"
#include "player-info/race-types.h"
-#include "player/race-resistances.h"
+#include "player/race-resistances.h"
#include "inventory/inventory-slot-types.h"
#include "mind/mind-elementalist.h"
#include "mutation/mutation-flag-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
enum special_defence {
DEFENSE_ACID = 0x00000001, /*!< プレイヤーのステータス:酸免疫 */
-#include "player/temporary-resistances.h"
+#include "player/temporary-resistances.h"
#include "object-enchant/tr-types.h"
#include "player-info/race-info.h"
#include "player-info/race-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "racial/class-racial-switcher.h"
+#include "racial/class-racial-switcher.h"
#include "cmd-action/cmd-spell.h"
#include "mind/mind-elementalist.h"
#include "racial/racial-util.h"
-#pragma once
+#pragma once
class PlayerType;
struct rc_type;
-#include "racial/mutation-racial-selector.h"
+#include "racial/mutation-racial-selector.h"
#include "cmd-action/cmd-spell.h"
#include "locale/japanese.h"
#include "mutation/mutation-flag-types.h"
-#pragma once
+#pragma once
class PlayerType;
struct rc_type;
-#include "racial/race-racial-command-setter.h"
+#include "racial/race-racial-command-setter.h"
#include "cmd-action/cmd-spell.h"
#include "player-info/race-info.h"
#include "racial/racial-util.h"
-#pragma once
+#pragma once
class PlayerType;
struct rc_type;
-#include "racial/racial-android.h"
+#include "racial/racial-android.h"
#include "effect/attribute-types.h"
#include "inventory/inventory-slot-types.h"
#include "object-enchant/object-ego.h"
-#pragma once
+#pragma once
class PlayerType;
bool android_inside_weapon(PlayerType *player_ptr);
-#include "racial/racial-balrog.h"
+#include "racial/racial-balrog.h"
#include "effect/attribute-types.h"
#include "player/player-status.h"
#include "spell-kind/spells-launcher.h"
-#pragma once
+#pragma once
class PlayerType;
bool demonic_breath(PlayerType *player_ptr);
-#include "racial/racial-draconian.h"
+#include "racial/racial-draconian.h"
#include "effect/attribute-types.h"
#include "mind/mind-elementalist.h"
#include "player/player-status.h"
-#pragma once
+#pragma once
class PlayerType;
bool draconian_breath(PlayerType *player_ptr);
-#include "racial/racial-kutar.h"
+#include "racial/racial-kutar.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
#include "game-option/disturbance-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief レイシャルと突然変異の技能処理 / Racial powers (and mutations)
* @date 2014/01/08
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "racial/racial-util.h"
+#include "racial/racial-util.h"
#include "io/input-key-requester.h"
#include "player-base/player-class.h"
#include "system/player-type-definition.h"
-#pragma once
+#pragma once
#include <string>
#include <vector>
-#include "racial/racial-vampire.h"
+#include "racial/racial-vampire.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor/geometry.h"
#include "hpmp/hp-mp-processor.h"
-#pragma once
+#pragma once
class PlayerType;
bool vampirism(PlayerType *player_ptr);
-#include "realm/realm-arcane.h"
+#include "realm/realm-arcane.h"
#include "avatar/avatar.h"
#include "cmd-action/cmd-spell.h"
#include "core/asking-player.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#include "realm/realm-chaos.h"
+#include "realm/realm-chaos.h"
#include "cmd-action/cmd-spell.h"
#include "core/asking-player.h"
#include "effect/attribute-types.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#include "realm/realm-craft.h"
+#include "realm/realm-craft.h"
#include "cmd-action/cmd-spell.h"
#include "monster-floor/monster-summon.h"
#include "monster-floor/place-monster-types.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#include "realm/realm-crusade.h"
+#include "realm/realm-crusade.h"
#include "cmd-action/cmd-spell.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#include "realm/realm-death.h"
+#include "realm/realm-death.h"
#include "avatar/avatar.h"
#include "cmd-action/cmd-spell.h"
#include "effect/effect-characteristics.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#include "realm/realm-demon.h"
+#include "realm/realm-demon.h"
#include "cmd-action/cmd-spell.h"
#include "effect/attribute-types.h"
#include "monster-floor/monster-summon.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#pragma once
+#pragma once
enum spell_hex_type {
/* 1st book */
-/*!
+/*!
* @brief 呪術の処理実装 / Hex code
* @date 2014/01/14
* @author
-#pragma once
+#pragma once
#include "realm/realm-hex-numbers.h"
#include "spell/spells-util.h"
-#include "realm/realm-hissatsu.h"
+#include "realm/realm-hissatsu.h"
#include "artifact/fixed-art-types.h"
#include "cmd-action/cmd-attack.h"
#include "cmd-action/cmd-spell.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#include "realm/realm-life.h"
+#include "realm/realm-life.h"
#include "cmd-action/cmd-spell.h"
#include "effect/attribute-types.h"
#include "player/digestion-processor.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#include "realm/realm-names-table.h"
+#include "realm/realm-names-table.h"
#ifdef JP
/*!
-/*!
+/*!
* @brief 魔法領域に関する関数マクロ群
* @date 2021/10/11
* @author Hourier
-#include "realm/realm-nature.h"
+#include "realm/realm-nature.h"
#include "avatar/avatar.h"
#include "cmd-action/cmd-spell.h"
#include "effect/attribute-types.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#pragma once
+#pragma once
enum realm_song_type : int {
MUSIC_NONE = 0,
-#include "cmd-action/cmd-spell.h"
+#include "cmd-action/cmd-spell.h"
#include "core/window-redrawer.h"
#include "effect/effect-characteristics.h"
#include "effect/effect-processor.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#include "realm/realm-sorcery.h"
+#include "realm/realm-sorcery.h"
#include "avatar/avatar.h"
#include "cmd-action/cmd-spell.h"
#include "core/asking-player.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#include "realm/realm-trump.h"
+#include "realm/realm-trump.h"
#include "cmd-action/cmd-spell.h"
#include "core/asking-player.h"
#include "effect/attribute-types.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#pragma once
+#pragma once
enum magic_realm_type {
REALM_NONE = 0,
-/*!
+/*!
* @brief fill_data_type構造体を使ってダンジョンを生成/構成する処理
* @date 2020/07/24
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "room/door-definition.h"
+#include "room/door-definition.h"
door_type feat_door[MAX_DOOR_TYPES];
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
/* 池型地形の生成ID / Room types for generate_lake() */
enum lake_type {
-#include "room/room-generator.h"
+#include "room/room-generator.h"
#include "dungeon/dungeon-flag-types.h"
#include "game-option/birth-options.h"
#include "game-option/cheat-types.h"
-#pragma once
+#pragma once
struct dun_data_type;
class PlayerType;
-#include "room/room-info-table.h"
+#include "room/room-info-table.h"
/*!
* 各部屋タイプの生成比定義
-#pragma once
+#pragma once
#include "room/room-types.h"
#include "system/angband.h"
-#pragma once
+#pragma once
#include "util/enum-converter.h"
#include "util/enum-range.h"
-/*!
+/*!
* @brief ダンジョンフロアの部屋生成処理 / make rooms. Used by generate.c when creating dungeons.
* @date 2014/01/06
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "room/rooms-city.h"
+#include "room/rooms-city.h"
#include "floor/floor-generator.h"
#include "floor/floor-town.h"
#include "game-option/cheat-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "room/rooms-fractal.h"
+#include "room/rooms-fractal.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor/floor-generator.h"
#include "room/cave-filler.h"
-#pragma once
+#pragma once
struct dun_data_type;
class PlayerType;
-#include "room/rooms-maze-vault.h"
+#include "room/rooms-maze-vault.h"
#include "dungeon/dungeon-flag-types.h"
#include "game-option/cheat-types.h"
#include "grid/grid.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "room/rooms-normal.h"
+#include "room/rooms-normal.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor/geometry.h"
#include "grid/door.h"
-#pragma once
+#pragma once
struct dun_data_type;
class PlayerType;
-#include "room/rooms-pit-nest.h"
+#include "room/rooms-pit-nest.h"
#include "floor/floor-generator.h"
#include "game-option/cheat-options.h"
#include "game-option/cheat-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "room/rooms-special.h"
+#include "room/rooms-special.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor//geometry.h"
#include "floor/floor-generator.h"
-#pragma once
+#pragma once
struct dun_data_type;
class PlayerType;
-#include "room/rooms-trap.h"
+#include "room/rooms-trap.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor/floor-generator.h"
#include "game-option/cheat-types.h"
-#pragma once
+#pragma once
struct dun_data_type;
class PlayerType;
-/*!
+/*!
* @brief Vaultの生成処理
* @date 2018/09/11
* @author deskull
-#pragma once
+#pragma once
#include <stdint.h>
#include <string>
-#include "room/space-finder.h"
+#include "room/space-finder.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor/cave.h"
#include "grid/grid.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 部屋にアイテム・モンスター・罠を配置する処理
* @date 2020/07/24
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "room/vault-builder.h"
+#include "room/vault-builder.h"
#include "floor/cave.h"
#include "floor/floor-generator-util.h"
#include "floor/floor-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "save/floor-writer.h"
+#include "save/floor-writer.h"
#include "core/object-compressor.h"
#include "floor/floor-events.h"
#include "floor/floor-save-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "save/info-writer.h"
+#include "save/info-writer.h"
#include "birth/quick-start.h"
#include "game-option/cheat-options.h"
#include "game-option/option-flags.h"
-#pragma once
+#pragma once
enum class SaveType;
struct store_type;
-#include "save/item-writer.h"
+#include "save/item-writer.h"
#include "artifact/random-art-effects.h"
#include "load/old/item-flag-types-savefile50.h"
#include "save/save-util.h"
-#pragma once
+#pragma once
class ItemEntity;
void wr_item(ItemEntity *o_ptr);
-#include "save/monster-writer.h"
+#include "save/monster-writer.h"
#include "load/old/monster-flag-types-savefile50.h"
#include "monster-race/monster-race.h"
#include "monster/monster-info.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "save/player-class-specific-data-writer.h"
+#include "save/player-class-specific-data-writer.h"
#include "player-info/bard-data-type.h"
#include "player-info/bluemage-data-type.h"
#include "player-info/force-trainer-data-type.h"
-#pragma once
+#pragma once
#include <memory>
-#include "save/player-writer.h"
+#include "save/player-writer.h"
#include "cmd-building/cmd-building.h"
#include "game-option/birth-options.h"
#include "player-base/player-class.h"
-#pragma once
+#pragma once
class PlayerType;
void wr_player(PlayerType *player_ptr);
-#include "save/save-util.h"
+#include "save/save-util.h"
FILE *saving_savefile; /* Current save "file" */
byte save_xor_byte; /* Simple encryption */
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-/*!
+/*!
* @file save.c
* @brief セーブファイル書き込み処理 / Purpose: interact with savefiles
* @date 2014/07/12
-#pragma once
+#pragma once
enum class SaveType {
CLOSE_GAME,
-#include "smith/object-smith.h"
+#include "smith/object-smith.h"
#include "object-enchant/special-object-flags.h"
#include "object-enchant/tr-flags.h"
#include "object-enchant/tr-types.h"
-#pragma once
+#pragma once
#include "system/system-variables.h"
-#include "smith/smith-info.h"
+#include "smith/smith-info.h"
#include "object-enchant/tr-types.h"
#include "object/object-flags.h"
#include "object/tval-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "smith/smith-tables.h"
+#include "smith/smith-tables.h"
#include "artifact/random-art-effects.h"
#include "object-enchant/tr-flags.h"
#include "object-enchant/tr-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
#include "system/system-variables.h"
-#include "specific-object/blade-turner.h"
+#include "specific-object/blade-turner.h"
#include "effect/attribute-types.h"
#include "hpmp/hp-mp-processor.h"
#include "spell-kind/spells-launcher.h"
-#pragma once
+#pragma once
class PlayerType;
bool activate_bladeturner(PlayerType *player_ptr);
-#include "specific-object/bloody-moon.h"
+#include "specific-object/bloody-moon.h"
#include "artifact/fixed-art-types.h"
#include "object-enchant/object-boost.h"
#include "object-enchant/tr-types.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "specific-object/chest.h"
+#include "specific-object/chest.h"
#include "effect/attribute-types.h"
#include "floor/cave.h"
#include "floor/floor-object.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "specific-object/death-crimson.h"
+#include "specific-object/death-crimson.h"
#include "artifact/fixed-art-types.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-/*!
+/*!
* @brief 死の大鎌に特有の処理
* @date 2020/05/23
* @author Hourier
-#pragma once
+#pragma once
struct player_attack_type;
class PlayerType;
-#include "specific-object/monster-ball.h"
+#include "specific-object/monster-ball.h"
#include "effect/spells-effect-util.h"
#include "floor/geometry.h"
#include "game-option/input-options.h"
-#pragma once
+#pragma once
class PlayerType;
class ItemEntity;
-#include "specific-object/muramasa.h"
+#include "specific-object/muramasa.h"
#include "artifact/fixed-art-types.h"
#include "core/asking-player.h"
#include "spell/spells-object.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "specific-object/ring-of-power.h"
+#include "specific-object/ring-of-power.h"
#include "effect/attribute-types.h"
#include "main/sound-definitions-table.h"
#include "main/sound-of-music.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 知識の石を発動させる処理
* @date 2021/09/24
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
class StoneOfLore {
-#include "specific-object/toragoroshi.h"
+#include "specific-object/toragoroshi.h"
#include "player-attack/player-attack.h"
#include "system/player-type-definition.h"
#include "view/display-messages.h"
-#pragma once
+#pragma once
class PlayerType;
bool activate_toragoroshi(PlayerType *player_ptr);
-#include "specific-object/torch.h"
+#include "specific-object/torch.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor/cave.h"
#include "grid/grid.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 鏡使いの鏡魔法効果処理
* @date 2022/03/07
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
struct ProjectResult;
-#include "spell-kind/blood-curse.h"
+#include "spell-kind/blood-curse.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
#include "effect/effect-processor.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/earthquake.h"
+#include "spell-kind/earthquake.h"
#include "core/window-redrawer.h"
#include "dungeon/dungeon-flag-types.h"
#include "dungeon/quest.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 魔法効果の実装/ Spell code (part 3)
* @date 2014/07/26
* @author
-#pragma once
+#pragma once
class PlayerType;
bool recharge(PlayerType *player_ptr, int power);
-#include "spell-kind/spells-beam.h"
+#include "spell-kind/spells-beam.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
#include "spell-kind/spells-launcher.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/spells-charm.h"
+#include "spell-kind/spells-charm.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
#include "spell-kind/spells-launcher.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/spells-curse-removal.h"
+#include "spell-kind/spells-curse-removal.h"
#include "core/window-redrawer.h"
#include "inventory/inventory-slot-types.h"
#include "object-enchant/item-feeling.h"
-#pragma once
+#pragma once
class PlayerType;
int remove_curse(PlayerType *player_ptr);
-#include "spell-kind/spells-detection.h"
+#include "spell-kind/spells-detection.h"
#include "core/window-redrawer.h"
#include "dungeon/dungeon-flag-types.h"
#include "floor/cave.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/spells-enchant.h"
+#include "spell-kind/spells-enchant.h"
#include "artifact/random-art-generator.h"
#include "avatar/avatar.h"
#include "flavor/flavor-describer.h"
-#pragma once
+#pragma once
class PlayerType;
bool artifact_scroll(PlayerType *player_ptr);
-#include "spell-kind/spells-equipment.h"
+#include "spell-kind/spells-equipment.h"
#include "avatar/avatar.h"
#include "core/window-redrawer.h"
#include "flavor/flavor-describer.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/spells-fetcher.h"
+#include "spell-kind/spells-fetcher.h"
#include "core/stuff-handler.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief フロアに影響のある魔法の処理
* @date 2019/02/21
* @author deskull
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/spells-genocide.h"
+#include "spell-kind/spells-genocide.h"
#include "avatar/avatar.h"
#include "core/asking-player.h"
#include "core/stuff-handler.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/spells-grid.h"
+#include "spell-kind/spells-grid.h"
#include "dungeon/quest.h"
#include "floor/cave.h"
#include "floor/floor-object.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/spells-launcher.h"
+#include "spell-kind/spells-launcher.h"
#include "effect/effect-characteristics.h"
#include "effect/effect-processor.h"
#include "floor/geometry.h"
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-#include "spell-kind/spells-lite.h"
+#include "spell-kind/spells-lite.h"
#include "dungeon/dungeon-flag-types.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/spells-neighbor.h"
+#include "spell-kind/spells-neighbor.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
#include "effect/effect-processor.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/spells-perception.h"
+#include "spell-kind/spells-perception.h"
#include "autopick/autopick.h"
#include "avatar/avatar.h"
#include "core/stuff-handler.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/spells-pet.h"
+#include "spell-kind/spells-pet.h"
#include "core/asking-player.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
-#pragma once
+#pragma once
class PlayerType;
void discharge_minion(PlayerType *player_ptr);
-#include "spell-kind/spells-polymorph.h"
+#include "spell-kind/spells-polymorph.h"
#include "core/stuff-handler.h"
#include "floor/floor-object.h"
#include "monster-floor/monster-generator.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief ダイス目により様々な効果を及ぼす魔法の処理
* @date 2020/06/05
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-kind/spells-sight.h"
+#include "spell-kind/spells-sight.h"
#include "avatar/avatar.h"
#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-#include "spell-kind/spells-specific-bolt.h"
+#include "spell-kind/spells-specific-bolt.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
#include "spell-kind/spells-launcher.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief テレポート魔法全般
* @date 2020/06/04
* @author Hourier
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-/*
+/*
* @brief 帰還やテレポート・レベル等、フロアを跨ぐ魔法効果の処理
* @author Hourier
* @date 2022/10/10
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-realm/spells-arcane.h"
+#include "spell-realm/spells-arcane.h"
#include "inventory/inventory-slot-types.h"
#include "object/tval-types.h"
#include "sv-definition/sv-lite-types.h"
-#pragma once
+#pragma once
class PlayerType;
void phlogiston(PlayerType *player_ptr);
-#include "spell-realm/spells-chaos.h"
+#include "spell-realm/spells-chaos.h"
#include "core/window-redrawer.h"
#include "dungeon/quest.h"
#include "effect/attribute-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-realm/spells-craft.h"
+#include "spell-realm/spells-craft.h"
#include "avatar/avatar.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 破邪魔法処理
* @date 2020/06/05
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-realm/spells-demon.h"
+#include "spell-realm/spells-demon.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
#include "game-option/disturbance-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-realm/spells-hex.h"
+#include "spell-realm/spells-hex.h"
#include "core/asking-player.h"
#include "core/window-redrawer.h"
#include "effect/effect-characteristics.h"
-#pragma once
+#pragma once
#include "realm/realm-hex-numbers.h"
#include "system/angband.h"
-#include "spell-realm/spells-nature.h"
+#include "spell-realm/spells-nature.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
#include "floor/floor-object.h"
-#pragma once
+#pragma once
class PlayerType;
bool rustproof(PlayerType *player_ptr);
-#include "spell-realm/spells-song.h"
+#include "spell-realm/spells-song.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell-realm/spells-sorcery.h"
+#include "spell-realm/spells-sorcery.h"
#include "core/asking-player.h"
#include "core/window-redrawer.h"
#include "flavor/flavor-describer.h"
-#pragma once
+#pragma once
class PlayerType;
bool alchemy(PlayerType *player_ptr);
-#include "spell-realm/spells-trump.h"
+#include "spell-realm/spells-trump.h"
#include "avatar/avatar.h"
#include "monster-floor/monster-summon.h"
#include "monster-floor/place-monster-types.h"
-#pragma once
+#pragma once
class PlayerType;
void cast_shuffle(PlayerType *player_ptr);
-/*!
+/*!
* @brief 魔法による距離やエリアの計算
* @date 2014/07/10
* @author Ben Harrison, James E. Wilson, Robert A. Koeneke, deskull and Hourier
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-#include "spell/spell-info.h"
+#include "spell/spell-info.h"
#include "io/input-key-requester.h"
#include "monster-race/monster-race.h"
#include "player-base/player-class.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell/spells-describer.h"
+#include "spell/spells-describer.h"
#include "locale/language-switcher.h"
#include "object/tval-types.h"
-#pragma once
+#pragma once
#include <string>
-#include "spell/spells-diceroll.h"
+#include "spell/spells-diceroll.h"
#include "monster-race/monster-race-hook.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-flags-resistance.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell/spells-execution.h"
+#include "spell/spells-execution.h"
#include "realm/realm-arcane.h"
#include "realm/realm-chaos.h"
#include "realm/realm-craft.h"
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-/*!
+/*!
* @brief アイテムに影響のある魔法の処理
* @date 2019/01/22
* @author deskull
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "spell/spells-staff-only.h"
+#include "spell/spells-staff-only.h"
#include "effect/attribute-types.h"
#include "effect/effect-characteristics.h"
#include "effect/effect-processor.h"
-#pragma once
+#pragma once
class PlayerType;
bool cleansing_nova(PlayerType *player_ptr, bool magic, bool powerful);
-/*!
+/*!
* @brief スピード等のステータスに影響のある魔法の処理
* @date 2019/01/22
* @author deskull
-#pragma once
+#pragma once
#include "spell/spells-util.h"
#include "system/angband.h"
-#include "spell/spells-summon.h"
+#include "spell/spells-summon.h"
#include "avatar/avatar.h"
#include "effect/spells-effect-util.h"
#include "floor/floor-object.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
#define DETECT_RAD_DEFAULT 30
#define DETECT_RAD_MAP 30
-#pragma once
+#pragma once
/* summon_specificで取り扱われる、召喚の種別定義 / Legal restrictions for "summon_specific()" */
enum summon_type : int {
-#include "spell/technic-info-table.h"
+#include "spell/technic-info-table.h"
/*!
* @brief 歌、剣術、呪術領域情報テーブル
-#pragma once
+#pragma once
#include "realm/realm-types.h"
#include "system/angband.h"
-/*!
+/*!
* @brief プレイヤーの継続行動処理
* @date 2014/01/01
* @author
-#pragma once
+#pragma once
#include <stdint.h>
-#include "status/bad-status-setter.h"
+#include "status/bad-status-setter.h"
#include "avatar/avatar.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <memory>
-#include "status/base-status.h"
+#include "status/base-status.h"
#include "avatar/avatar.h"
#include "core/window-redrawer.h"
#include "game-option/birth-options.h"
-#pragma once
+#pragma once
class PlayerType;
bool inc_stat(PlayerType *player_ptr, int stat);
-#include "status/body-improvement.h"
+#include "status/body-improvement.h"
#include "avatar/avatar.h"
#include "core/disturbance.h"
#include "core/speed-table.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "status/buff-setter.h"
+#include "status/buff-setter.h"
#include "avatar/avatar.h"
#include "core/disturbance.h"
#include "core/speed-table.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "status/element-resistance.h"
+#include "status/element-resistance.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
#include "game-option/disturbance-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "status/experience.h"
+#include "status/experience.h"
#include "player-base/player-race.h"
#include "player/player-status.h"
#include "system/player-type-definition.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "status/shape-changer.h"
+#include "status/shape-changer.h"
#include "autopick/autopick-reader-writer.h"
#include "avatar/avatar.h"
#include "birth/birth-body-spec.h"
-#pragma once
+#pragma once
#include "player-info/race-types.h"
#include "system/angband.h"
-#include "status/sight-setter.h"
+#include "status/sight-setter.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
#include "game-option/disturbance-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "status/temporary-resistance.h"
+#include "status/temporary-resistance.h"
#include "core/disturbance.h"
#include "core/stuff-handler.h"
#include "game-option/disturbance-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "stdafx.h"
+#include "stdafx.h"
-#pragma once
+#pragma once
#include <algorithm>
#include <array>
#include <bitset>
-#include "store/articles-on-sale.h"
+#include "store/articles-on-sale.h"
#include "object/tval-types.h"
#include "store/store-owners.h"
#include "sv-definition/sv-amulet-types.h"
-#pragma once
+#pragma once
#include <map>
#include <vector>
-#include "store/black-market.h"
+#include "store/black-market.h"
#include "floor/floor-town.h"
#include "store/store-owners.h"
#include "store/store-util.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "store/cmd-store.h"
+#include "store/cmd-store.h"
#include "cmd-io/macro-util.h"
#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_store(PlayerType *player_ptr);
-#include "store/gold-magnification-table.h"
+#include "store/gold-magnification-table.h"
/*
* Buying and selling adjustments for race combinations.
-#pragma once
+#pragma once
#include "player-info/race-types.h"
#include "system/angband.h"
-#include "store/home.h"
+#include "store/home.h"
#include "avatar/avatar.h"
#include "floor/floor-town.h"
#include "game-option/birth-options.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "store/museum.h"
+#include "store/museum.h"
#include "core/asking-player.h"
#include "flavor/flavor-describer.h"
#include "store/home.h"
-#pragma once
+#pragma once
class PlayerType;
void museum_remove_object(PlayerType *player_ptr);
-#include "store/pricing.h"
+#include "store/pricing.h"
#include "object/object-value.h"
#include "player/player-status-table.h"
#include "store/gold-magnification-table.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "store/purchase-order.h"
+#include "store/purchase-order.h"
#include "autopick/autopick-finder.h"
#include "autopick/autopick-util.h"
#include "autopick/autopick.h"
-#pragma once
+#pragma once
enum class StoreSaleType;
class PlayerType;
-#include "store/rumor.h"
+#include "store/rumor.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
#include "floor/floor-town.h"
-#pragma once
+#pragma once
class PlayerType;
void display_rumor(PlayerType *player_ptr, bool ex);
-#include "store/say-comments.h"
+#include "store/say-comments.h"
#include "avatar/avatar.h"
#include "main/sound-definitions-table.h"
#include "main/sound-of-music.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "store/sell-order.h"
+#include "store/sell-order.h"
#include "action/weapon-shield.h"
#include "autopick/autopick.h"
#include "avatar/avatar.h"
-#pragma once
+#pragma once
enum class StoreSaleType;
class PlayerType;
-#include "store/service-checker.h"
+#include "store/service-checker.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-flags3.h"
#include "object-enchant/tr-types.h"
-#pragma once
+#pragma once
enum class StoreSaleType;
class ItemEntity;
-#include "store/store-key-processor.h"
+#include "store/store-key-processor.h"
#include "autopick/autopick-pref-processor.h"
#include "cmd-action/cmd-mind.h"
#include "cmd-action/cmd-spell.h"
-#pragma once
+#pragma once
extern bool leave_store;
-#include "store/store-owner-comments.h"
+#include "store/store-owner-comments.h"
concptr comment_1[MAX_COMMENT_1] = {
_("オーケーだ。", "Okay."),
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "store/store-owners.h"
+#include "store/store-owners.h"
#include "player-info/race-types.h"
#include "store/store-util.h"
-#pragma once
+#pragma once
#include "player-info/race-types.h"
#include "store/store-util.h"
-/*!
+/*!
* @brief 店舗処理関係のユーティリティ
* @date 2020/03/20
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief 店の処理 / Store commands
* @date 2022/03/26
* @author Hourier
-#pragma once
+#pragma once
#include "store/store-util.h"
#include "system/angband.h"
-#pragma once
+#pragma once
/* The "sval" codes for TV_AMULET */
enum sv_amulet_type {
-#pragma once
+#pragma once
/* The "sval" codes for TV_SOFT_ARMOR */
enum sv_soft_armor_type {
-#pragma once
+#pragma once
/* The "sval" codes for TV_BOW (note information in "sval") */
enum sv_bow_type {
-#pragma once
+#pragma once
/* The "sval" codes for TV_DIGGING */
enum sv_digging_type {
-#pragma once
+#pragma once
/* The "sval" codes for TV_FOOD */
enum sv_food_type {
-#pragma once
+#pragma once
/* The sval codes for TV_LITE */
enum sv_lite_type {
-/*!
+/*!
* @brief enumで表現することが却って高コストになりそうなSV (ベースアイテムのサブタイプ)定義をここに格納する
* @date 2020/05/28
* @author Hourier
-#pragma once
+#pragma once
/* The "sval" codes for TV_POTION */
enum sv_potion_type {
-#pragma once
+#pragma once
/* The "sval" codes for TV_SHIELD */
enum sv_shield_type {
-#pragma once
+#pragma once
/* The sval codes for TV_RING */
enum sv_ring_type {
-#pragma once
+#pragma once
/* The "sval" codes for TV_ROD */
enum sv_rod_type {
-#pragma once
+#pragma once
/* The "sval" codes for TV_SCROLL */
enum sv_scroll_type {
-#pragma once
+#pragma once
/* The "sval" codes for TV_STAFF */
enum sv_staff_type {
-#pragma once
+#pragma once
/* The "sval" codes for TV_WAND */
enum sv_wand_type {
-#pragma once
+#pragma once
/* The "sval" values for TV_HAFTED */
enum sv_hafted_type {
-#include "system/alloc-entries.h"
+#include "system/alloc-entries.h"
#include "system/baseitem-info.h"
/* The entries in the "race allocator table" */
-/*
+/*
* @brief
* @author
* Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke
-#pragma once
+#pragma once
#include <concepts>
#include <filesystem>
-#include "system/angband-version.h"
+#include "system/angband-version.h"
#include "system/angband-exceptions.h"
#include "system/angband.h"
-#pragma once
+#pragma once
#include <stdint.h>
#include <string>
-#pragma once
+#pragma once
/*!
* @file angband.h
-#include "system/artifact-type-definition.h"
+#include "system/artifact-type-definition.h"
#include "artifact/fixed-art-types.h"
#include "object/tval-types.h"
-#pragma once
+#pragma once
#include "object-enchant/tr-flags.h"
#include "object-enchant/trg-types.h"
-/*!
+/*!
* @brief ベースアイテム情報の構造体 / Information about object "kinds", including player knowledge.
* @date 2019/05/01
* @author deskull
-#pragma once
+#pragma once
#include "object-enchant/tr-flags.h"
#include "object-enchant/trg-types.h"
-#include "system/building-type-definition.h"
+#include "system/building-type-definition.h"
std::array<building_type, MAX_BUILDINGS> buildings;
MonsterRaceId battle_mon_list[4];
-#pragma once
+#pragma once
#include "player-info/class-types.h"
#include "player-info/race-types.h"
-#pragma once
+#pragma once
#include "floor/floor-base-definitions.h"
#include "system/angband.h"
-#include "system/dungeon-info.h"
+#include "system/dungeon-info.h"
#include "dungeon/dungeon-flag-mask.h"
/*
-#pragma once
+#pragma once
#include "dungeon/dungeon-flag-types.h"
#include "monster-race/race-ability-flags.h"
-#include "system/floor-type-definition.h"
+#include "system/floor-type-definition.h"
#include "system/dungeon-info.h"
bool FloorType::is_in_dungeon() const
-#pragma once
+#pragma once
#include "dungeon/quest.h"
#include "floor/floor-base-definitions.h"
-#pragma once
+#pragma once
enum game_option_types {
OPT_PAGE_INPUT,
-/*
+/*
* @brief ゲーム内で広範に使われる定数群の定義
* @author Hourier
* @date 2022/11/02
-#include "system/grid-type-definition.h"
+#include "system/grid-type-definition.h"
#include "monster-race/race-flags7.h"
#include "system/monster-race-info.h"
#include "system/terrain-type-definition.h"
-#pragma once
+#pragma once
#include "object/object-index-list.h"
#include "system/angband.h"
-#pragma once
+#pragma once
/*!
* @file h-basic.h
-/*!
+/*!
* @file h-config.h
* @brief OSごとの差異を吸収してコンパイルするためのプリプロ群
* The most basic "include" file.
-/*!
+/*!
* @file h-system.h
* @brief 変愚蛮怒用システムヘッダーファイル /
* The most basic "include" file.
-#pragma once
+#pragma once
/*!
* @file h-type.h
-/*
+/*
* @file item-entity.cpp
* @brief アイテム実体とそれにまつわる判定処理群
* @author Hourier
-#pragma once
+#pragma once
/*
* @file item-entity.h
-#include "system/monster-entity.h"
+#include "system/monster-entity.h"
#include "game-option/birth-options.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-indice-types.h"
-#pragma once
+#pragma once
#include "monster/monster-flag-types.h"
#include "monster/monster-timed-effect-types.h"
-#include "system/monster-race-info.h"
+#include "system/monster-race-info.h"
#include "monster-race/race-indice-types.h"
#include "monster/horror-descriptions.h"
#include <algorithm>
-#pragma once
+#pragma once
#include "monster-attack/monster-attack-effect.h"
#include "monster-attack/monster-attack-table.h"
-#include "system/player-type-definition.h"
+#include "system/player-type-definition.h"
#include "market/arena-info-table.h"
#include "system/redrawing-flags-updater.h"
#include "timed-effect/player-blindness.h"
-#pragma once
+#pragma once
#include "mutation/mutation-flag-types.h"
#include "object-enchant/trc-types.h"
-#include "system/redrawing-flags-updater.h"
+#include "system/redrawing-flags-updater.h"
#include "util/enum-range.h"
RedrawingFlagsUpdater RedrawingFlagsUpdater::instance{};
-#pragma once
+#pragma once
#include "util/flag-group.h"
-/*!
+/*!
* @brief グローバル変数の残骸
* @date 2013/12/31
* @todo 呼び出し関係を良く読んで消す方針で進めたい.
-#pragma once
+#pragma once
#include "system/angband.h"
-/*
+/*
* @brief 地形特性定義
* @author Hourier
* @date 2022/10/15
-#pragma once
+#pragma once
#include "grid/feature-flag-types.h"
#include "system/angband.h"
-#include "target/grid-selector.h"
+#include "target/grid-selector.h"
#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
#include "floor/cave.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "target/projection-path-calculator.h"
+#include "target/projection-path-calculator.h"
#include "effect/effect-characteristics.h"
#include "effect/spells-effect-util.h"
#include "floor/cave.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <utility>
-/*!
+/*!
* @brief 雑多なその他の処理2 / effects of various "objects"
* @date 2014/02/06
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "target/target-describer.h"
+#include "target/target-describer.h"
#include "action/travel-execution.h"
#include "core/stuff-handler.h"
#include "dungeon/quest.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "target/target-getter.h"
+#include "target/target-getter.h"
#include "core/asking-player.h"
#include "effect/spells-effect-util.h"
#include "floor/geometry.h"
-#pragma once
+#pragma once
class PlayerType;
bool get_aim_dir(PlayerType *player_ptr, int *dp);
-#include "target/target-preparation.h"
+#include "target/target-preparation.h"
#include "floor/cave.h"
#include "game-option/input-options.h"
#include "grid/grid.h"
-#pragma once
+#pragma once
#include <vector>
-#include "target/target-setter.h"
+#include "target/target-setter.h"
#include "core/stuff-handler.h"
#include "core/window-redrawer.h"
#include "floor/geometry.h"
-#pragma once
+#pragma once
#include <stdint.h>
-#pragma once
+#pragma once
#include <stdint.h>
/* target_set用関数の利用用途フラグ / Bit flags for the "target_set" function */
-#include "term/gameterm.h"
+#include "term/gameterm.h"
#include "effect/attribute-types.h"
#include "system/system-variables.h"
#include "term/term-color-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <array>
-#include "term/screen-processor.h"
+#include "term/screen-processor.h"
#include "io/input-key-acceptor.h"
#include "locale/japanese.h"
#include "term/term-color-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-#pragma once
+#pragma once
/*
* Angband "attributes" (with symbols, and base (R,G,B) codes)
-/*!
+/*!
* @file z-form.cpp
* @brief Low level text formatting
* @date 2023/04/30
-#pragma once
+#pragma once
/*!
* @file z-form.h
-/* File: z-rand.c */
+/* File: z-rand.c */
/*
* Copyright (c) 1997 Ben Harrison, and others
-/* File: z-rand.h */
+/* File: z-rand.h */
/*
* Copyright (c) 1997 Ben Harrison, and others
-/*
+/*
* @brief Purpose: a generic, efficient, terminal window package -BEN-
* Copyright (c) 1997 Ben Harrison
*
-#pragma once
+#pragma once
/*
* Copyright (c) 1997 Ben Harrison
-/* File: z-util.c */
+/* File: z-util.c */
/*
* Copyright (c) 1997 Ben Harrison
-#pragma once
+#pragma once
/*
* Copyright (c) 1997 Ben Harrison
-/* File: z-virt.c */
+/* File: z-virt.c */
/*
* Copyright (c) 1997 Ben Harrison
-#pragma once
+#pragma once
/*
* Copyright (c) 1997 Ben Harrison
-/*!
+/*!
* @brief sha256ハッシュ値計算クラスのテストプログラム
*
* srcディレクトリで以下のコマンドでコンパイルして実行する
-/*!
+/*!
* @brief プレイヤーの一時加速ステータス変更と判定
* @date 2022/08/15
* @author Hourier
-#pragma once
+#pragma once
class PlayerAcceleration {
public:
-/*!
+/*!
* @brief プレイヤーの盲目ステータス変更と判定
* @date 2022/08/30
* @author Hourier
-#pragma once
+#pragma once
class PlayerBlindness {
public:
-#include "timed-effect/player-confusion.h"
+#include "timed-effect/player-confusion.h"
short PlayerConfusion::current() const
{
-#pragma once
+#pragma once
class PlayerConfusion {
public:
-#include "timed-effect/player-cut.h"
+#include "timed-effect/player-cut.h"
#include "system/angband-exceptions.h"
#include "system/angband.h"
-#pragma once
+#pragma once
#include "term/term-color-types.h"
#include <string>
-/*!
+/*!
* @brief プレイヤーの一時減速ステータス変更と判定
* @date 2022/08/05
* @author Hourier
-#pragma once
+#pragma once
class PlayerDeceleration {
public:
-#include "timed-effect/player-fear.h"
+#include "timed-effect/player-fear.h"
short PlayerFear::current() const
{
-#pragma once
+#pragma once
class PlayerFear {
public:
-#include "timed-effect/player-hallucination.h"
+#include "timed-effect/player-hallucination.h"
short PlayerHallucination::current() const
{
-#pragma once
+#pragma once
class PlayerHallucination {
public:
-#include "timed-effect/player-paralysis.h"
+#include "timed-effect/player-paralysis.h"
short PlayerParalysis::current() const
{
-#pragma once
+#pragma once
class PlayerParalysis {
public:
-/*!
+/*!
* @brief プレイヤーの一時減速ステータス変更と判定
* @date 2022/08/16
* @author Hourier
-#pragma once
+#pragma once
class PlayerPoison {
public:
-#include "timed-effect/player-stun.h"
+#include "timed-effect/player-stun.h"
#include "system/angband-exceptions.h"
#include "system/angband.h"
-#pragma once
+#pragma once
#include "term/term-color-types.h"
#include <string>
-/*!
+/*!
* @brief プレイヤーの時限効果を表すオブジェクト群を保持する
* @date 2022/08/05
* @author Hourier
-#pragma once
+#pragma once
#include <memory>
-#include "util/angband-files.h"
+#include "util/angband-files.h"
#include "locale/japanese.h"
#include "system/angband-exceptions.h"
#include "util/string-processor.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <filesystem>
-#pragma once
+#pragma once
#include <cassert>
#include <type_traits>
-#include "util/buffer-shaper.h"
+#include "util/buffer-shaper.h"
#include "locale/japanese.h"
#include <algorithm>
#include <array>
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-#pragma once
+#pragma once
#include <type_traits>
-#pragma once
+#pragma once
#include <iterator>
#include <type_traits>
-#pragma once
+#pragma once
#include <concepts>
#include <functional>
-#pragma once
+#pragma once
#include <bitset>
#include <concepts>
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief オブジェクトのソート処理
* @date 2020/06/03
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#pragma once
+#pragma once
#include "system/h-type.h"
-#pragma once
+#pragma once
#include "system/angband-exceptions.h"
#include "term/z-rand.h"
-#include "util/rng-xoshiro.h"
+#include "util/rng-xoshiro.h"
namespace {
-#pragma once
+#pragma once
#include <array>
#include <cstdint>
-/*!
+/*!
* @brief SHA-256ハッシュ値計算クラスの定義
*
* RFC 6234のリファレンス実装を参考にC++20で実装
-/*!
+/*!
* @brief SHA-256ハッシュ値計算クラスの宣言
*/
-#include "util/sort.h"
+#include "util/sort.h"
#include "artifact/fixed-art-types.h"
#include "dungeon/quest.h"
#include "grid/grid.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "util/string-processor.h"
+#include "util/string-processor.h"
#include "util/int-char-converter.h"
/*!
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-#include "view/display-birth.h"
+#include "view/display-birth.h"
#include "birth/auto-roller.h"
#include "birth/birth-stat.h"
#include "game-option/birth-options.h"
-#pragma once
+#pragma once
class PlayerType;
void birth_put_stats(PlayerType *player_ptr);
-/*!
+/*!
* @brief キャラクタの特性を表示する
* @date 2020/02/25
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "view/display-fruit.h"
+#include "view/display-fruit.h"
#include "system/angband.h"
#include "term/screen-processor.h"
#include "term/term-color-types.h"
-#pragma once
+#pragma once
void display_fruit(int row, int col, int fruit);
-#include "view/display-inventory.h"
+#include "view/display-inventory.h"
#include "flavor/flavor-describer.h"
#include "game-option/special-options.h"
#include "game-option/text-display-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "view/display-lore-attacks.h"
+#include "view/display-lore-attacks.h"
#include "locale/japanese.h"
#include "lore/combat-types-setter.h"
#include "lore/lore-calculator.h"
-#pragma once
+#pragma once
struct lore_type;
void display_monster_blows(lore_type *lore_ptr);
-#include "view/display-lore-drops.h"
+#include "view/display-lore-drops.h"
#include "lore/lore-util.h"
#include "monster-race/race-flags1.h"
#include "util/bit-flags-calculator.h"
-#pragma once
+#pragma once
struct lore_type;
void display_monster_drop_quantity(lore_type *lore_ptr);
-#include "view/display-lore-magics.h"
+#include "view/display-lore-magics.h"
#include "lore/lore-util.h"
#include "monster-race/race-flags2.h"
#include "system/monster-race-info.h"
-#pragma once
+#pragma once
struct lore_type;
void display_monster_breath(lore_type *lore_ptr);
-#include "view/display-lore-status.h"
+#include "view/display-lore-status.h"
#include "locale/japanese.h"
#include "lore/lore-calculator.h"
#include "lore/lore-util.h"
-#pragma once
+#pragma once
struct lore_type;
void display_monster_hp_ac(lore_type *lore_ptr);
-/*!
+/*!
* @brief モンスターの思い出を表示する処理
* @date 2020/06/09
* @author Hourier
-#pragma once
+#pragma once
#include "lore/lore-util.h"
#include "system/angband.h"
-#include "view/display-map.h"
+#include "view/display-map.h"
#include "autopick/autopick-finder.h"
#include "autopick/autopick-methods-table.h"
#include "autopick/autopick-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "view/display-messages.h"
+#include "view/display-messages.h"
#include "core/window-redrawer.h"
#include "game-option/cheat-options.h"
#include "game-option/input-options.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <concepts>
-#include "view/display-monster-status.h"
+#include "view/display-monster-status.h"
#include "monster-race/monster-race-hook.h"
#include "monster-race/monster-race.h"
#include "monster/monster-flag-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string>
-#include "view/display-player-middle.h"
+#include "view/display-player-middle.h"
#include "combat/shoot.h"
#include "game-option/birth-options.h"
#include "game-option/special-options.h"
-#pragma once
+#pragma once
class PlayerType;
void display_player_middle(PlayerType *player_ptr);
-#include "view/display-player-misc-info.h"
+#include "view/display-player-misc-info.h"
#include "player-info/class-info.h"
#include "player-info/mimic-info-table.h"
#include "player/player-personality.h"
-#pragma once
+#pragma once
class PlayerType;
void display_player_name(PlayerType *player_ptr, bool name_only = false);
-/*!
+/*!
* @brief プレイヤーの耐性と能力値を表示する
* @date 2020/02/27
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void display_player_stat_info(PlayerType *player_ptr);
-/*!
+/*!
* @brief プレイヤーのステータス表示メインルーチン群
* @date 2020/02/25
* @author Hourier
-#pragma once
+#pragma once
#include "system/angband.h"
#include <optional>
-#include "view/display-scores.h"
+#include "view/display-scores.h"
#include "core/score-util.h"
#include "io/files-util.h"
#include "io/input-key-acceptor.h"
-#pragma once
+#pragma once
struct high_score;
void display_scores(int from, int to, int note, high_score *score);
-#include "view/display-self-info.h"
+#include "view/display-self-info.h"
#include "avatar/avatar.h"
#include "io/input-key-acceptor.h"
#include "player-info/alignment.h"
-#pragma once
+#pragma once
class PlayerType;
struct self_info_type;
-#include "view/display-store.h"
+#include "view/display-store.h"
#include "flavor/flavor-describer.h"
#include "game-option/birth-options.h"
#include "game-option/special-options.h"
-#pragma once
+#pragma once
enum class StoreSaleType;
class PlayerType;
-#include "view/display-util.h"
+#include "view/display-util.h"
#include "term/screen-processor.h"
#include "term/term-color-types.h"
#include "util/buffer-shaper.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-#include "view/object-describer.h"
+#include "view/object-describer.h"
#include "cmd-action/cmd-spell.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
-#pragma once
+#pragma once
class ItemEntity;
class PlayerType;
-#include "view/status-bars-table.h"
+#include "view/status-bars-table.h"
#include "term/term-color-types.h"
stat_bar stat_bars[MAX_STAT_BARS] = { { TERM_YELLOW, _("つ", "Ts"), _("つよし", "Tsuyoshi") }, { TERM_VIOLET, _("幻", "Ha"), _("幻覚", "Halluc") },
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @file status-first-page.c
* @brief キャラ基本情報及び技能値の表示
* @date 2020/02/23
-#pragma once
+#pragma once
#define ENTRY_BARE_HAND 0
#define ENTRY_TWO_HANDS 1
-#include "window/display-sub-windows.h"
+#include "window/display-sub-windows.h"
#include "core/window-redrawer.h"
#include "flavor/flavor-describer.h"
#include "floor/cave.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "window/main-window-equipments.h"
+#include "window/main-window-equipments.h"
#include "flavor/flavor-describer.h"
#include "game-option/special-options.h"
#include "game-option/text-display-options.h"
-#pragma once
+#pragma once
#include "object/tval-types.h"
-#include "window/main-window-left-frame.h"
+#include "window/main-window-left-frame.h"
#include "game-option/special-options.h"
#include "game-option/text-display-options.h"
#include "market/arena-info-table.h"
-#pragma once
+#pragma once
class PlayerType;
void print_title(PlayerType *player_ptr);
-#include "window/main-window-row-column.h"
+#include "window/main-window-row-column.h"
#include "locale/language-switcher.h"
const std::map<monster_timed_effect_type, std::string> effect_type_to_label = {
-#pragma once
+#pragma once
#include "monster/monster-timed-effect-types.h"
#include <map>
-#include "window/main-window-stat-poster.h"
+#include "window/main-window-stat-poster.h"
#include "io/input-key-requester.h"
#include "mind/stances-table.h"
#include "monster/monster-status.h"
-#pragma once
+#pragma once
class PlayerType;
void print_stat(PlayerType *player_ptr, int stat);
-#include "window/main-window-util.h"
+#include "window/main-window-util.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
#include "floor/cave.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "wizard/artifact-analyzer.h"
+#include "wizard/artifact-analyzer.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
#include "locale/japanese.h"
-#pragma once
+#pragma once
class ItemEntity;
struct obj_desc_list;
-#include "wizard/artifact-bias-table.h"
+#include "wizard/artifact-bias-table.h"
/*!
* @brief ランダムアーティファクトのバイアス名称テーブル
-#pragma once
+#pragma once
#include "artifact/random-art-bias-types.h"
#include "system/angband.h"
-/*!
+/*!
* @brief デバッグコマンドの分岐実装
* @date 2020/08/01
* @author Hourier
-#pragma once
+#pragma once
class PlayerType;
void do_cmd_debug(PlayerType *player_ptr);
-#include "wizard/fixed-artifacts-spoiler.h"
+#include "wizard/fixed-artifacts-spoiler.h"
#include "io/files-util.h"
#include "object/object-kind-hook.h"
#include "system/angband-version.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include "wizard/spoiler-util.h"
-#include "wizard/items-spoiler.h"
+#include "wizard/items-spoiler.h"
#include "flavor/flavor-describer.h"
#include "flavor/object-flavor-types.h"
#include "io/files-util.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include "wizard/spoiler-util.h"
-#include "wizard/monster-info-spoiler.h"
+#include "wizard/monster-info-spoiler.h"
#include "io/files-util.h"
#include "monster-race/monster-race.h"
#include "monster-race/race-flags1.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include "wizard/spoiler-util.h"
-#include "wizard/spoiler-table.h"
+#include "wizard/spoiler-table.h"
/* The basic items categorized by type */
const std::vector<grouper> group_item_list = {
-#pragma once
+#pragma once
#include "object-enchant/tr-types.h"
#include "object/tval-types.h"
-#include "wizard/spoiler-util.h"
+#include "wizard/spoiler-util.h"
#include "object/object-flags.h"
#include "system/item-entity.h"
-#pragma once
+#pragma once
#include "object-enchant/tr-flags.h"
#include "system/angband.h"
-#include "wizard/tval-descriptions-table.h"
+#include "wizard/tval-descriptions-table.h"
#include "object/tval-types.h"
/*!
-#pragma once
+#pragma once
#include "system/angband.h"
#include <vector>
-/*!
+/*!
* @brief ゲーム属性を変更するデバッグコマンド
* @date 2021/03/07
*/
-#pragma once
+#pragma once
class PlayerType;
void wizard_game_modifier(PlayerType *player_ptr);
-#include "wizard/wizard-item-modifier.h"
+#include "wizard/wizard-item-modifier.h"
#include "artifact/fixed-art-generator.h"
#include "artifact/fixed-art-types.h"
#include "artifact/random-art-effects.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "wizard/wizard-messages.h"
+#include "wizard/wizard-messages.h"
#include "game-option/cheat-options.h"
#include "game-option/cheat-types.h"
#include "io/write-diary.h"
-#pragma once
+#pragma once
#include "system/angband.h"
#include <string_view>
-/*!
+/*!
* @brief プレイヤー属性を変更するデバッグコマンド
* @date 2021/03/07
*/
-#pragma once
+#pragma once
class PlayerType;
void wizard_player_modifier(PlayerType *player_ptr);
-/*!
+/*!
* @brief ウィザードモードの処理(特別処理中心) / Wizard commands
* @date 2014/09/07
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-/*!
+/*!
* @brief ウィザードモード専用のスペル処理
* @date 2020/06/27
* @author Hourier
-#pragma once
+#pragma once
#include "effect/attribute-types.h"
#include "system/angband.h"
-/*!
+/*!
* @brief スポイラー出力処理 (行数の都合でモンスター進化ツリーもここに入っている)
* @date 2014/02/17
* @author
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "world/world-movement-processor.h"
+#include "world/world-movement-processor.h"
#include "cmd-io/cmd-save.h"
#include "core/disturbance.h"
#include "dungeon/quest.h"
-#pragma once
+#pragma once
class PlayerType;
void check_random_quest_auto_failure(PlayerType *player_ptr);
-#include "world/world-object.h"
+#include "world/world-object.h"
#include "dungeon/dungeon-flag-types.h"
#include "object-enchant/item-apply-magic.h"
#include "object/tval-types.h"
-#pragma once
+#pragma once
#include "system/angband.h"
-#include "world/world-turn-processor.h"
+#include "world/world-turn-processor.h"
#include "cmd-building/cmd-building.h"
#include "cmd-io/cmd-save.h"
#include "core/disturbance.h"
-#pragma once
+#pragma once
class PlayerType;
class WorldTurnProcessor {
-#include "world/world.h"
+#include "world/world.h"
#include "player-info/race-types.h"
#include "system/player-type-definition.h"
#include "util/bit-flags-calculator.h"
-#pragma once
+#pragma once
#include "market/bounty-type-definition.h"
#include "player-info/class-types.h"