1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 18:35:20 +00:00
OpenMW/apps/openmw/mwlua/luabindings.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
1.5 KiB
C++
Raw Normal View History

2020-12-18 23:21:10 +01:00
#ifndef MWLUA_LUABINDINGS_H
#define MWLUA_LUABINDINGS_H
2021-03-12 18:29:51 +01:00
#include <components/lua/scriptscontainer.hpp>
2021-12-14 00:39:01 +01:00
#include <components/lua/storage.hpp>
2020-12-18 23:21:10 +01:00
2021-02-17 22:56:14 +01:00
#include "context.hpp"
2020-12-18 23:21:10 +01:00
2021-04-17 11:50:20 +02:00
namespace MWWorld
{
class CellStore;
}
2020-12-18 23:21:10 +01:00
namespace MWLua
{
sol::table initCorePackage(const Context&);
sol::table initWorldPackage(const Context&);
2022-05-13 18:58:00 -07:00
sol::table initPostprocessingPackage(const Context&);
2020-12-18 23:21:10 +01:00
2021-12-14 00:39:01 +01:00
sol::table initGlobalStoragePackage(const Context&, LuaUtil::LuaStorage* globalStorage);
sol::table initLocalStoragePackage(const Context&, LuaUtil::LuaStorage* globalStorage);
sol::table initPlayerStoragePackage(
const Context&, LuaUtil::LuaStorage* globalStorage, LuaUtil::LuaStorage* playerStorage);
2021-08-28 10:47:57 +02:00
// Implemented in nearbybindings.cpp
sol::table initNearbyPackage(const Context&);
2020-12-18 23:21:10 +01:00
// Implemented in objectbindings.cpp
void initObjectBindingsForLocalScripts(const Context&);
void initObjectBindingsForGlobalScripts(const Context&);
2021-04-17 11:50:20 +02:00
// Implemented in cellbindings.cpp
void initCellBindingsForLocalScripts(const Context&);
void initCellBindingsForGlobalScripts(const Context&);
2021-01-29 01:54:54 +01:00
// Implemented in camerabindings.cpp
sol::table initCameraPackage(const Context&);
// Implemented in uibindings.cpp
sol::table initUserInterfacePackage(const Context&);
2021-06-26 23:10:24 +02:00
// Implemented in inputbindings.cpp
sol::table initInputPackage(const Context&);
2020-12-18 23:21:10 +01:00
// openmw.self package is implemented in localscripts.cpp
}
#endif // MWLUA_LUABINDINGS_H