Cleanup openmw lua includes

pull/3228/head
elsid 2 years ago
parent 28d6159b86
commit 552301c8fb
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -1,6 +1,6 @@
#include "luabindings.hpp"
#include "luamanagerimp.hpp"
#include "worldview.hpp"
namespace sol
{

@ -5,6 +5,8 @@
#include "../mwrender/camera.hpp"
#include "../mwrender/renderingmanager.hpp"
#include "../mwbase/environment.hpp"
#include "../mwbase/world.hpp"
namespace MWLua
{

@ -3,7 +3,9 @@
#include <components/esm3/loadcell.hpp>
#include "../mwworld/cellstore.hpp"
#include "types/types.hpp"
#include "worldview.hpp"
namespace sol
{

@ -6,6 +6,7 @@
#include <components/sdlutil/events.hpp>
#include "../mwbase/environment.hpp"
#include "../mwbase/inputmanager.hpp"
#include "../mwinput/actions.hpp"

@ -14,7 +14,8 @@
#include "../mwmechanics/aipackage.hpp"
#include "../mwmechanics/creaturestats.hpp"
#include "luamanagerimp.hpp"
#include "context.hpp"
#include "worldview.hpp"
namespace sol
{

@ -11,10 +11,10 @@
#include "../mwbase/luamanager.hpp"
#include "object.hpp"
#include "luabindings.hpp"
namespace MWLua
{
struct Context;
class LocalScripts : public LuaUtil::ScriptsContainer
{

@ -8,13 +8,11 @@
#include "../mwbase/environment.hpp"
#include "../mwbase/statemanager.hpp"
#include "../mwworld/esmstore.hpp"
#include "../mwworld/inventorystore.hpp"
#include "../mwworld/store.hpp"
#include "eventqueue.hpp"
#include "worldview.hpp"
#include "luamanagerimp.hpp"
#include "types/types.hpp"
namespace MWLua
{

@ -7,9 +7,6 @@
#include <components/lua/storage.hpp>
#include "context.hpp"
#include "eventqueue.hpp"
#include "object.hpp"
#include "worldview.hpp"
namespace MWWorld
{

@ -26,6 +26,7 @@
#include "userdataserializer.hpp"
#include "types/types.hpp"
#include "debugbindings.hpp"
#include "playerscripts.hpp"
namespace MWLua
{

@ -17,9 +17,8 @@
#include "object.hpp"
#include "eventqueue.hpp"
#include "globalscripts.hpp"
#include "localscripts.hpp"
#include "playerscripts.hpp"
#include "worldview.hpp"
#include "localscripts.hpp"
namespace MWLua
{

@ -6,7 +6,6 @@
#include "../mwworld/cellstore.hpp"
#include "../mwworld/class.hpp"
#include "../mwworld/containerstore.hpp"
#include "../mwworld/inventorystore.hpp"
#include "../mwworld/player.hpp"
#include "../mwmechanics/creaturestats.hpp"

@ -10,6 +10,7 @@
#include "localscripts.hpp"
#include "luamanagerimp.hpp"
#include "context.hpp"
#include "../mwmechanics/creaturestats.hpp"
#include "../mwmechanics/npcstats.hpp"

@ -1,10 +1,12 @@
#ifndef MWLUA_STATS_H
#define MWLUA_STATS_H
#include "context.hpp"
#include <sol/forward.hpp>
namespace MWLua
{
struct Context;
void addActorStatsBindings(sol::table& actor, const Context& context);
void addNpcStatsBindings(sol::table& npc, const Context& context);
}

@ -3,10 +3,11 @@
#include <components/esm3/loadacti.hpp>
#include <components/misc/resourcehelpers.hpp>
#include <components/resource/resourcesystem.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include "../luabindings.hpp"
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

@ -8,7 +8,6 @@
#include <apps/openmw/mwworld/inventorystore.hpp>
#include <apps/openmw/mwworld/class.hpp>
#include "../luabindings.hpp"
#include "../localscripts.hpp"
#include "../luamanagerimp.hpp"
#include "../stats.hpp"

@ -3,10 +3,11 @@
#include <components/esm3/loadappa.hpp>
#include <components/misc/resourcehelpers.hpp>
#include <components/resource/resourcesystem.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include "../luabindings.hpp"
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

@ -3,10 +3,11 @@
#include <components/esm3/loadbook.hpp>
#include <components/misc/resourcehelpers.hpp>
#include <components/resource/resourcesystem.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include "../luabindings.hpp"
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

@ -3,11 +3,12 @@
#include <components/esm3/loadcont.hpp>
#include <components/misc/resourcehelpers.hpp>
#include <components/resource/resourcesystem.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include <apps/openmw/mwworld/class.hpp>
#include "../luabindings.hpp"
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

@ -1,13 +1,13 @@
#include "types.hpp"
#include <components/esm3/loadcrea.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include <components/lua/luastate.hpp>
#include <components/misc/resourcehelpers.hpp>
#include <components/resource/resourcesystem.hpp>
#include "../stats.hpp"
#include "../luabindings.hpp"
#include <apps/openmw/mwworld/esmstore.hpp>
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

@ -7,6 +7,7 @@
#include <apps/openmw/mwworld/esmstore.hpp>
#include "../luabindings.hpp"
#include "../worldview.hpp"
namespace sol
{

@ -2,9 +2,12 @@
#include <components/esm3/loadingr.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include "../luabindings.hpp"
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

@ -3,10 +3,11 @@
#include <components/esm3/loadlock.hpp>
#include <components/misc/resourcehelpers.hpp>
#include <components/resource/resourcesystem.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include "../luabindings.hpp"
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

@ -3,10 +3,11 @@
#include <components/esm3/loadmisc.hpp>
#include <components/misc/resourcehelpers.hpp>
#include <components/resource/resourcesystem.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include "../luabindings.hpp"
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

@ -1,11 +1,13 @@
#include "types.hpp"
#include <components/esm3/loadnpc.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
#include "../stats.hpp"
#include "../luabindings.hpp"
namespace sol
{

@ -3,10 +3,11 @@
#include <components/esm3/loadalch.hpp>
#include <components/misc/resourcehelpers.hpp>
#include <components/resource/resourcesystem.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include "../luabindings.hpp"
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

@ -3,10 +3,11 @@
#include <components/esm3/loadprob.hpp>
#include <components/misc/resourcehelpers.hpp>
#include <components/resource/resourcesystem.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include "../luabindings.hpp"
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

@ -3,10 +3,11 @@
#include <components/esm3/loadrepa.hpp>
#include <components/misc/resourcehelpers.hpp>
#include <components/resource/resourcesystem.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include "../luabindings.hpp"
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

@ -3,10 +3,11 @@
#include <components/esm3/loadweap.hpp>
#include <components/misc/resourcehelpers.hpp>
#include <components/resource/resourcesystem.hpp>
#include <components/lua/luastate.hpp>
#include <apps/openmw/mwworld/esmstore.hpp>
#include "../luabindings.hpp"
#include <apps/openmw/mwbase/environment.hpp>
#include <apps/openmw/mwbase/world.hpp>
namespace sol
{

Loading…
Cancel
Save