<ClCompile Include="..\..\src\floor-save.c" />\r
<ClCompile Include="..\..\src\geometry.c" />\r
<ClCompile Include="..\..\src\history.c" />\r
+ <ClCompile Include="..\..\src\init.c" />\r
<ClCompile Include="..\..\src\monster-process.c" />\r
<ClCompile Include="..\..\src\monster-status.c" />\r
<ClCompile Include="..\..\src\monsterrace-hook.c" />\r
<ClCompile Include="..\..\src\gameoption.c" />\r
<ClCompile Include="..\..\src\grid.c" />\r
<ClCompile Include="..\..\src\inet.c" />\r
- <ClCompile Include="..\..\src\init2.c" />\r
<ClCompile Include="..\..\src\japanese.c" />\r
<ClCompile Include="..\..\src\load.c" />\r
<ClCompile Include="..\..\src\main-win.c" />\r
<ClInclude Include="..\..\src\dungeon-file.h" />\r
<ClInclude Include="..\..\src\externs.h" />\r
<ClInclude Include="..\..\src\feature.h" />\r
+ <ClInclude Include="..\..\src\files.h" />\r
<ClInclude Include="..\..\src\floor-events.h" />\r
<ClInclude Include="..\..\src\floor-generate.h" />\r
<ClInclude Include="..\..\src\floor-save.h" />\r
<ClCompile Include="..\..\src\realm-sorcery.c" />
<ClCompile Include="..\..\src\dungeon.c" />
<ClCompile Include="..\..\src\effects.c" />
- <ClCompile Include="..\..\src\files.c" />
<ClCompile Include="..\..\src\gameoption.c" />
<ClCompile Include="..\..\src\grid.c" />
<ClCompile Include="..\..\src\inet.c" />
- <ClCompile Include="..\..\src\init2.c" />
<ClCompile Include="..\..\src\japanese.c" />
<ClCompile Include="..\..\src\load.c" />
<ClCompile Include="..\..\src\main-win.c" />
<ClCompile Include="..\..\src\dungeon-file.c">
<Filter>io</Filter>
</ClCompile>
+ <ClCompile Include="..\..\src\init.c" />
+ <ClCompile Include="..\..\src\files.c">
+ <Filter>io</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\angband.h" />
<ClInclude Include="..\..\src\dungeon-file.h">
<Filter>io</Filter>
</ClInclude>
+ <ClInclude Include="..\..\src\files.h">
+ <Filter>io</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\src\angband.rc" />
#include "object-flavor.h"
#include "object-hook.h"
#include "spells-object.h"
+#include "files.h"
static bool has_extreme_damage_rate(object_type *o_ptr);
static bool weakening_artifact(object_type *o_ptr);
#include "object-flavor.h"
#include "object-hook.h"
+#include "files.h"
+
#define MAX_LINELEN 1024
/*
#include "floor.h"
#include "cmd-pet.h"
#include "dungeon-file.h"
+#include "files.h"
/*!
* オートローラーの内容を描画する間隔 /
#include "realm-hex.h"
#include "dungeon-file.h"
+#include "files.h"
+
/*!
* @brief 闘技場のモンスターID及び報酬アイテムテーブル
*/
#include "realm-hex.h"
#include "player-status.h"
#include "monster-status.h"
+#include "files.h"
/*!
* @brief アイテムの発動効果テーブル /
#include "cmd-basic.h"
#include "floor-save.h"
#include "dungeon-file.h"
+#include "files.h"
/*!
* @brief フロア脱出時に出戻りが不可能だった場合に警告を加える処理
#include "spells-status.h"
#include "cmd-basic.h"
+#include "files.h"
/*!
* @brief 巻物を読むコマンドのサブルーチン
#include "floor.h"
#include "view-mainwindow.h"
#include "dungeon-file.h"
+#include "files.h"
/*
*/
#include "grid.h"
#include "quest.h"
#include "monster.h"
+#include "files.h"
dungeon_grid letter[255];
#include "view-mainwindow.h"
#include "dungeon-file.h"
+#include "files.h"
static bool load = TRUE; /*!<ロード処理中の分岐フラグ*/
static int wild_regen = 20; /*!<広域マップ移動時の自然回復処理カウンタ(広域マップ1マス毎に20回処理を基本とする)*/
#include "player-move.h"
#include "monster-status.h"
#include "snipe.h"
+#include "files.h"
/*!
* @brief プレイヤーの継続行動を設定する。
extern void close_game(void);
-/* files.c */
-extern void safe_setuid_drop(void);
-extern void safe_setuid_grab(void);
-extern s16b tokenize(char *buf, s16b num, char **tokens, BIT_FLAGS mode);
-extern void display_player(int mode);
-extern errr make_character_dump(FILE *fff);
-extern errr file_character(concptr name);
-extern errr process_pref_file_command(char *buf);
-extern concptr process_pref_file_expr(char **sp, char *fp);
-extern errr process_pref_file(concptr name);
-extern errr process_autopick_file(concptr name);
-extern errr process_histpref_file(concptr name);
-extern void print_equippy(void);
-extern void display_player_equippy(TERM_LEN y, TERM_LEN x, BIT_FLAGS16 mode);
-extern errr check_time_init(void);
-extern errr check_load_init(void);
-extern errr check_time(void);
-extern errr check_load(void);
-extern bool show_file(bool show_version, concptr name, concptr what, int line, BIT_FLAGS mode);
-extern void do_cmd_help(void);
-extern void process_player_name(bool sf);
-extern void get_name(void);
-extern void do_cmd_save_game(int is_autosave);
-extern void do_cmd_save_and_exit(void);
-extern void exit_game_panic(void);
-extern void signals_ignore_tstp(void);
-extern void signals_handle_tstp(void);
-extern void signals_init(void);
-extern errr get_rnd_line(concptr file_name, int entry, char *output);
-extern void print_tomb(void);
-extern void show_info(void);
-extern bool check_score(void);
-
-#ifdef JP
-extern errr get_rnd_line_jonly(concptr file_name, int entry, char *output, int count);
-#endif
-extern errr counts_write(int where, u32b count);
-extern u32b counts_read(int where);
/* load.c */
#include "angband.h"
+#include "files.h"
+
#include "world.h"
#include "player-status.h"
#include "sort.h"
--- /dev/null
+#pragma once
+
+/* files.c */
+extern void safe_setuid_drop(void);
+extern void safe_setuid_grab(void);
+extern s16b tokenize(char *buf, s16b num, char **tokens, BIT_FLAGS mode);
+extern void display_player(int mode);
+extern errr make_character_dump(FILE *fff);
+extern errr file_character(concptr name);
+extern errr process_pref_file_command(char *buf);
+extern concptr process_pref_file_expr(char **sp, char *fp);
+extern errr process_pref_file(concptr name);
+extern errr process_autopick_file(concptr name);
+extern errr process_histpref_file(concptr name);
+extern void print_equippy(void);
+extern void display_player_equippy(TERM_LEN y, TERM_LEN x, BIT_FLAGS16 mode);
+extern errr check_time_init(void);
+extern errr check_load_init(void);
+extern errr check_time(void);
+extern errr check_load(void);
+extern bool show_file(bool show_version, concptr name, concptr what, int line, BIT_FLAGS mode);
+extern void do_cmd_help(void);
+extern void process_player_name(bool sf);
+extern void get_name(void);
+extern void do_cmd_save_game(int is_autosave);
+extern void do_cmd_save_and_exit(void);
+extern void exit_game_panic(void);
+extern void signals_ignore_tstp(void);
+extern void signals_handle_tstp(void);
+extern void signals_init(void);
+extern errr get_rnd_line(concptr file_name, int entry, char *output);
+extern void print_tomb(void);
+extern void show_info(void);
+extern bool check_score(void);
+
+#ifdef JP
+extern errr get_rnd_line_jonly(concptr file_name, int entry, char *output, int count);
+#endif
+extern errr counts_write(int where, u32b count);
+extern u32b counts_read(int where);
#include "object-hook.h"
#include "cmd-pet.h"
#include "cmd-basic.h"
+#include "files.h"
static FLOOR_IDX new_floor_id; /*!<次のフロアのID / floor_id of the destination */
static u32b change_floor_mode; /*!<フロア移行処理に関するフラグ / Mode flags for changing floor */
#include "store.h"
#include "wild.h"
#include "dungeon-file.h"
+#include "files.h"
#ifndef MACINTOSH
#ifdef CHECK_MODIFICATION_TIME
#include "cmd-pet.h"
#include "dungeon-file.h"
+#include "files.h"
/*
#include "view-mainwindow.h"
#include "floor-events.h"
#include "init.h"
+#include "files.h"
#ifdef WINDOWS
#include <windows.h>
#include "player-move.h"
#include "floor.h"
#include "spells.h"
+#include "files.h"
#include "monster-process.h"
#include "monsterrace-hook.h"
#include "floor.h"
+#include "files.h"
/*!
#include "object-curse.h"
#include "artifact.h"
#include "avatar.h"
+#include "files.h"
/*!
#include "warning.h"
#include "player-status.h"
#include "monster-spell.h"
+#include "files.h"
#define HORDE_NOGOOD 0x01 /*!< (未実装フラグ)HORDE生成でGOODなモンスターの生成を禁止する? */
#define HORDE_NOEVIL 0x02 /*!< (未実装フラグ)HORDE生成でEVILなモンスターの生成を禁止する? */
#include "object-hook.h"
#include "spells.h"
#include "cmd-basic.h"
+#include "files.h"
/*!
* @brief プレイヤーに突然変異を与える
#include "object-flavor.h"
#include "trap.h"
#include "snipe.h"
+#include "files.h"
/*!
* @brief 最初から簡易な名称が明らかになるベースアイテムの判定。 / Certain items, if aware, are known instantly
#include "object-hook.h"
#include "player-move.h"
#include "monster.h"
+#include "files.h"
#if defined(MACINTOSH) || defined(MACH_O_CARBON)
#ifdef verify
#include "angband.h"
#include "floor.h"
#include "player-status.h"
+#include "files.h"
#ifdef WORLD_SCORE
#include "angband.h"
+#include "files.h"
#include "object-flavor.h"
/*
#include "wild.h"
#include "floor-events.h"
#include "floor-save.h"
+#include "files.h"
#include "angband.h"
#include "player-status.h"
+#include "files.h"
/*!
* @brief i番目のスコア情報にバッファ位置をシークする / Seek score 'i' in the highscore file
#include "cmd-spell.h"
#include "snipe.h"
#include "floor-save.h"
+#include "files.h"
/*! テレポート先探索の試行数 / Maximum number of tries for teleporting */
#include "object-hook.h"
#include "floor-events.h"
#include "snipe.h"
+#include "files.h"
#define MIN_STOCK 12
#include "floor.h"
#include "floor-save.h"
#include "init.h"
+#include "files.h"
static s16b normal_traps[MAX_NORMAL_TRAPS];
*/
#include "angband.h"
+#include "files.h"
#include "world.h"
#include "quest.h"
#include "artifact.h"
#include "monster-status.h"
#include "quest.h"
#include "dungeon-file.h"
+#include "files.h"
/*
* Wilderness
#include "floor-save.h"
#include "grid.h"
#include "dungeon-file.h"
+#include "files.h"
#ifdef ALLOW_WIZARD