From: Hourier Date: Thu, 4 Jun 2020 11:08:00 +0000 (+0900) Subject: [Refactor] #40414 range-calc.h によるコンパイル範囲が異常に広かったのを修正 / Adjusted inclusion relationsh... X-Git-Tag: vmacos3.0.0-alpha52~932^2~18 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b492f51a32f7526ef206a6c60544e4eeb526287c;p=hengbandforosx%2Fhengbandosx.git [Refactor] #40414 range-calc.h によるコンパイル範囲が異常に広かったのを修正 / Adjusted inclusion relationship for range-calc.h --- diff --git a/src/cmd-building/cmd-building.h b/src/cmd-building/cmd-building.h index bd07543f0..065138267 100644 --- a/src/cmd-building/cmd-building.h +++ b/src/cmd-building/cmd-building.h @@ -1,5 +1,6 @@ #pragma once +#include "object/tval-types.h" #include "realm/realm-names-table.h" #include "player/player-race.h" #include "player/race-info-table.h" diff --git a/src/mind/racial-mirror-master.c b/src/mind/racial-mirror-master.c index 0a13ecb9e..ed5e81abe 100644 --- a/src/mind/racial-mirror-master.c +++ b/src/mind/racial-mirror-master.c @@ -5,6 +5,7 @@ #include "effect/effect-item.h" #include "effect/effect-monster.h" #include "effect/spells-effect-util.h" +#include "floor/floor.h" #include "spell/process-effect.h" #include "spell/spells-type.h" #include "term/gameterm.h" diff --git a/src/player/player-class.c b/src/player/player-class.c index 2e2750451..bc008d304 100644 --- a/src/player/player-class.c +++ b/src/player/player-class.c @@ -1,5 +1,9 @@ - -#include "system/angband.h" +/*! + * @brief プレーヤーの職業に関する諸テーブル定義 + * @date 2019/04/30 + * @author deskull + */ + #include "player/player-class.h" /* diff --git a/src/player/player-class.h b/src/player/player-class.h index 7502db25d..bbe09c7c8 100644 --- a/src/player/player-class.h +++ b/src/player/player-class.h @@ -1,7 +1,7 @@ #pragma once +#include "system/angband.h" #include "object/tval-types.h" -#include "spell/range-calc.h" #include "spell/technic-info-table.h" #include "player/player-status.h" #include "player/player-classes-table.h" diff --git a/src/spell/spells-hex.c b/src/spell/spells-hex.c index 0ade5b93f..895d40c19 100644 --- a/src/spell/spells-hex.c +++ b/src/spell/spells-hex.c @@ -1,4 +1,5 @@ #include "spell/spells-hex.h" +#include "floor/floor.h" #include "player/player-effects.h" // todo 相互参照している. #include "player/player-skill.h" #include "realm/realm-hex-numbers.h" diff --git a/src/spell/spells-teleport.h b/src/spell/spells-teleport.h index cc5d1ee48..0793f7deb 100644 --- a/src/spell/spells-teleport.h +++ b/src/spell/spells-teleport.h @@ -1,10 +1,10 @@ #pragma once #include "system/angband.h" +#include "spell/spells-util.h" bool teleport_monster(player_type *caster_ptr, DIRECTION dir, int distance); bool teleport_swap(player_type *caster_ptr, DIRECTION dir); - bool teleport_away(player_type *caster_ptr, MONSTER_IDX m_idx, POSITION dis, teleport_flags mode); void teleport_monster_to(player_type *caster_ptr, MONSTER_IDX m_idx, POSITION ty, POSITION tx, int power, teleport_flags mode); bool teleport_player_aux(player_type *creature_ptr, POSITION dis, bool is_quantum_effect, teleport_flags mode);