13 #ifndef INCLUDED_INIT_H
14 #define INCLUDED_INIT_H
23 #define PARSE_ERROR_GENERIC 1
24 #define PARSE_ERROR_OBSOLETE_FILE 2
25 #define PARSE_ERROR_MISSING_RECORD_HEADER 3
26 #define PARSE_ERROR_NON_SEQUENTIAL_RECORDS 4
27 #define PARSE_ERROR_INVALID_FLAG 5
28 #define PARSE_ERROR_UNDEFINED_DIRECTIVE 6
29 #define PARSE_ERROR_OUT_OF_MEMORY 7
30 #define PARSE_ERROR_OUT_OF_BOUNDS 8
31 #define PARSE_ERROR_TOO_FEW_ARGUMENTS 9
32 #define PARSE_ERROR_TOO_MANY_ARGUMENTS 10
33 #define PARSE_ERROR_TOO_MANY_ALLOCATIONS 11
34 #define PARSE_ERROR_INVALID_SPELL_FREQ 12
35 #define PARSE_ERROR_INVALID_ITEM_NUMBER 13
36 #define PARSE_ERROR_TOO_MANY_ENTRIES 14
38 #define PARSE_ERROR_MAX 15
110 #ifdef ALLOW_TEMPLATES
header e_head
アイテムエゴ情報のヘッダ構造体
Definition: init2.c:297
header f_head
地形情報のヘッダ構造体
Definition: init2.c:294
char * buf
Definition: chuukei.c:83
header r_head
モンスター種族情報のヘッダ構造体
Definition: init2.c:298
errr init_info_txt(FILE *fp, char *buf, header *head, parse_info_txt_func parse_info_txt_line)
パース関数に基づいてデータファイルからデータを読み取る / Initialize an "*_info" array, by parsing an ascii "template" file ...
Definition: init1.c:1086
header k_head
ペースアイテム情報のヘッダ構造体
Definition: init2.c:295
errr parse_r_info(char *buf, header *head)
モンスター種族情報(r_info)のパース関数 / Initialize the "r_info" array, by parsing an ascii "template" file ...
Definition: init1.c:2767
errr parse_f_info(char *buf, header *head)
地形情報(f_info)のパース関数 / Initialize the "f_info" array, by parsing an ascii "template" file ...
Definition: init1.c:1544
errr parse_s_info(char *buf, header *head)
職業技能情報(s_info)のパース関数 / Initialize the "s_info" array, by parsing an ascii "template" file ...
Definition: init1.c:1242
errr parse_a_info(char *buf, header *head)
固定アーティファクト情報(a_info)のパース関数 / Initialize the "a_info" array, by parsing an ascii "template" file ...
Definition: init1.c:2286
void retouch_f_info(header *head)
地形情報の各種タグからIDへ変換して結果を収める / Retouch fake tags of f_info
Definition: init1.c:1885
変愚時追加された基本事項のヘッダーファイル / The most basic "include" file.
header v_head
Vault情報のヘッダ構造体
Definition: init2.c:293
errr parse_k_info(char *buf, header *head)
ベースアイテム(k_info)のパース関数 / Initialize the "k_info" array, by parsing an ascii "template" file ...
Definition: init1.c:1976
int errr
エラーコードの定義 / Error codes for function return values
Definition: h-type.h:56
unsigned short u16b
Definition: h-type.h:93
int error_idx
データ読み込み/初期化時に汎用的にエラーコードを保存するグローバル変数
Definition: init2.c:250
header a_head
固定アーティファクト情報のヘッダ構造体
Definition: init2.c:296
errr parse_e_info(char *buf, header *head)
アイテムエゴ情報(e_info)のパース関数 / Initialize the "e_info" array, by parsing an ascii "template" file ...
Definition: init1.c:2516
unsigned long u32b
Definition: h-type.h:102
errr parse_v_info(char *buf, header *head)
Vault情報(v_info)のパース関数 / Initialize the "v_info" array, by parsing an ascii "template" file...
Definition: init1.c:1156
int error_line
データ読み込み/初期化時に汎用的にエラー行数を保存するグローバル変数
Definition: init2.c:251
errr parse_m_info(char *buf, header *head)
職業魔法情報(m_info)のパース関数 / Initialize the "m_info" array, by parsing an ascii "template" file ...
Definition: init1.c:1327
errr(* parse_info_txt_func)(char *buf, header *head)
Definition: init.h:44
errr parse_d_info(char *buf, header *head)
ダンジョン情報(d_info)のパース関数 / Initialize the "d_info" array, by parsing an ascii "template" file ...
Definition: init1.c:3154
unsigned char byte
byte型をunsighned charとして定義 / Note that unsigned values can cause math problems / An unsigned byte of m...
Definition: h-type.h:76