OSDN Git Service

[Refactor] #37353 Windows版オプションフラグ use_* を gameoption.c/h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Mon, 6 May 2019 10:08:09 +0000 (19:08 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Mon, 6 May 2019 10:08:09 +0000 (19:08 +0900)
src/externs.h
src/gameoption.c
src/gameoption.h
src/variable.c

index d1c8e64..d156370 100644 (file)
@@ -124,10 +124,7 @@ extern bool msg_flag;
 extern s16b running;
 
 extern GAME_TURN old_battle;
-extern bool use_sound;
-extern bool use_music;
-extern bool use_graphics;
-extern bool use_bigtile;
+
 extern s16b signal_count;
 extern bool inkey_base;
 extern bool inkey_xtra;
index 773219e..1f7852b 100644 (file)
@@ -188,6 +188,12 @@ bool autosave_l;   /* Autosave before entering new levels */
 bool autosave_t;       /* Timed autosave */
 s16b autosave_freq;     /* Autosave frequency */
 
+bool use_sound;                        /* The "sound" mode is enabled */
+bool use_music;                        /* The "music" mode is enabled */
+bool use_graphics;             /* The "graphics" mode is enabled */
+bool use_bigtile = FALSE;
+
+
 
 /*!
  * @brief オプションテーブル /
index 0d0f1aa..69f0d64 100644 (file)
@@ -184,6 +184,11 @@ extern s16b autosave_freq;
 extern bool autosave_t;
 extern bool autosave_l;
 
+extern bool use_sound;
+extern bool use_music;
+extern bool use_graphics;
+extern bool use_bigtile;
+
 /*
  * Available "options"
  *
index 209cd10..3084811 100644 (file)
@@ -103,11 +103,6 @@ s16b running;                      /* Current counter for running, if any */
 
 GAME_TURN old_battle;
 
-bool use_sound;                        /* The "sound" mode is enabled */
-bool use_music;                        /* The "music" mode is enabled */
-bool use_graphics;             /* The "graphics" mode is enabled */
-bool use_bigtile = FALSE;
-
 s16b signal_count;             /* Hack -- Count interupts */
 
 bool inkey_base;               /* See the "inkey()" function */