From d8bc0dcd925048b158eba0a1dce1dd5d1cafaaf3 Mon Sep 17 00:00:00 2001 From: deskull Date: Thu, 6 Jun 2019 22:18:45 +0900 Subject: [PATCH] =?utf8?q?[Refactor]=20#37353=20=E3=83=81=E3=83=BC?= =?utf8?q?=E3=83=88=E6=83=85=E5=A0=B1=E3=82=AA=E3=83=97=E3=82=B7=E3=83=A7?= =?utf8?q?=E3=83=B3=E5=AE=9A=E7=BE=A9=E3=82=92=20util.h=20=E3=81=B8?= =?utf8?q?=E7=A7=BB=E5=8B=95=EF=BC=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/defines.h | 5 ----- src/util.h | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/defines.h b/src/defines.h index c766a73a5..85221872b 100644 --- a/src/defines.h +++ b/src/defines.h @@ -254,11 +254,6 @@ #define have_dark_flag(ARRAY) \ (have_flag(ARRAY, TR_LITE_M1) || have_flag(ARRAY, TR_LITE_M2) || have_flag(ARRAY, TR_LITE_M3)) -/* Cheat Info Type */ -#define CHEAT_OBJECT 0 -#define CHEAT_MONSTER 1 -#define CHEAT_DUNGEON 2 -#define CHEAT_MISC 3 #define COMMAND_ARG_REST_UNTIL_DONE -2 /*!<休憩コマンド引数 … 必要な分だけ回復 */ #define COMMAND_ARG_REST_FULL_HEALING -1 /*!<休憩コマンド引数 … HPとMPが全回復するまで */ diff --git a/src/util.h b/src/util.h index 337c3f713..8832a66d5 100644 --- a/src/util.h +++ b/src/util.h @@ -15,6 +15,12 @@ extern int PlayerUID; #define SCREEN_BUF_MAX_SIZE (4 * 65536) /*!< Max size of screen dump buffer */ +/* Cheat Info Type */ +#define CHEAT_OBJECT 0 +#define CHEAT_MONSTER 1 +#define CHEAT_DUNGEON 2 +#define CHEAT_MISC 3 + /* * Sort-array element */ -- 2.11.0