diff --git a/apps/openmw/mwclass/npc.cpp b/apps/openmw/mwclass/npc.cpp index 816e9fd42..d578ad436 100644 --- a/apps/openmw/mwclass/npc.cpp +++ b/apps/openmw/mwclass/npc.cpp @@ -7,9 +7,10 @@ #include #include #include -#include -#include -#include + +#include "../mwmp/DedicatedPlayer.hpp" +#include "../mwmp/Networking.hpp" +#include "../mwmp/Main.hpp" #include "../mwbase/environment.hpp" #include "../mwbase/world.hpp" diff --git a/apps/openmw/mwgui/mapwindow.cpp b/apps/openmw/mwgui/mapwindow.cpp index 228cc88d6..22f9798bc 100644 --- a/apps/openmw/mwgui/mapwindow.cpp +++ b/apps/openmw/mwgui/mapwindow.cpp @@ -15,7 +15,8 @@ #include #include #include -#include + +#include "../mwmp/Main.hpp" #include "../mwbase/windowmanager.hpp" #include "../mwbase/world.hpp" diff --git a/apps/openmw/mwgui/windowmanagerimp.cpp b/apps/openmw/mwgui/windowmanagerimp.cpp index 6b49cad69..73a8c8763 100644 --- a/apps/openmw/mwgui/windowmanagerimp.cpp +++ b/apps/openmw/mwgui/windowmanagerimp.cpp @@ -45,7 +45,8 @@ #include #include -#include + +#include "../mwmp/Main.hpp" #include "../mwbase/inputmanager.hpp" #include "../mwbase/statemanager.hpp" diff --git a/apps/openmw/mwinput/inputmanagerimp.cpp b/apps/openmw/mwinput/inputmanagerimp.cpp index 5119ade47..67f38a264 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -17,7 +17,7 @@ #include #include -#include +#include "../mwmp/Main.hpp" #include #include diff --git a/apps/openmw/mwmechanics/actors.cpp b/apps/openmw/mwmechanics/actors.cpp index 95c275cb7..b2888990d 100644 --- a/apps/openmw/mwmechanics/actors.cpp +++ b/apps/openmw/mwmechanics/actors.cpp @@ -8,8 +8,9 @@ #include #include -#include -#include + +#include "../mwmp/Main.hpp" +#include "../mwmp/DedicatedPlayer.hpp" #include "../mwworld/esmstore.hpp" diff --git a/apps/openmw/mwmechanics/character.cpp b/apps/openmw/mwmechanics/character.cpp index a84e2ae57..f378e8ad4 100644 --- a/apps/openmw/mwmechanics/character.cpp +++ b/apps/openmw/mwmechanics/character.cpp @@ -26,7 +26,8 @@ #include #include -#include + +#include "../mwmp/Main.hpp" #include "../mwrender/animation.hpp" diff --git a/apps/openmw/mwmechanics/combat.cpp b/apps/openmw/mwmechanics/combat.cpp index 4b90024de..bcfd1bd2f 100644 --- a/apps/openmw/mwmechanics/combat.cpp +++ b/apps/openmw/mwmechanics/combat.cpp @@ -3,9 +3,10 @@ #include #include -#include -#include -#include + +#include "../mwmp/Networking.hpp" +#include "../mwmp/Main.hpp" +#include "../mwmp/DedicatedPlayer.hpp" #include "../mwbase/environment.hpp" #include "../mwbase/world.hpp" diff --git a/apps/openmw/mwmechanics/spellcasting.cpp b/apps/openmw/mwmechanics/spellcasting.cpp index b4a2daaa2..f10f8e0c8 100644 --- a/apps/openmw/mwmechanics/spellcasting.cpp +++ b/apps/openmw/mwmechanics/spellcasting.cpp @@ -7,8 +7,9 @@ #include #include -#include -#include + +#include "../mwmp/Main.hpp" +#include "../mwmp/DedicatedPlayer.hpp" #include "../mwbase/windowmanager.hpp" #include "../mwbase/soundmanager.hpp" diff --git a/apps/openmw/mwmp/DedicatedPlayer.cpp b/apps/openmw/mwmp/DedicatedPlayer.cpp index f6a44976c..ed9649bb8 100644 --- a/apps/openmw/mwmp/DedicatedPlayer.cpp +++ b/apps/openmw/mwmp/DedicatedPlayer.cpp @@ -3,7 +3,7 @@ // #include "DedicatedPlayer.hpp" -#include +#include "../mwmechanics/aitravel.hpp" #include "../mwbase/environment.hpp" #include "../mwstate/statemanagerimp.hpp" #include "../mwinput/inputmanagerimp.hpp" @@ -19,7 +19,7 @@ #include "../mwworld/cellstore.hpp" #include "../mwworld/action.hpp" #include "Main.hpp" -#include +#include "../mwworld/inventorystore.hpp" #include #include using namespace mwmp; diff --git a/apps/openmw/mwmp/DedicatedPlayer.hpp b/apps/openmw/mwmp/DedicatedPlayer.hpp index 23d23b2e7..5f6d5e5d0 100644 --- a/apps/openmw/mwmp/DedicatedPlayer.hpp +++ b/apps/openmw/mwmp/DedicatedPlayer.hpp @@ -6,9 +6,9 @@ #define OPENMW_PLAYER_HPP #include -#include +#include "../mwworld/manualref.hpp" #include -#include +#include "../mwmechanics/aisequence.hpp" #include #include diff --git a/apps/openmw/mwmp/GUIChat.cpp b/apps/openmw/mwmp/GUIChat.cpp index a3c50f4ae..8f65cda51 100644 --- a/apps/openmw/mwmp/GUIChat.cpp +++ b/apps/openmw/mwmp/GUIChat.cpp @@ -5,13 +5,12 @@ #include "GUIChat.hpp" #include -#include -#include -#include +#include "../mwbase/environment.hpp" +#include "../mwgui/windowmanagerimp.hpp" +#include "../mwinput/inputmanagerimp.hpp" #include #include -#include "../mwbase/environment.hpp" #include "../mwbase/windowmanager.hpp" #include "../mwworld/worldimp.hpp" #include "../mwworld/player.hpp" diff --git a/apps/openmw/mwmp/GUIController.cpp b/apps/openmw/mwmp/GUIController.cpp index cebb8b674..598faca45 100644 --- a/apps/openmw/mwmp/GUIController.cpp +++ b/apps/openmw/mwmp/GUIController.cpp @@ -4,12 +4,14 @@ #include #include -#include -#include -#include -#include -#include -#include + +#include "../mwbase/environment.hpp" +#include "../mwbase/windowmanager.hpp" +#include "../mwbase/inputmanager.hpp" +#include "../mwworld/worldimp.hpp" +#include "../mwworld/player.hpp" +#include "../mwworld/cellstore.hpp" + #include #include #include @@ -19,7 +21,7 @@ #include #include #include -#include +#include "../mwgui/mapwindow.hpp" #include #include diff --git a/apps/openmw/mwmp/GUIController.hpp b/apps/openmw/mwmp/GUIController.hpp index 22105675e..898e63bb7 100644 --- a/apps/openmw/mwmp/GUIController.hpp +++ b/apps/openmw/mwmp/GUIController.hpp @@ -6,8 +6,10 @@ #define OPENMW_GUICONTROLLER_HPP #include -#include -#include + +#include "../mwgui/textinput.hpp" +#include "../mwgui/mode.hpp" + #include #include "PlayerMarkerCollection.hpp" diff --git a/apps/openmw/mwmp/GUIDialogList.cpp b/apps/openmw/mwmp/GUIDialogList.cpp index 8c52e3771..42b19f675 100644 --- a/apps/openmw/mwmp/GUIDialogList.cpp +++ b/apps/openmw/mwmp/GUIDialogList.cpp @@ -7,8 +7,10 @@ #include #include #include -#include -#include + +#include "../mwgui/windowmanagerimp.hpp" +#include "../mwbase/environment.hpp" + #include using namespace mwmp; diff --git a/apps/openmw/mwmp/GUIDialogList.hpp b/apps/openmw/mwmp/GUIDialogList.hpp index 304cf3236..f144bebd8 100644 --- a/apps/openmw/mwmp/GUIDialogList.hpp +++ b/apps/openmw/mwmp/GUIDialogList.hpp @@ -6,7 +6,7 @@ #define OPENMW_GUIDIALOGLIST_HPP -#include +#include "../mwgui/windowbase.hpp" namespace mwmp { diff --git a/apps/openmw/mwmp/LocalPlayer.cpp b/apps/openmw/mwmp/LocalPlayer.cpp index 96ba27aee..285babe88 100644 --- a/apps/openmw/mwmp/LocalPlayer.cpp +++ b/apps/openmw/mwmp/LocalPlayer.cpp @@ -2,8 +2,8 @@ // Created by koncord on 14.01.16. // -#include -#include +#include "../mwworld/manualref.hpp" +#include "../mwmechanics/aitravel.hpp" #include #include "../mwbase/environment.hpp" #include "../mwstate/statemanagerimp.hpp" @@ -18,10 +18,10 @@ #include "../mwclass/creature.hpp" #include "../mwmechanics/mechanicsmanagerimp.hpp" #include "../mwworld/cellstore.hpp" -#include -#include -#include -#include +#include "../mwdialogue/dialoguemanagerimp.hpp" +#include "../mwworld/inventorystore.hpp" +#include "../mwmechanics/spellcasting.hpp" +#include "../mwgui/inventorywindow.hpp" #include #include diff --git a/apps/openmw/mwmp/LocalPlayer.hpp b/apps/openmw/mwmp/LocalPlayer.hpp index 967d49cb7..0b99fc4d6 100644 --- a/apps/openmw/mwmp/LocalPlayer.hpp +++ b/apps/openmw/mwmp/LocalPlayer.hpp @@ -7,7 +7,7 @@ #include #include -#include +#include "Networking.hpp" namespace mwmp { diff --git a/apps/openmw/mwmp/Main.cpp b/apps/openmw/mwmp/Main.cpp index 82263f63d..5b952090d 100644 --- a/apps/openmw/mwmp/Main.cpp +++ b/apps/openmw/mwmp/Main.cpp @@ -3,8 +3,8 @@ // #include "Main.hpp" -#include -#include +#include "../mwworld/manualref.hpp" +#include "../mwmechanics/aitravel.hpp" #include #include "../mwbase/environment.hpp" #include "../mwstate/statemanagerimp.hpp" @@ -20,9 +20,9 @@ #include "../mwclass/creature.hpp" #include "../mwmechanics/mechanicsmanagerimp.hpp" #include "../mwworld/cellstore.hpp" -#include -#include -#include +#include "../mwdialogue/dialoguemanagerimp.hpp" +#include "../mwworld/inventorystore.hpp" +#include "../mwmechanics/spellcasting.hpp" #include #include diff --git a/apps/openmw/mwmp/Main.hpp b/apps/openmw/mwmp/Main.hpp index 1c81514d3..1e6a158e4 100644 --- a/apps/openmw/mwmp/Main.hpp +++ b/apps/openmw/mwmp/Main.hpp @@ -1,4 +1,4 @@ -#include +#include "../mwworld/ptr.hpp" #include #include "Networking.hpp" #include "LocalPlayer.hpp" diff --git a/apps/openmw/mwmp/Networking.cpp b/apps/openmw/mwmp/Networking.cpp index 2540f9d77..337c42d75 100644 --- a/apps/openmw/mwmp/Networking.cpp +++ b/apps/openmw/mwmp/Networking.cpp @@ -7,18 +7,18 @@ #include #include -#include -#include -#include -#include - -#include -#include -#include - -#include -#include -#include +#include "../mwbase/world.hpp" +#include "../mwbase/environment.hpp" +#include "../mwbase/mechanicsmanager.hpp" +#include "../mwbase/windowmanager.hpp" + +#include "../mwworld/cellstore.hpp" +#include "../mwworld/esmstore.hpp" +#include "../mwworld/inventorystore.hpp" + +#include "../mwclass/npc.hpp" +#include "../mwmechanics/npcstats.hpp" +#include "../mwmechanics/combat.hpp" #include #include "Networking.hpp" diff --git a/apps/openmw/mwmp/WorldController.cpp b/apps/openmw/mwmp/WorldController.cpp index fa33eaf3f..32d2d4dfc 100644 --- a/apps/openmw/mwmp/WorldController.cpp +++ b/apps/openmw/mwmp/WorldController.cpp @@ -1,5 +1,5 @@ -#include -#include +#include "../mwbase/environment.hpp" +#include "../mwworld/worldimp.hpp" #include #include