\
dungeon.c dungeon.h \
floor.c floor.h floor-events.c floor-events.h floor-generate.c floor-generate.h \
- floor-save.h floor-save.c \
+ floor-save.h floor-save.c floor-town.h floor-town.c \
floor-streams.c floor-streams.h \
\
feature.c feature.h \
#include "monsterrace.h"
#include "autopick.h"
+ /*
+ * The last character rolled,
+ * holded for quick start
+ */
+birther previous_char;
+
/*!
* オートローラーの内容を描画する間隔 /
* How often the autoroller will update the display and pause
#pragma once
+/*
+ * A structure to hold "rolled" information
+ */
+typedef struct birther birther;
+
+struct birther
+{
+ 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;
+ s16b wt;
+ s16b sc;
+
+ PRICE au; /*!< 初期の所持金 */
+
+ BASE_STATUS stat_max[6]; /* Current "maximal" stat values */
+ BASE_STATUS stat_max_max[6]; /* Maximal "maximal" stat values */
+ HIT_POINT player_hp[PY_MAX_LEVEL];
+
+ PATRON_IDX chaos_patron;
+
+ s16b vir_types[8];
+
+ char history[4][60];
+
+ bool quick_ok;
+};
+
+extern birther previous_char;
+
/* birth.c */
extern void add_history_from_pref_line(concptr t);
extern void player_birth(void);
extern void get_height_weight(void);
extern void player_outfit(void);
extern void dump_yourself(FILE *fff);
+
extern const player_sex *sp_ptr;
extern const player_race *rp_ptr;
extern const player_seikaku *ap_ptr;
-extern birther previous_char;
extern char *f_name;
extern char *f_tag;
#include "files.h"
#include "player-skill.h"
#include "player-class.h"
+#include "birth.h"
#include "world.h"
#include "objectkind.h"
#include "object-ego.h"
#include "world.h"
#include "objectkind.h"
#include "monsterrace.h"
+#include "birth.h"
/*
};
-
-/*
- * A structure to hold "rolled" information
- */
-typedef struct birther birther;
-
-struct birther
-{
- 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;
- s16b wt;
- s16b sc;
-
- PRICE au; /*!< 初期の所持金 */
-
- BASE_STATUS stat_max[6]; /* Current "maximal" stat values */
- BASE_STATUS stat_max_max[6]; /* Maximal "maximal" stat values */
- HIT_POINT player_hp[PY_MAX_LEVEL];
-
- PATRON_IDX chaos_patron;
-
- s16b vir_types[8];
-
- char history[4][60];
-
- bool quick_ok;
-};
-
-
/* For Monk martial arts */
typedef struct martial_arts martial_arts;
const player_seikaku *ap_ptr;
-/*
- * The last character rolled,
- * holded for quick start
- */
-birther previous_char;
-
concptr ANGBAND_SYS = "xxx"; //!< Hack -- The special Angband "System Suffix" This variable is used to choose an appropriate "pref-xxx" file