OSDN Git Service

[Refactor] struct player_type を class PlayerType に置換。
[hengbandforosx/hengbandosx.git] / src / mind / mind-info.cpp
index 97a4825..8f2a661 100644 (file)
@@ -6,7 +6,7 @@
 #include "player-info/equipment-info.h"
 #include "system/player-type-definition.h"
 
-static void switch_mind_mindcrafter(player_type *player_ptr, const PLAYER_LEVEL plev, const int power, char *p)
+static void switch_mind_mindcrafter(PlayerType *player_ptr, const PLAYER_LEVEL plev, const int power, char *p)
 {
     switch (power) {
     case 0:
@@ -57,7 +57,7 @@ static void switch_mind_mindcrafter(player_type *player_ptr, const PLAYER_LEVEL
     }
 }
 
-static void switch_mind_ki(player_type *player_ptr, const PLAYER_LEVEL plev, const int power, char *p)
+static void switch_mind_ki(PlayerType *player_ptr, const PLAYER_LEVEL plev, const int power, char *p)
 {
     int boost = get_current_ki(player_ptr);
     if (heavy_armor(player_ptr))
@@ -220,7 +220,7 @@ static void switch_mind_ninja(const PLAYER_LEVEL plev, const int power, char *p)
  * @param use_mind 職業毎の特殊技能ID
  * @param power モンスター魔法のID
  */
-void mindcraft_info(player_type *player_ptr, char *p, MindKindType use_mind, int power)
+void mindcraft_info(PlayerType *player_ptr, char *p, MindKindType use_mind, int power)
 {
     const PLAYER_LEVEL plev = player_ptr->lev;
     strcpy(p, "");