OSDN Git Service

36645520b1d6f9a817999e1c0d2128f35bf9c3d4
[hengbandforosx/hengbandosx.git] / src / core / asking-player.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 /*
6  * Bit flags for control of get_check_strict()
7  */
8 #define CHECK_OKAY_CANCEL 0x01
9 #define CHECK_NO_ESCAPE 0x02
10 #define CHECK_NO_HISTORY 0x04
11 #define CHECK_DEFAULT_Y 0x08
12
13 struct player_type;
14 bool askfor_aux(char *buf, int len, bool numpad_cursor);
15 bool askfor(char *buf, int len);
16 bool get_string(concptr prompt, char *buf, int len);
17 bool get_check(concptr prompt);
18 bool get_check_strict(player_type *player_ptr, concptr prompt, BIT_FLAGS mode);
19 bool get_com(concptr prompt, char *command, bool z_escape);
20 QUANTITY get_quantity(concptr prompt, QUANTITY max);
21 void pause_line(int row);