• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revisiond8bc0dcd925048b158eba0a1dce1dd5d1cafaaf3 (tree)
Time2019-06-06 22:18:45
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #37353 チート情報オプション定義を util.h へ移動.

Change Summary

Incremental Difference

--- a/src/defines.h
+++ b/src/defines.h
@@ -254,11 +254,6 @@
254254 #define have_dark_flag(ARRAY) \
255255 (have_flag(ARRAY, TR_LITE_M1) || have_flag(ARRAY, TR_LITE_M2) || have_flag(ARRAY, TR_LITE_M3))
256256
257-/* Cheat Info Type */
258-#define CHEAT_OBJECT 0
259-#define CHEAT_MONSTER 1
260-#define CHEAT_DUNGEON 2
261-#define CHEAT_MISC 3
262257
263258 #define COMMAND_ARG_REST_UNTIL_DONE -2 /*!<休憩コマンド引数 … 必要な分だけ回復 */
264259 #define COMMAND_ARG_REST_FULL_HEALING -1 /*!<休憩コマンド引数 … HPとMPが全回復するまで */
--- a/src/util.h
+++ b/src/util.h
@@ -15,6 +15,12 @@ extern int PlayerUID;
1515
1616 #define SCREEN_BUF_MAX_SIZE (4 * 65536) /*!< Max size of screen dump buffer */
1717
18+/* Cheat Info Type */
19+#define CHEAT_OBJECT 0
20+#define CHEAT_MONSTER 1
21+#define CHEAT_DUNGEON 2
22+#define CHEAT_MISC 3
23+
1824 /*
1925 * Sort-array element
2026 */
Show on old repository browser