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 49 #define FAKE_NAME_SIZE 40 * 1024L 50 #define FAKE_TEXT_SIZE 150 * 1024L 51 #define FAKE_TAG_SIZE 10 * 1024L 53 #define VER_INFO_ROW 3 119 #ifdef ALLOW_TEMPLATES header e_head
アイテムエゴ情報のヘッダ構造体
Definition: init.c:296
header f_head
地形情報のヘッダ構造体
Definition: init.c:293
char * buf
Definition: chuukei.c:98
header r_head
モンスター種族情報のヘッダ構造体
Definition: init.c:297
const char * concptr
文字列定数用ポインタ定義 / A simple pointer (to unmodifiable strings)
Definition: h-type.h:47
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: dungeon-file.c:1183
errr parse_a_info(char *buf, header *head)
固定アーティファクト情報(a_info)のパース関数 / Initialize the "a_info" array, by parsing an ascii "template" file
Definition: dungeon-file.c:2367
header k_head
ペースアイテム情報のヘッダ構造体
Definition: init.c:294
errr parse_d_info(char *buf, header *head)
ダンジョン情報(d_info)のパース関数 / Initialize the "d_info" array, by parsing an ascii "template" file
Definition: dungeon-file.c:3241
s16b f_tag_to_index_in_init(concptr str)
地形タグからIDを得る / Initialize quest array
Definition: init.c:1047
void init_file_paths(char *path)
各データファイルを読み取るためのパスを取得する Find the default paths to all of our important sub-directories.
Definition: init.c:104
errr parse_z_info(char *buf, header *head)
void init_angband(void)
全ゲームデータ読み込みのメインルーチン / Hack – main Angband initialization entry point
Definition: init.c:1707
errr parse_k_info(char *buf, header *head)
ベースアイテム(k_info)のパース関数 / Initialize the "k_info" array, by parsing an ascii "template" file
Definition: dungeon-file.c:2064
変愚時追加された基本事項のヘッダーファイル / The most basic "include" file.
header v_head
Vault情報のヘッダ構造体
Definition: init.c:292
int errr
エラーコードの定義 / Error codes for function return values
Definition: h-type.h:57
unsigned short u16b
Definition: h-type.h:99
errr parse_v_info(char *buf, header *head)
Vault情報(v_info)のパース関数 / Initialize the "v_info" array, by parsing an ascii "template" file
Definition: dungeon-file.c:1252
int error_line
データ読み込み/初期化時に汎用的にエラー行数を保存するグローバル変数
Definition: init.c:250
errr parse_f_info(char *buf, header *head)
地形情報(f_info)のパース関数 / Initialize the "f_info" array, by parsing an ascii "template" file
Definition: dungeon-file.c:1635
s16b f_tag_to_index(concptr str)
地形タグからIDを得る / Convert a fake tag to a real feat index
Definition: dungeon-file.c:1914
header a_head
固定アーティファクト情報のヘッダ構造体
Definition: init.c:295
errr parse_s_info(char *buf, header *head)
職業技能情報(s_info)のパース関数 / Initialize the "s_info" array, by parsing an ascii "template" file
Definition: dungeon-file.c:1337
u32b STR_OFFSET
テキストオフセットの型定義
Definition: h-type.h:212
errr parse_e_info(char *buf, header *head)
アイテムエゴ情報(e_info)のパース関数 / Initialize the "e_info" array, by parsing an ascii "template" file
Definition: dungeon-file.c:2595
int error_idx
データ読み込み/初期化時に汎用的にエラーコードを保存するグローバル変数
Definition: init.c:249
concptr get_check_sum(void)
サムチェック情報を出力 / Get check sum in string form
Definition: init.c:1933
signed short s16b
Definition: h-type.h:98
void retouch_f_info(header *head)
地形情報の各種タグからIDへ変換して結果を収める / Retouch fake tags of f_info
Definition: dungeon-file.c:1971
errr parse_m_info(char *buf, header *head)
職業魔法情報(m_info)のパース関数 / Initialize the "m_info" array, by parsing an ascii "template" file
Definition: dungeon-file.c:1421
errr parse_r_info(char *buf, header *head)
モンスター種族情報(r_info)のパース関数 / Initialize the "r_info" array, by parsing an ascii "template" file
Definition: dungeon-file.c:2840