3 #include "system/angband.h"
7 * Bit flags for control of get_check_strict()
9 #define CHECK_OKAY_CANCEL 0x01
10 #define CHECK_NO_ESCAPE 0x02
11 #define CHECK_NO_HISTORY 0x04
12 #define CHECK_DEFAULT_Y 0x08
15 bool askfor(char *buf, int len, bool numpad_cursor = true);
16 bool get_string(std::string_view prompt, char *buf, int len);
17 bool get_check(std::string_view prompt);
18 bool get_check_strict(PlayerType *player_ptr, std::string_view prompt, BIT_FLAGS mode);
19 bool get_com(std::string_view prompt, char *command, bool z_escape);
20 QUANTITY get_quantity(concptr prompt, QUANTITY max);
21 void pause_line(int row);
22 bool get_value(std::string_view prompt, int min, int max, int *value);