Merge branch 'cleanup_openmw_includes_2' into 'master'

Cleanup openmw class and mechanics includes

See merge request OpenMW/openmw!2301
pull/3228/head
psi29a 2 years ago
commit ab2931223e

@ -10,8 +10,6 @@
#include "../mwworld/ptr.hpp" #include "../mwworld/ptr.hpp"
#include "../mwworld/actionalchemy.hpp" #include "../mwworld/actionalchemy.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwphysics/physicssystem.hpp"
#include "../mwworld/nullaction.hpp"
#include "../mwrender/objects.hpp" #include "../mwrender/objects.hpp"
#include "../mwrender/renderinginterface.hpp" #include "../mwrender/renderinginterface.hpp"

@ -15,8 +15,6 @@
#include "../mwworld/inventorystore.hpp" #include "../mwworld/inventorystore.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwworld/esmstore.hpp" #include "../mwworld/esmstore.hpp"
#include "../mwphysics/physicssystem.hpp"
#include "../mwworld/nullaction.hpp"
#include "../mwworld/containerstore.hpp" #include "../mwworld/containerstore.hpp"
#include "../mwrender/objects.hpp" #include "../mwrender/objects.hpp"

@ -6,7 +6,6 @@
#include "../mwbase/environment.hpp" #include "../mwbase/environment.hpp"
#include "../mwbase/world.hpp" #include "../mwbase/world.hpp"
#include "../mwbase/soundmanager.hpp"
#include "../mwbase/windowmanager.hpp" #include "../mwbase/windowmanager.hpp"
#include "../mwworld/ptr.hpp" #include "../mwworld/ptr.hpp"
@ -14,7 +13,6 @@
#include "../mwworld/failedaction.hpp" #include "../mwworld/failedaction.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwworld/esmstore.hpp" #include "../mwworld/esmstore.hpp"
#include "../mwphysics/physicssystem.hpp"
#include "../mwrender/objects.hpp" #include "../mwrender/objects.hpp"
#include "../mwrender/renderinginterface.hpp" #include "../mwrender/renderinginterface.hpp"

@ -13,8 +13,6 @@
#include "../mwworld/inventorystore.hpp" #include "../mwworld/inventorystore.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwworld/esmstore.hpp" #include "../mwworld/esmstore.hpp"
#include "../mwphysics/physicssystem.hpp"
#include "../mwworld/nullaction.hpp"
#include "../mwgui/tooltips.hpp" #include "../mwgui/tooltips.hpp"

@ -10,7 +10,6 @@
#include "../mwmechanics/magiceffects.hpp" #include "../mwmechanics/magiceffects.hpp"
#include "../mwmechanics/movement.hpp" #include "../mwmechanics/movement.hpp"
#include "../mwmechanics/disease.hpp" #include "../mwmechanics/disease.hpp"
#include "../mwmechanics/spellcasting.hpp"
#include "../mwmechanics/difficultyscaling.hpp" #include "../mwmechanics/difficultyscaling.hpp"
#include "../mwmechanics/npcstats.hpp" #include "../mwmechanics/npcstats.hpp"
#include "../mwmechanics/combat.hpp" #include "../mwmechanics/combat.hpp"

@ -18,10 +18,10 @@
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwworld/esmstore.hpp" #include "../mwworld/esmstore.hpp"
#include "../mwphysics/physicssystem.hpp" #include "../mwphysics/physicssystem.hpp"
#include "../mwworld/inventorystore.hpp"
#include "../mwworld/actiontrap.hpp" #include "../mwworld/actiontrap.hpp"
#include "../mwworld/customdata.hpp" #include "../mwworld/customdata.hpp"
#include "../mwworld/cellutils.hpp" #include "../mwworld/cellutils.hpp"
#include "../mwworld/containerstore.hpp"
#include "../mwgui/tooltips.hpp" #include "../mwgui/tooltips.hpp"

@ -11,9 +11,7 @@
#include "../mwworld/ptr.hpp" #include "../mwworld/ptr.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwworld/esmstore.hpp" #include "../mwworld/esmstore.hpp"
#include "../mwphysics/physicssystem.hpp"
#include "../mwworld/actioneat.hpp" #include "../mwworld/actioneat.hpp"
#include "../mwworld/nullaction.hpp"
#include "../mwgui/tooltips.hpp" #include "../mwgui/tooltips.hpp"

@ -12,8 +12,6 @@
#include "../mwworld/actionequip.hpp" #include "../mwworld/actionequip.hpp"
#include "../mwworld/inventorystore.hpp" #include "../mwworld/inventorystore.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwphysics/physicssystem.hpp"
#include "../mwworld/nullaction.hpp"
#include "../mwgui/tooltips.hpp" #include "../mwgui/tooltips.hpp"

@ -11,7 +11,6 @@
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwworld/esmstore.hpp" #include "../mwworld/esmstore.hpp"
#include "../mwphysics/physicssystem.hpp"
#include "../mwworld/manualref.hpp" #include "../mwworld/manualref.hpp"
#include "../mwworld/nullaction.hpp" #include "../mwworld/nullaction.hpp"
#include "../mwworld/actionsoulgem.hpp" #include "../mwworld/actionsoulgem.hpp"

@ -11,9 +11,6 @@
#include "../mwworld/ptr.hpp" #include "../mwworld/ptr.hpp"
#include "../mwworld/actionapply.hpp" #include "../mwworld/actionapply.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwworld/esmstore.hpp"
#include "../mwphysics/physicssystem.hpp"
#include "../mwworld/nullaction.hpp"
#include "../mwgui/tooltips.hpp" #include "../mwgui/tooltips.hpp"

