OSDN Git Service

[Refactor] #37353 cmd4~gameoption間整理。 / Refactor between cmd4 and gameoption.
authorDeskull <deskull@users.sourceforge.jp>
Wed, 19 Sep 2018 12:33:58 +0000 (21:33 +0900)
committerDeskull <deskull@users.sourceforge.jp>
Wed, 19 Sep 2018 12:33:58 +0000 (21:33 +0900)
src/cmd4.c
src/externs.h
src/gameoption.c

index 37e9e31..83b00f8 100644 (file)
@@ -1512,18 +1512,6 @@ static void do_cmd_options_cheat(cptr info)
 
 
 /*!
- * 自動セーブオプションテーブル
- */
-static option_type autosave_info[2] =
-{
-       { &autosave_l,      FALSE, 255, 0x01, 0x00,
-           "autosave_l",    _("新しい階に入る度に自動セーブする", "Autosave when entering new levels") },
-
-       { &autosave_t,      FALSE, 255, 0x02, 0x00,
-           "autosave_t",   _("一定ターン毎に自動セーブする", "Timed autosave") },
-};
-
-/*!
  * @brief セーブ頻度ターンの次の値を返す
  * @param current 現在のセーブ頻度ターン値
  * @return 次のセーブ頻度ターン値
index 4dab269..de6f941 100644 (file)
@@ -117,6 +117,7 @@ extern const cptr artifact_bias_name[MAX_BIAS];
 
 extern const option_type option_info[];
 extern const option_type cheat_info[CHEAT_MAX];
+extern const option_type autosave_info[2];
 
 /* variable.c */
 extern const cptr copyright[5];
index 0efa4b6..a8de5ee 100644 (file)
@@ -434,3 +434,15 @@ const option_type cheat_info[CHEAT_MAX] =
        }\r
 };\r
 \r
+\r
+/*!\r
+* \8e©\93®\83Z\81[\83u\83I\83v\83V\83\87\83\93\83e\81[\83u\83\8b\r
+*/\r
+const option_type autosave_info[2] =\r
+{\r
+       { &autosave_l,      FALSE, 255, 0x01, 0x00,\r
+       "autosave_l",    _("\90V\82µ\82¢\8aK\82É\93ü\82é\93x\82É\8e©\93®\83Z\81[\83u\82·\82é", "Autosave when entering new levels") },\r
+\r
+       { &autosave_t,      FALSE, 255, 0x02, 0x00,\r
+       "autosave_t",   _("\88ê\92è\83^\81[\83\93\96\88\82É\8e©\93®\83Z\81[\83u\82·\82é", "Timed autosave") },\r
+};\r