OSDN Git Service

[Refactor] #37353 birther 構造体と関連変数を birth.h へ移動.
[hengband/hengband.git] / src / types.h
index d8a3d30..e00a631 100644 (file)
 //#include "player-skill.h"
 
 
-/*
- * Information about "ego-items".
- */
-
-typedef struct ego_item_type ego_item_type;
-
-struct ego_item_type
-{
-       STR_OFFSET name;                        /* Name (offset) */
-       STR_OFFSET text;                        /* Text (offset) */
-
-       INVENTORY_IDX slot;             /*!< 装備部位 / Standard slot value */
-       PRICE rating;           /*!< ベースアイテムからの価値加速 / Rating boost */
-
-       DEPTH level;                    /* Minimum level */
-       RARITY rarity;          /* Object rarity */
-
-       HIT_PROB max_to_h;              /* Maximum to-hit bonus */
-       HIT_POINT max_to_d;             /* Maximum to-dam bonus */
-       ARMOUR_CLASS max_to_a;          /* Maximum to-ac bonus */
-
-       PARAMETER_VALUE max_pval;               /* Maximum pval */
-
-       PRICE cost;                     /* Ego-item "cost" */
-
-       BIT_FLAGS flags[TR_FLAG_SIZE];  /* Ego-Item Flags */
-       BIT_FLAGS gen_flags;            /* flags for generate */
-
-       IDX act_idx;            /* Activative ability index */
-};
-
-
-
-
-/*
- * Monster blow structure
- *
- *     - Method (RBM_*)
- *     - Effect (RBE_*)
- *     - Damage Dice
- *     - Damage Sides
- */
-
-typedef struct monster_blow monster_blow;
-
-struct monster_blow
-{
-       BLOW_METHOD method;
-       BLOW_EFFECT effect;
-       DICE_NUMBER d_dice;
-       DICE_SID d_side;
-};
-
 
 typedef struct mbe_info_type mbe_info_type;
 
@@ -277,42 +224,6 @@ struct player_seikaku
 };
 
 
-
-/*
- * 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;
@@ -353,19 +264,6 @@ struct monster_power
 
 
 /*
- * A structure describing a town with
- * stores and buildings
- */
-typedef struct town_type town_type;
-struct town_type
-{
-       GAME_TEXT name[32];
-       u32b seed;      /* Seed for RNG */
-       store_type *store;    /* The stores [MAX_STORES] */
-       byte numstores;
-};
-
-/*
  * Sort-array element
  */
 typedef struct tag_type tag_type;
@@ -392,34 +290,6 @@ typedef struct
 }
 feat_prob;
 
-
-/*!
- * @struct autopick_type
- * @brief 自動拾い/破壊設定データの構造体 / A structure type for entry of auto-picker/destroyer
- */
-typedef struct {
-       concptr name;          /*!< 自動拾い/破壊定義の名称一致基準 / Items which have 'name' as part of its name match */
-       concptr insc;          /*!< 対象となったアイテムに自動で刻む内容 / Items will be auto-inscribed as 'insc' */
-       BIT_FLAGS flag[2];       /*!< キーワードに関する汎用的な条件フラグ / Misc. keyword to be matched */
-       byte action;        /*!< 対象のアイテムを拾う/破壊/放置するかの指定フラグ / Auto-pickup or Destroy or Leave items */
-       byte dice;          /*!< 武器のダイス値基準値 / Weapons which have more than 'dice' dice match */
-       byte bonus;         /*!< アイテムのボーナス基準値 / Items which have more than 'bonus' magical bonus match */
-} autopick_type;
-
-
-/*
- *  A structure type for terrain template of saving dungeon floor
- */
-typedef struct
-{
-       BIT_FLAGS info;
-       FEAT_IDX feat;
-       FEAT_IDX mimic;
-       s16b special;
-       u16b occurrence;
-} cave_template_type;
-
-
 typedef struct {
        int flag;
        int type;