X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Fspell%2Fspell-info.h;h=83227995e2dffb04ebe2f216ef136343cca4ed48;hb=91d4519e2312ace0f5342efb8a5421222aa51d2d;hp=f6eea7ed6b451b36366352a21ad594630638dc08;hpb=6e35104a8e4fec970936fb2399e161e4be9f8172;p=hengbandforosx%2Fhengbandosx.git diff --git a/src/spell/spell-info.h b/src/spell/spell-info.h index f6eea7ed6..83227995e 100644 --- a/src/spell/spell-info.h +++ b/src/spell/spell-info.h @@ -2,9 +2,9 @@ #include "system/angband.h" -struct player_type; -MANA_POINT mod_need_mana(player_type *player_ptr, MANA_POINT need_mana, SPELL_IDX spell, int16_t realm); -PERCENTAGE mod_spell_chance_1(player_type *player_ptr, PERCENTAGE chance); -PERCENTAGE mod_spell_chance_2(player_type *player_ptr, PERCENTAGE chance); -PERCENTAGE spell_chance(player_type *player_ptr, SPELL_IDX spell, int16_t realm); -void print_spells(player_type *player_ptr, SPELL_IDX target_spell, SPELL_IDX *spells, int num, TERM_LEN y, TERM_LEN x, int16_t realm); +class PlayerType; +MANA_POINT mod_need_mana(PlayerType *player_ptr, MANA_POINT need_mana, SPELL_IDX spell, int16_t realm); +PERCENTAGE mod_spell_chance_1(PlayerType *player_ptr, PERCENTAGE chance); +PERCENTAGE mod_spell_chance_2(PlayerType *player_ptr, PERCENTAGE chance); +PERCENTAGE spell_chance(PlayerType *player_ptr, SPELL_IDX spell, int16_t realm); +void print_spells(PlayerType *player_ptr, SPELL_IDX target_spell, SPELL_IDX *spells, int num, TERM_LEN y, TERM_LEN x, int16_t realm);