* fields have a special prefix to aid in searching for them.
*/
-
-typedef struct monster_race monster_race;
-
-struct monster_race
-{
+typedef struct monster_race {
STR_OFFSET name; /*!< 名前データのオフセット(日本語) / Name offset(Japanese) */
#ifdef JP
STR_OFFSET E_name; /*!< 名前データのオフセット(英語) / Name offset(English) */
u32b r_flags6; /* Observed racial flags */
/* u32b r_flags7; */ /* Observed racial flags */
u32b r_flagsr; /* Observed racial resistance flags */
-};
+} monster_race;
/*
* Hack -- "torch" masks
/*
* The monster race arrays
*/
-monster_race *r_info;
-char *r_name;
-char *r_text;
+extern monster_race *r_info;
+extern char *r_name;
+extern char *r_text;
extern s16b alloc_race_size;
extern alloc_entry *alloc_race_table;
*/
typedef struct floor_type floor_type;
-typedef struct
-{
+typedef struct monster_type {
MONRACE_IDX r_idx; /* Monster race index 0 = dead. */
MONRACE_IDX ap_r_idx; /* Monster race appearance index */
floor_type *current_floor_ptr;