1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 06:39:49 +00:00
OpenMW/apps/openmw/mwscript/extensions.cpp

49 lines
1.6 KiB
C++
Raw Normal View History

2010-07-03 10:12:13 +00:00
#include "extensions.hpp"
#include <components/interpreter/interpreter.hpp>
#include <components/interpreter/installopcodes.hpp>
#include "soundextensions.hpp"
2010-07-03 10:12:13 +00:00
#include "cellextensions.hpp"
2010-07-05 11:15:49 +00:00
#include "miscextensions.hpp"
#include "guiextensions.hpp"
#include "skyextensions.hpp"
#include "statsextensions.hpp"
2010-08-07 13:11:31 +00:00
#include "containerextensions.hpp"
#include "aiextensions.hpp"
#include "controlextensions.hpp"
#include "dialogueextensions.hpp"
2010-07-03 10:12:13 +00:00
namespace MWScript
{
void registerExtensions (Compiler::Extensions& extensions)
{
Cell::registerExtensions (extensions);
2010-07-05 11:15:49 +00:00
Misc::registerExtensions (extensions);
Gui::registerExtensions (extensions);
Sound::registerExtensions (extensions);
Sky::registerExtensions (extensions);
Stats::registerExtensions (extensions);
2010-08-07 13:11:31 +00:00
Container::registerExtensions (extensions);
Ai::registerExtensions (extensions);
Control::registerExtensions (extensions);
Dialogue::registerExtensions (extensions);
2010-07-03 10:12:13 +00:00
}
2010-08-07 13:11:31 +00:00
void installOpcodes (Interpreter::Interpreter& interpreter)
{
Interpreter::installOpcodes (interpreter);
Cell::installOpcodes (interpreter);
Misc::installOpcodes (interpreter);
Gui::installOpcodes (interpreter);
Sound::installOpcodes (interpreter);
Sky::installOpcodes (interpreter);
Stats::installOpcodes (interpreter);
2010-08-07 13:11:31 +00:00
Container::installOpcodes (interpreter);
Ai::installOpcodes (interpreter);
Control::installOpcodes (interpreter);
Dialogue::installOpcodes (interpreter);
2010-08-07 13:11:31 +00:00
}
2010-07-03 10:12:13 +00:00
}