OSDN Git Service

Merge remote-tracking branch 'remotes/hengbandosx/english-market-edits' into feature...
[hengband/hengband.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 bool askfor_aux(char *buf, int len, bool numpad_cursor);
14 bool askfor(char *buf, int len);
15 bool get_string(concptr prompt, char *buf, int len);
16 bool get_check(concptr prompt);
17 bool get_check_strict(player_type *player_ptr, concptr prompt, BIT_FLAGS mode);
18 bool get_com(concptr prompt, char *command, bool z_escape);
19 QUANTITY get_quantity(concptr prompt, QUANTITY max);
20 void pause_line(int row);