2010-07-03 12:12:13 +02:00
|
|
|
|
|
|
|
#include "extensions.hpp"
|
|
|
|
|
2010-07-18 19:54:56 +02:00
|
|
|
#include <components/interpreter/interpreter.hpp>
|
|
|
|
#include <components/interpreter/installopcodes.hpp>
|
|
|
|
|
2010-07-10 11:48:05 +02:00
|
|
|
#include "soundextensions.hpp"
|
2010-07-03 12:12:13 +02:00
|
|
|
#include "cellextensions.hpp"
|
2010-07-05 13:15:49 +02:00
|
|
|
#include "miscextensions.hpp"
|
2010-07-07 20:12:00 +02:00
|
|
|
#include "guiextensions.hpp"
|
2010-07-18 19:48:02 +02:00
|
|
|
#include "skyextensions.hpp"
|
2010-07-03 12:12:13 +02:00
|
|
|
|
|
|
|
namespace MWScript
|
|
|
|
{
|
|
|
|
void registerExtensions (Compiler::Extensions& extensions)
|
|
|
|
{
|
|
|
|
Cell::registerExtensions (extensions);
|
2010-07-05 13:15:49 +02:00
|
|
|
Misc::registerExtensions (extensions);
|
2010-07-07 20:12:00 +02:00
|
|
|
Gui::registerExtensions (extensions);
|
2010-07-10 11:48:05 +02:00
|
|
|
Sound::registerExtensions (extensions);
|
2010-07-18 19:48:02 +02:00
|
|
|
Sky::registerExtensions (extensions);
|
2010-07-03 12:12:13 +02:00
|
|
|
}
|
2010-07-18 19:54:56 +02:00
|
|
|
|
|
|
|
void installOpcodes (Interpreter::Interpreter& interpreter)
|
|
|
|
{
|
|
|
|
Interpreter::installOpcodes (interpreter);
|
|
|
|
Cell::installOpcodes (interpreter);
|
|
|
|
Misc::installOpcodes (interpreter);
|
|
|
|
Gui::installOpcodes (interpreter);
|
|
|
|
Sound::installOpcodes (interpreter);
|
|
|
|
Sky::installOpcodes (interpreter);
|
|
|
|
}
|
2010-07-03 12:12:13 +02:00
|
|
|
}
|
|
|
|
|