• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Révisionc0ce30c1cef9c5b2dd9bd1b1bdde3edfed0c57dd (tree)
l'heure2017-08-26 21:43:39
AuteurDeskull <desull@user...>
CommiterDeskull

Message de Log

#37449 (2.2.0.60) ウィザードモードメッセージにチートオプション毎の接頭部を追加。 / Add pre-code wizard mode massage by cheat option type.

Change Summary

Modification

--- a/src/defines.h
+++ b/src/defines.h
@@ -53,7 +53,7 @@
5353 #define FAKE_VER_MAJOR 12 /*!< ゲームのバージョン番号定義(メジャー番号 + 10) */
5454 #define FAKE_VER_MINOR 2 /*!< ゲームのバージョン番号定義(マイナー番号) */
5555 #define FAKE_VER_PATCH 0 /*!< ゲームのバージョン番号定義(パッチ番号) */
56-#define FAKE_VER_EXTRA 59 /*!< ゲームのバージョン番号定義(エクストラ番号) */
56+#define FAKE_VER_EXTRA 60 /*!< ゲームのバージョン番号定義(エクストラ番号) */
5757
5858
5959 /*!
@@ -5660,3 +5660,10 @@ extern int PlayerUID;
56605660 #define DICE_MULT 6
56615661 #define DICE_DIV 7
56625662 #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+
--- a/src/util.c
+++ b/src/util.c
@@ -2970,8 +2970,9 @@ void msg_print(cptr msg)
29702970
29712971 void msg_print_wizard(int cheat_type, cptr msg)
29722972 {
2973+ cptr cheat_mes[] = {"ITEM", "MONS", "DUNG", "MISC"};
29732974 char buf[1024];
2974- sprintf(buf, "WIZ%2d:%s", cheat_type, msg);
2975+ sprintf(buf, "WIZ-%s:%s", cheat_mes[cheat_type], msg);
29752976 msg_print(buf);
29762977 }
29772978