From 20a7c8f4b4947cc0d3adbe17b4553cc888f11691 Mon Sep 17 00:00:00 2001 From: Deskull Date: Sat, 1 Jul 2017 23:47:14 +0900 Subject: [PATCH] =?utf8?q?(2.2.0.11)=20=E3=83=90=E3=83=BC=E3=82=B8?= =?utf8?q?=E3=83=A7=E3=83=B3=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89(V)?= =?utf8?q?=E3=81=AE=E8=A1=A8=E7=A4=BA=E4=BF=AE=E6=AD=A3=20/=20Change=20'V'?= =?utf8?q?=20command's=20message.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/cmd4.c | 8 +++++++- src/defines.h | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/cmd4.c b/src/cmd4.c index 16e0464f5..b70c9ac89 100644 --- a/src/cmd4.c +++ b/src/cmd4.c @@ -3956,8 +3956,14 @@ void do_cmd_note(void) void do_cmd_version(void) { /* Silly message */ + +#if FAKE_VER_EXTRA > 0 + msg_format(_("変愚蛮怒(Hengband) %d.%d.%d.%d", "You are playing Hengband %d.%d.%d.%d."), + FAKE_VER_MAJOR-10, FAKE_VER_MINOR, FAKE_VER_PATCH, FAKE_VER_EXTRA); +#else msg_format(_("変愚蛮怒(Hengband) %d.%d.%d", "You are playing Hengband %d.%d.%d."), - FAKE_VER_MAJOR-10, FAKE_VER_MINOR, FAKE_VER_PATCH); + FAKE_VER_MAJOR - 10, FAKE_VER_MINOR, FAKE_VER_PATCH); +#endif } diff --git a/src/defines.h b/src/defines.h index 0cc0c436c..3ea930454 100644 --- a/src/defines.h +++ b/src/defines.h @@ -53,7 +53,7 @@ #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */ #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */ #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */ -#define FAKE_VER_EXTRA 10 /*!< ゲームのバージョン番号定義(エクストラ番号) */ +#define FAKE_VER_EXTRA 11 /*!< ゲームのバージョン番号定義(エクストラ番号) */ /*! * @brief セーブファイル上のバージョン定義(メジャー番号) / "Savefile Version Number" for Hengband 1.1.1 and later @@ -71,7 +71,7 @@ #define H_VER_MAJOR 2 /*!< セーブファイル上のバージョン定義(メジャー番号) */ #define H_VER_MINOR 2 /*!< セーブファイル上のバージョン定義(マイナー番号) */ #define H_VER_PATCH 0 /*!< セーブファイル上のバージョン定義(パッチ番号) */ -#define H_VER_EXTRA 10 /*!< セーブファイル上のバージョン定義(エクストラ番号) */ +#define H_VER_EXTRA 11 /*!< セーブファイル上のバージョン定義(エクストラ番号) */ #define ANGBAND_2_8_1 /*!< Angband 2.8.1以降から有効な処理分岐を定義 */ #define ZANGBAND /*!< Zangband 以降から有効な処理分岐を定義 */ -- 2.11.0