#include "angband.h"
データ構造 | |
struct | menu_naiyou |
struct | special_menu_naiyou |
マクロ定義 | |
#define | O_BINARY 0 |
#define | MENU_CLASS 1 |
#define | MENU_WILD 2 |
#define | REPEAT_MAX 20 |
#define | CUTOFF 4 |
関数 | |
struct passwd * | getpwuid (uid_t uid) |
struct passwd * | getpwnam (const char *name) |
void | user_name (char *buf, int id) |
errr | path_parse (char *buf, int max, cptr file) |
static errr | path_temp (char *buf, int max) |
errr | path_build (char *buf, int max, cptr path, cptr file) |
FILE * | my_fopen (cptr file, cptr mode) |
errr | my_fclose (FILE *fff) |
FILE * | my_fopen_temp (char *buf, int max) |
errr | my_fgets (FILE *fff, char *buf, huge n) |
errr | my_fputs (FILE *fff, cptr buf, huge n) |
errr | fd_kill (cptr file) |
errr | fd_move (cptr file, cptr what) |
errr | fd_copy (cptr file, cptr what) |
int | fd_make (cptr file, int mode) |
int | fd_open (cptr file, int flags) |
errr | fd_lock (int fd, int what) |
errr | fd_seek (int fd, huge n) |
errr | fd_chop (int fd, huge n) |
errr | fd_read (int fd, char *buf, huge n) |
errr | fd_write (int fd, cptr buf, huge n) |
errr | fd_close (int fd) |
void | move_cursor (int row, int col) |
static char | octify (uint i) |
static char | hexify (uint i) |
static int | deoct (char c) |
static int | dehex (char c) |
static int | my_stricmp (cptr a, cptr b) |
static int | my_strnicmp (cptr a, cptr b, int n) |
static void | trigger_text_to_ascii (char **bufptr, cptr *strptr) |
void | text_to_ascii (char *buf, cptr str) |
static bool | trigger_ascii_to_text (char **bufptr, cptr *strptr) |
void | ascii_to_text (char *buf, cptr str) |
sint | macro_find_exact (cptr pat) |
static sint | macro_find_check (cptr pat) |
static sint | macro_find_maybe (cptr pat) |
static sint | macro_find_ready (cptr pat) |
errr | macro_add (cptr pat, cptr act) |
void | flush (void) |
void | bell (void) |
void | sound (int val) |
errr | play_music (int type, int val) |
void | select_floor_music () |
static char | inkey_aux (void) |
static void | forget_macro_action (void) |
char | inkey (void) |
void | quark_init (void) |
s16b | quark_add (cptr str) |
cptr | quark_str (s16b i) |
s16b | message_num (void) |
cptr | message_str (int age) |
void | message_add (cptr str) |
static void | msg_flush (int x) |
void | msg_print (cptr msg) |
void | screen_save (void) |
void | screen_load (void) |
void | msg_format (cptr fmt,...) |
void | c_put_str (byte attr, cptr str, int row, int col) |
void | put_str (cptr str, int row, int col) |
void | c_prt (byte attr, cptr str, int row, int col) |
void | prt (cptr str, int row, int col) |
void | c_roff (byte a, cptr str) |
void | roff (cptr str) |
void | clear_from (int row) |
bool | askfor_aux (char *buf, int len, bool numpad_cursor) |
bool | askfor (char *buf, int len) |
bool | get_string (cptr prompt, char *buf, int len) |
bool | get_check (cptr prompt) |
bool | get_check_strict (cptr prompt, int mode) |
bool | get_com (cptr prompt, char *command, bool z_escape) |
s16b | get_quantity (cptr prompt, int max) |
void | pause_line (int row) |
static char | inkey_from_menu (void) |
void | request_command (int shopping) |
bool | is_a_vowel (int ch) |
int | get_keymap_dir (char ch) |
void | repeat_push (int what) |
bool | repeat_pull (int *what) |
void | repeat_check (void) |
static void | swap (tag_type *a, tag_type *b) |
static void | InsertionSort (tag_type elements[], int number) |
static tag_type | median3 (tag_type elements[], int left, int right) |
static void | quicksort (tag_type elements[], int left, int right) |
void | tag_sort (tag_type elements[], int number) |
void | build_gamma_table (int gamma) |
errr | type_string (cptr str, uint len) |
void | roff_to_buf (cptr str, int maxlen, char *tbuf, size_t bufsize) |
size_t | my_strcpy (char *buf, const char *src, size_t bufsize) |
size_t | my_strcat (char *buf, const char *src, size_t bufsize) |
char * | my_strstr (const char *haystack, const char *needle) |
char * | my_strchr (const char *ptr, char ch) |
void | str_tolower (char *str) |
int | inkey_special (bool numpad_cursor) |
変数 | |
static int | num_more = 0 |
static char | inkey_macro_trigger_string [1024] |
static bool | macro__use [256] |
static bool | parse_macro = FALSE |
static bool | parse_under = FALSE |
static cptr | inkey_next = NULL |
static int | screen_depth = 0 |
static char | request_command_buffer [256] |
menu_naiyou | menu_info [10][10] |
special_menu_naiyou | special_menu_info [] |
static int | repeat__cnt = 0 |
static int | repeat__idx = 0 |
static int | repeat__key [REPEAT_MAX] |
byte | gamma_table [256] |
static s16b | gamma_helper [256] |
#define CUTOFF 4 |
#define MENU_CLASS 1 |
#define MENU_WILD 2 |
#define O_BINARY 0 |
#define REPEAT_MAX 20 |
void ascii_to_text | ( | char * | buf, |
cptr | str | ||
) |
bool askfor | ( | char * | buf, |
int | len | ||
) |
void bell | ( | void | ) |
void build_gamma_table | ( | int | gamma | ) |
void clear_from | ( | int | row | ) |
|
static |
|
static |
errr fd_close | ( | int | fd | ) |
errr fd_lock | ( | int | fd, |
int | what | ||
) |
int fd_make | ( | cptr | file, |
int | mode | ||
) |
int fd_open | ( | cptr | file, |
int | flags | ||
) |
void flush | ( | void | ) |
|
static |
int get_keymap_dir | ( | char | ch | ) |
struct passwd* getpwnam | ( | const char * | name | ) |
struct passwd* getpwuid | ( | uid_t | uid | ) |
|
static |
char inkey | ( | void | ) |
|
static |
|
static |
int inkey_special | ( | bool | numpad_cursor | ) |
|
static |
bool is_a_vowel | ( | int | ch | ) |
void message_add | ( | cptr | str | ) |
s16b message_num | ( | void | ) |
cptr message_str | ( | int | age | ) |
void move_cursor | ( | int | row, |
int | col | ||
) |
|
static |
void msg_format | ( | cptr | fmt, |
... | |||
) |
void msg_print | ( | cptr | msg | ) |
errr my_fclose | ( | FILE * | fff | ) |
FILE* my_fopen_temp | ( | char * | buf, |
int | max | ||
) |
size_t my_strcat | ( | char * | buf, |
const char * | src, | ||
size_t | bufsize | ||
) |
char* my_strchr | ( | const char * | ptr, |
char | ch | ||
) |
size_t my_strcpy | ( | char * | buf, |
const char * | src, | ||
size_t | bufsize | ||
) |
char* my_strstr | ( | const char * | haystack, |
const char * | needle | ||
) |
|
static |
|
static |
void pause_line | ( | int | row | ) |
errr play_music | ( | int | type, |
int | val | ||
) |
void prt | ( | cptr | str, |
int | row, | ||
int | col | ||
) |
void put_str | ( | cptr | str, |
int | row, | ||
int | col | ||
) |
void quark_init | ( | void | ) |
|
static |
void repeat_check | ( | void | ) |
bool repeat_pull | ( | int * | what | ) |
void repeat_push | ( | int | what | ) |
void request_command | ( | int | shopping | ) |
void roff | ( | cptr | str | ) |
void roff_to_buf | ( | cptr | str, |
int | maxlen, | ||
char * | tbuf, | ||
size_t | bufsize | ||
) |
void screen_load | ( | void | ) |
void screen_save | ( | void | ) |
void select_floor_music | ( | void | ) |
void sound | ( | int | val | ) |
void str_tolower | ( | char * | str | ) |
void tag_sort | ( | tag_type | elements[], |
int | number | ||
) |
void text_to_ascii | ( | char * | buf, |
cptr | str | ||
) |
|
static |
void user_name | ( | char * | buf, |
int | id | ||
) |
|
static |
byte gamma_table[256] |
|
static |
|
static |
menu_naiyou menu_info[10][10] |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
special_menu_naiyou special_menu_info[] |