OSDN Git Service

Merge remote-tracking branch 'remotes/origin/feature/Fix-Sanity-Blast-by-AutoSave...
[hengband/hengband.git] / src / util / string-processor.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 #define MAX_MACRO_MOD 12
6 #define MAX_MACRO_TRIG 200 /*!< 登録を許すマクロ(トリガー)の最大数 */
7
8 extern const char hexsym[16];
9
10 /*
11  * Automatically generated "variable" declarations
12  */
13 extern int max_macrotrigger;
14 extern concptr macro_template;
15 extern concptr macro_modifier_chr;
16 extern concptr macro_modifier_name[MAX_MACRO_MOD];
17 extern concptr macro_trigger_name[MAX_MACRO_TRIG];
18 extern concptr macro_trigger_keycode[2][MAX_MACRO_TRIG];
19
20 void text_to_ascii(char *buf, concptr str);
21 void ascii_to_text(char *buf, concptr str);
22 size_t angband_strcpy(char *buf, concptr src, size_t bufsize);
23 size_t angband_strcat(char *buf, concptr src, size_t bufsize);
24 char *angband_strstr(concptr haystack, concptr needle);
25 char *angband_strchr(concptr ptr, char ch);