OSDN Git Service

[Refactor] #37353 MAX_HISCORES を scores.h へ移動.
authordeskull <deskull@users.sourceforge.jp>
Tue, 4 Jun 2019 14:24:41 +0000 (23:24 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Tue, 4 Jun 2019 14:24:41 +0000 (23:24 +0900)
src/defines.h
src/scores.h

index 11300c9..f0d2210 100644 (file)
@@ -93,8 +93,6 @@
 #define FAKE_TEXT_SIZE 150 * 1024L /*!< ゲーム情報の種別毎に用意されるテキスト用バッファの容量 */
 #define FAKE_TAG_SIZE   10 * 1024L /*!< ゲーム情報の種別毎に用意されるタグ用バッファの容量 */
 
-#define MAX_HISCORES    999 /*!< スコア情報保存の最大数 / Maximum number of high scores in the high score file */
-
 /*!
  * @brief プレイヤー用光源処理配列サイズ / Maximum size of the "lite" array (see "current_floor_ptr->grid_array.c")
  * @details Note that the "lite radius" will NEVER exceed 14, and we would
index f240bb5..3f169df 100644 (file)
@@ -35,6 +35,8 @@ struct high_score
        GAME_TEXT how[40];              /* Method of death (string) */
 };
 
+#define MAX_HISCORES    999 /*!< スコア情報保存の最大数 / Maximum number of high scores in the high score file */
+
 extern int highscore_fd;
 
 /* scores.c */