変愚蛮怒のメインリポジトリです
Revision | 52ac4782ac93d10a5cc3320cac649e0411ac3c46 (tree) |
---|---|
Time | 2019-05-18 19:12:07 |
Author | deskull <deskull@user...> |
Commiter | deskull |
[Refactor] #37353 savefile, savefile_base を files.c/h へ移動.
@@ -72,8 +72,6 @@ extern POSITION panel_col_prt, panel_row_prt; | ||
72 | 72 | extern int player_uid; |
73 | 73 | extern int player_euid; |
74 | 74 | extern int player_egid; |
75 | -extern char savefile[1024]; | |
76 | -extern char savefile_base[40]; | |
77 | 75 | extern pos_list tmp_pos; |
78 | 76 | extern STR_OFFSET quark__num; |
79 | 77 | extern concptr *quark__str; |
@@ -80,6 +80,14 @@ concptr ANGBAND_DIR_XTRA; //!< Various extra files (binary) These files are rare | ||
80 | 80 | |
81 | 81 | s16b signal_count; /* Hack -- Count interupts */ |
82 | 82 | |
83 | +/* | |
84 | + * Buffer to hold the current savefile name | |
85 | + * 'savefile' holds full path name. 'savefile_base' holds only base name. | |
86 | + */ | |
87 | +char savefile[1024]; | |
88 | +char savefile_base[40]; | |
89 | + | |
90 | + | |
83 | 91 | |
84 | 92 | /* |
85 | 93 | * You may or may not want to use the following "#undef". |
@@ -1,5 +1,8 @@ | ||
1 | 1 | #pragma once |
2 | 2 | |
3 | +extern char savefile[1024]; | |
4 | +extern char savefile_base[40]; | |
5 | + | |
3 | 6 | extern concptr ANGBAND_DIR; |
4 | 7 | extern concptr ANGBAND_DIR_APEX; |
5 | 8 | extern concptr ANGBAND_DIR_BONE; |
@@ -49,14 +49,6 @@ int player_uid; | ||
49 | 49 | int player_euid; |
50 | 50 | int player_egid; |
51 | 51 | |
52 | -/* | |
53 | - * Buffer to hold the current savefile name | |
54 | - * 'savefile' holds full path name. 'savefile_base' holds only base name. | |
55 | - */ | |
56 | -char savefile[1024]; | |
57 | -char savefile_base[40]; | |
58 | - | |
59 | - | |
60 | 52 | pos_list tmp_pos; |
61 | 53 | |
62 | 54 | /* |