mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 10:21:11 +00:00
Merge branch 'anonymous_namespace' into 'master'
Move some code to unnamed namespace See merge request OpenMW/openmw!3351
This commit is contained in:
commit
ebf803a00b
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
#include "luamanagerimp.hpp"
|
#include "luamanagerimp.hpp"
|
||||||
|
|
||||||
namespace MWLua
|
namespace
|
||||||
{
|
{
|
||||||
struct PlaySoundArgs
|
struct PlaySoundArgs
|
||||||
{
|
{
|
||||||
@ -55,7 +55,10 @@ namespace MWLua
|
|||||||
return MWSound::PlayMode::NoEnvNoScaling;
|
return MWSound::PlayMode::NoEnvNoScaling;
|
||||||
return MWSound::PlayMode::NoEnv;
|
return MWSound::PlayMode::NoEnv;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace MWLua
|
||||||
|
{
|
||||||
sol::table initAmbientPackage(const Context& context)
|
sol::table initAmbientPackage(const Context& context)
|
||||||
{
|
{
|
||||||
sol::table api(context.mLua->sol(), sol::create);
|
sol::table api(context.mLua->sol(), sol::create);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user