X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=src%2Fbirth%2Fbirth-body-spec.cpp;h=41f7456ba246a81f20aa8af1a4d3c2f0eccb4b38;hb=91d4519e2312ace0f5342efb8a5421222aa51d2d;hp=11fedde48696307e0fd1020d1d5ab484f780a79d;hpb=6e35104a8e4fec970936fb2399e161e4be9f8172;p=hengbandforosx%2Fhengbandosx.git diff --git a/src/birth/birth-body-spec.cpp b/src/birth/birth-body-spec.cpp index 11fedde48..41f7456ba 100644 --- a/src/birth/birth-body-spec.cpp +++ b/src/birth/birth-body-spec.cpp @@ -8,7 +8,7 @@ /*! * @brief プレイヤーの身長体重を決める / Get character's height and weight */ -void get_height_weight(player_type *player_ptr) +void get_height_weight(PlayerType *player_ptr) { int deviation; switch (player_ptr->psex) { @@ -30,7 +30,7 @@ void get_height_weight(player_type *player_ptr) * @brief プレイヤーの年齢を決める。 / Computes character's age, height, and weight by henkma * @details 内部でget_height_weight()も呼び出している。 */ -void get_ahw(player_type *player_ptr) +void get_ahw(PlayerType *player_ptr) { player_ptr->age = rp_ptr->b_age + randint1(rp_ptr->m_age); get_height_weight(player_ptr); @@ -40,7 +40,7 @@ void get_ahw(player_type *player_ptr) * @brief プレイヤーの初期所持金を決める。 / Get the player's starting money * @param player_ptr プレイヤーへの参照ポインタ */ -void get_money(player_type *player_ptr) +void get_money(PlayerType *player_ptr) { int gold = (player_ptr->sc * 6) + randint1(100) + 300; if (player_ptr->pclass == PlayerClassType::TOURIST)