From: deskull Date: Tue, 4 Jun 2019 14:24:41 +0000 (+0900) Subject: [Refactor] #37353 MAX_HISCORES を scores.h へ移動. X-Git-Url: http://git.osdn.net/view?p=hengband%2Fhengband.git;a=commitdiff_plain;h=b914cfb4f77e8caa373af32644374d54a0784c5b [Refactor] #37353 MAX_HISCORES を scores.h へ移動. --- diff --git a/src/defines.h b/src/defines.h index 11300c985..f0d221014 100644 --- a/src/defines.h +++ b/src/defines.h @@ -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 diff --git a/src/scores.h b/src/scores.h index f240bb521..3f169dfba 100644 --- a/src/scores.h +++ b/src/scores.h @@ -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 */