リビジョン | dc2eeb719e6d18871aea6fb27744eaaf4082f0dc (tree) |
---|---|
日時 | 2019-05-25 23:58:02 |
作者 | deskull <deskull@user...> |
コミッター | deskull |
[Refactor] #37353 get_check_strict() 用オプションを util.h へ移動.
@@ -1176,17 +1176,6 @@ | ||
1176 | 1176 | |
1177 | 1177 | |
1178 | 1178 | /* |
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 | -/* | |
1190 | 1179 | * get_item()関数でアイテムの選択を行うフラグ / Bit flags for the "get_item" function |
1191 | 1180 | */ |
1192 | 1181 | #define USE_EQUIP 0x01 /*!< アイテム表示/選択範囲: 装備品からの選択を許可する / Allow equip items */ |
@@ -261,8 +261,17 @@ extern void clear_from(int row); | ||
261 | 261 | extern bool askfor_aux(char *buf, int len, bool numpad_cursor); |
262 | 262 | extern bool askfor(char *buf, int len); |
263 | 263 | 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 | |
264 | 272 | extern bool get_check(concptr prompt); |
265 | 273 | extern bool get_check_strict(concptr prompt, BIT_FLAGS mode); |
274 | + | |
266 | 275 | extern bool get_com(concptr prompt, char *command, bool z_escape); |
267 | 276 | extern QUANTITY get_quantity(concptr prompt, QUANTITY max); |
268 | 277 | extern void pause_line(int row); |