• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: コミット

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


コミットメタ情報

リビジョンdc2eeb719e6d18871aea6fb27744eaaf4082f0dc (tree)
日時2019-05-25 23:58:02
作者deskull <deskull@user...>
コミッターdeskull

ログメッセージ

[Refactor] #37353 get_check_strict() 用オプションを util.h へ移動.

変更サマリ

差分

--- a/src/defines.h
+++ b/src/defines.h
@@ -1176,17 +1176,6 @@
11761176
11771177
11781178 /*
1179- * Bit flags for control of get_check_strict()
1180- */
1181-#define CHECK_OKAY_CANCEL 0x01
1182-#define CHECK_NO_ESCAPE 0x02
1183-#define CHECK_NO_HISTORY 0x04
1184-#define CHECK_DEFAULT_Y 0x08
1185-
1186-
1187-
1188-
1189-/*
11901179 * get_item()関数でアイテムの選択を行うフラグ / Bit flags for the "get_item" function
11911180 */
11921181 #define USE_EQUIP 0x01 /*!< アイテム表示/選択範囲: 装備品からの選択を許可する / Allow equip items */
--- a/src/util.h
+++ b/src/util.h
@@ -261,8 +261,17 @@ extern void clear_from(int row);
261261 extern bool askfor_aux(char *buf, int len, bool numpad_cursor);
262262 extern bool askfor(char *buf, int len);
263263 extern bool get_string(concptr prompt, char *buf, int len);
264+
265+/*
266+ * Bit flags for control of get_check_strict()
267+ */
268+#define CHECK_OKAY_CANCEL 0x01
269+#define CHECK_NO_ESCAPE 0x02
270+#define CHECK_NO_HISTORY 0x04
271+#define CHECK_DEFAULT_Y 0x08
264272 extern bool get_check(concptr prompt);
265273 extern bool get_check_strict(concptr prompt, BIT_FLAGS mode);
274+
266275 extern bool get_com(concptr prompt, char *command, bool z_escape);
267276 extern QUANTITY get_quantity(concptr prompt, QUANTITY max);
268277 extern void pause_line(int row);
旧リポジトリブラウザで表示