@ -12,8 +12,6 @@
#include "../mwworld/actionequip.hpp" #include "../mwworld/actionequip.hpp"
#include "../mwworld/inventorystore.hpp" #include "../mwworld/inventorystore.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwphysics/physicssystem.hpp"
#include "../mwworld/nullaction.hpp"
#include "../mwgui/tooltips.hpp" #include "../mwgui/tooltips.hpp"

@ -9,7 +9,6 @@
#include "../mwworld/ptr.hpp" #include "../mwworld/ptr.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwphysics/physicssystem.hpp"
#include "../mwworld/actionrepair.hpp" #include "../mwworld/actionrepair.hpp"
#include "../mwgui/tooltips.hpp" #include "../mwgui/tooltips.hpp"

@ -16,8 +16,6 @@
#include "../mwworld/inventorystore.hpp" #include "../mwworld/inventorystore.hpp"
#include "../mwworld/cellstore.hpp" #include "../mwworld/cellstore.hpp"
#include "../mwworld/esmstore.hpp" #include "../mwworld/esmstore.hpp"
#include "../mwphysics/physicssystem.hpp"
#include "../mwworld/nullaction.hpp"
#include "../mwmechanics/weapontype.hpp" #include "../mwmechanics/weapontype.hpp"

@ -13,7 +13,6 @@
#include "../mwworld/timestamp.hpp" #include "../mwworld/timestamp.hpp"
#include "../mwworld/ptr.hpp" #include "../mwworld/ptr.hpp"
#include "magiceffects.hpp"
#include "spellcasting.hpp" #include "spellcasting.hpp"
namespace ESM namespace ESM

@ -6,8 +6,6 @@
#include <string> #include <string>
#include <string_view> #include <string_view>
#include "pathfinding.hpp"
namespace ESM namespace ESM
{ {
namespace AiSequence namespace AiSequence

@ -3,10 +3,6 @@
#include "typedaipackage.hpp" #include "typedaipackage.hpp"
#include "../mwworld/class.hpp"
#include "pathfinding.hpp"
namespace MWMechanics namespace MWMechanics
{ {
/// \brief AiPackage to have an actor avoid an opening door /// \brief AiPackage to have an actor avoid an opening door

@ -18,6 +18,7 @@
#include "../mwbase/environment.hpp" #include "../mwbase/environment.hpp"
#include "../mwbase/dialoguemanager.hpp" #include "../mwbase/dialoguemanager.hpp"
#include "../mwbase/mechanicsmanager.hpp" #include "../mwbase/mechanicsmanager.hpp"
#include "../mwbase/world.hpp"
#include "pathgrid.hpp" #include "pathgrid.hpp"
#include "creaturestats.hpp" #include "creaturestats.hpp"
@ -26,6 +27,7 @@
#include "character.hpp" #include "character.hpp"
#include "aicombataction.hpp" #include "aicombataction.hpp"
#include "actorutil.hpp" #include "actorutil.hpp"
#include "weapontype.hpp"
namespace namespace
{ {

@ -6,9 +6,6 @@
#include "../mwworld/cellstore.hpp" // for Doors #include "../mwworld/cellstore.hpp" // for Doors
#include "../mwbase/world.hpp"
#include "pathfinding.hpp"
#include "movement.hpp" #include "movement.hpp"
#include "aitimer.hpp" #include "aitimer.hpp"

@ -6,7 +6,6 @@
#include <vector> #include <vector>
#include "pathfinding.hpp" #include "pathfinding.hpp"
#include "obstacle.hpp"
#include "aitemporarybase.hpp" #include "aitemporarybase.hpp"
#include "aitimer.hpp" #include "aitimer.hpp"

@ -51,6 +51,7 @@
#include "security.hpp" #include "security.hpp"
#include "actorutil.hpp" #include "actorutil.hpp"
#include "spellcasting.hpp" #include "spellcasting.hpp"
#include "weapontype.hpp"
namespace namespace
{ {

@ -3,13 +3,12 @@
#include <deque> #include <deque>
#include <components/esm3/loadweap.hpp>
#include "../mwworld/ptr.hpp" #include "../mwworld/ptr.hpp"
#include "../mwworld/containerstore.hpp"
#include "../mwrender/animation.hpp" #include "../mwrender/animation.hpp"
#include "weapontype.hpp"
namespace MWWorld namespace MWWorld
{ {
class InventoryStore; class InventoryStore;

@ -7,7 +7,6 @@
#include "../mwworld/ptr.hpp" #include "../mwworld/ptr.hpp"
#include "creaturestats.hpp"
#include "npcstats.hpp" #include "npcstats.hpp"
#include "objects.hpp" #include "objects.hpp"
#include "actors.hpp" #include "actors.hpp"

@ -9,7 +9,6 @@
#include "../mwworld/esmstore.hpp" #include "../mwworld/esmstore.hpp"
#include "aisetting.hpp" #include "aisetting.hpp"
#include "creaturestats.hpp"
namespace MWMechanics namespace MWMechanics
{ {

@ -8,7 +8,6 @@
#include "../mwworld/timestamp.hpp" #include "../mwworld/timestamp.hpp"
#include "magiceffects.hpp"
#include "spelllist.hpp" #include "spelllist.hpp"
namespace ESM namespace ESM

Loading…
Cancel
Save