X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Finit.h;h=d0e3e6d07c33cdbcec0dfc107f2808dd4aec641b;hb=2e0bb544a4dbdd0a190028450cf6efbad793fc5c;hp=22c01ce0f9cf71842d57f543f5af2c545a12fc0c;hpb=457c27ad8a40534c2494a6a5fc85604ec3610fca;p=hengband%2Fhengband.git diff --git a/src/init.h b/src/init.h index 22c01ce0f..d0e3e6d07 100644 --- a/src/init.h +++ b/src/init.h @@ -78,21 +78,14 @@ struct header byte v_patch; /* Version -- patch */ byte v_extra; /* Version -- extra */ - u16b info_num; /* Number of "info" records */ - - u16b info_len; /* Size of each "info" record */ - - + int info_len; /* Size of each "info" record */ u16b head_size; /* Size of the "header" in bytes */ - u32b info_size; /* Size of the "info" array in bytes */ - - u32b name_size; /* Size of the "name" array in bytes */ - - u32b text_size; /* Size of the "text" array in bytes */ - - u32b tag_size; /* Size of the "tag" array in bytes */ + STR_OFFSET info_size; /* Size of the "info" array in bytes */ + STR_OFFSET name_size; /* Size of the "name" array in bytes */ + STR_OFFSET text_size; /* Size of the "text" array in bytes */ + STR_OFFSET tag_size; /* Size of the "tag" array in bytes */ void *info_ptr; char *name_ptr;