typedef s16b FEAT_IDX; /*!< ゲーム中の地形ID型を定義 */
typedef s16b FLOOR_IDX; /*!< ゲーム中のフロアID型を定義 */
+typedef byte SEX_IDX; /*!< ゲーム中のプレイヤー性別ID型を定義 */
typedef s16b RACE_IDX; /*!< ゲーム中のプレイヤー種族ID型を定義 */
typedef s16b CLASS_IDX; /*!< ゲーム中のプレイヤー職業ID型を定義 */
typedef s16b CHARACTER_IDX; /*!< ゲーム中のプレイヤー性格ID型を定義 */
POSITION oldpy; /* Previous player location -KMW- */
POSITION oldpx; /* Previous player location -KMW- */
- byte psex; /* Sex index */
+ SEX_IDX psex; /* Sex index */
RACE_IDX prace; /* Race index */
CLASS_IDX pclass; /* Class index */
CHARACTER_IDX pseikaku; /* Seikaku index */
struct birther
{
- byte psex; /* Sex index */
- RACE_IDX prace; /* Race index */
- CLASS_IDX pclass; /* Class index */
- CHARACTER_IDX pseikaku; /* Seikaku index */
- REALM_IDX realm1; /* First magic realm */
- REALM_IDX realm2; /* Second magic realm */
+ SEX_IDX psex; /* Sex index */
+ RACE_IDX prace; /* Race index */
+ CLASS_IDX pclass; /* Class index */
+ CHARACTER_IDX pseikaku; /* Seikaku index */
+ REALM_IDX realm1; /* First magic realm */
+ REALM_IDX realm2; /* Second magic realm */
s16b age;
s16b ht;
struct high_score
{
char what[8]; /* Version info (string) */
-
char pts[10]; /* Total Score (number) */
-
char gold[10]; /* Total Gold (number) */
-
char turns[10]; /* Turns Taken (number) */
-
char day[10]; /* Time stamp (string) */
-
char who[16]; /* Player Name (string) */
-
char uid[8]; /* Player UID (number) */
-
char sex[2]; /* Player Sex (string) */
char p_r[3]; /* Player Race (number) */
char p_c[3]; /* Player Class (number) */
DEPTH dun_level;
s32b last_visit; /* Time count of last visit. 0 for new floor. */
u32b visit_mark; /* Older has always smaller mark. */
- s16b upper_floor_id; /* a floor connected with level teleportation */
- s16b lower_floor_id; /* a floor connected with level tel. and trap door */
+ FLOOR_IDX upper_floor_id; /* a floor connected with level teleportation */
+ FLOOR_IDX lower_floor_id; /* a floor connected with level tel. and trap door */
} saved_floor_type;