-static FILE *fff; /* Current save "file" */
-
-static byte xor_byte; /* Simple encryption */
-
-static u32b v_stamp = 0L; /* A simple "checksum" on the actual values */
-static u32b x_stamp = 0L; /* A simple "checksum" on the encoded bytes */
+static FILE *fff; /* Current save "file" */
+static byte xor_byte; /* Simple encryption */
+static u32b v_stamp = 0L; /* A simple "checksum" on the actual values */
+static u32b x_stamp = 0L; /* A simple "checksum" on the encoded bytes */
wr_u32b(p_ptr->special_defense);
wr_byte(p_ptr->knowledge);
wr_byte(p_ptr->autopick_autoregister);
wr_u32b(p_ptr->special_defense);
wr_byte(p_ptr->knowledge);
wr_byte(p_ptr->autopick_autoregister);
/* Verify the existance of the savefile */
if (access(savefile, 0) < 0)
/* Verify the existance of the savefile */
if (access(savefile, 0) < 0)
#ifdef JP
msg_format("バージョン %d.%d.%d 用のセーブ・ファイルを変換しました。",
(z_major > 9) ? z_major-10 : z_major , z_minor, z_patch);
#ifdef JP
msg_format("バージョン %d.%d.%d 用のセーブ・ファイルを変換しました。",
(z_major > 9) ? z_major-10 : z_major , z_minor, z_patch);
#ifdef JP
msg_format("エラー(%s)がバージョン%d.%d.%d 用セーブファイル読み込み中に発生。",
what, (z_major>9) ? z_major - 10 : z_major, z_minor, z_patch);
#ifdef JP
msg_format("エラー(%s)がバージョン%d.%d.%d 用セーブファイル読み込み中に発生。",
what, (z_major>9) ? z_major - 10 : z_major, z_minor, z_patch);