変愚蛮怒のメインリポジトリです
Revision | c0ce30c1cef9c5b2dd9bd1b1bdde3edfed0c57dd (tree) |
---|---|
Time | 2017-08-26 21:43:39 |
Author | Deskull <desull@user...> |
Commiter | Deskull |
#37449 (2.2.0.60) ウィザードモードメッセージにチートオプション毎の接頭部を追加。 / Add pre-code wizard mode massage by cheat option type.
@@ -53,7 +53,7 @@ | ||
53 | 53 | #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */ |
54 | 54 | #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */ |
55 | 55 | #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */ |
56 | -#define FAKE_VER_EXTRA 59 /*!< ゲームのバージョン番号定義(エクストラ番号) */ | |
56 | +#define FAKE_VER_EXTRA 60 /*!< ゲームのバージョン番号定義(エクストラ番号) */ | |
57 | 57 | |
58 | 58 | |
59 | 59 | /*! |
@@ -5660,3 +5660,10 @@ extern int PlayerUID; | ||
5660 | 5660 | #define DICE_MULT 6 |
5661 | 5661 | #define DICE_DIV 7 |
5662 | 5662 | #define BASE_DAM 8 |
5663 | + | |
5664 | +/* Cheat Info Type */ | |
5665 | +#define CHEAT_OBJECT 0 | |
5666 | +#define CHEAT_MONSTER 1 | |
5667 | +#define CHEAT_DUNGEON 2 | |
5668 | +#define CHEAT_MISC 3 | |
5669 | + |
@@ -2970,8 +2970,9 @@ void msg_print(cptr msg) | ||
2970 | 2970 | |
2971 | 2971 | void msg_print_wizard(int cheat_type, cptr msg) |
2972 | 2972 | { |
2973 | + cptr cheat_mes[] = {"ITEM", "MONS", "DUNG", "MISC"}; | |
2973 | 2974 | char buf[1024]; |
2974 | - sprintf(buf, "WIZ%2d:%s", cheat_type, msg); | |
2975 | + sprintf(buf, "WIZ-%s:%s", cheat_mes[cheat_type], msg); | |
2975 | 2976 | msg_print(buf); |
2976 | 2977 | } |
2977 | 2978 |