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:272
header f_head
地形情報のヘッダ構造体
Definition: init2.c:269
char * buf
Definition: chuukei.c:83
header r_head
モンスター種族情報のヘッダ構造体
Definition: init2.c:273
errr(* parse_info_txt_func)(char *buf, header *head)
Definition: init.h:44
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:1175
header k_head
ペースアイテム情報のヘッダ構造体
Definition: init2.c:270
errr parse_r_info(char *buf, header *head)
モンスター種族情報(r_info)のパース関数 / Initialize the "r_info" array, by parsing an ascii "template" file
Definition: init1.c:2855
errr parse_f_info(char *buf, header *head)
地形情報(f_info)のパース関数 / Initialize the "f_info" array, by parsing an ascii "template" file
Definition: init1.c:1633
errr parse_s_info(char *buf, header *head)
職業技能情報(s_info)のパース関数 / Initialize the "s_info" array, by parsing an ascii "template" file
Definition: init1.c:1331
errr parse_a_info(char *buf, header *head)
固定アーティファクト情報(a_info)のパース関数 / Initialize the "a_info" array, by parsing an ascii "template" file
Definition: init1.c:2374
void retouch_f_info(header *head)
地形情報の各種タグからIDへ変換して結果を収める / Retouch fake tags of f_info
Definition: init1.c:1974
変愚時追加された基本事項のヘッダーファイル / The most basic "include" file.
header v_head
Vault情報のヘッダ構造体
Definition: init2.c:268
errr parse_k_info(char *buf, header *head)
ベースアイテム(k_info)のパース関数 / Initialize the "k_info" array, by parsing an ascii "template" file
Definition: init1.c:2065
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:225
header a_head
固定アーティファクト情報のヘッダ構造体
Definition: init2.c:271
errr parse_e_info(char *buf, header *head)
アイテムエゴ情報(e_info)のパース関数 / Initialize the "e_info" array, by parsing an ascii "template" file
Definition: init1.c:2604
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:1245
int error_line
データ読み込み/初期化時に汎用的にエラー行数を保存するグローバル変数
Definition: init2.c:226
errr parse_m_info(char *buf, header *head)
職業魔法情報(m_info)のパース関数 / Initialize the "m_info" array, by parsing an ascii "template" file
Definition: init1.c:1416
errr parse_d_info(char *buf, header *head)
ダンジョン情報(d_info)のパース関数 / Initialize the "d_info" array, by parsing an ascii "template" file
Definition: init1.c:3267