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-26 23:09:37 +02:00
|
|
|
#include "statsextensions.hpp"
|
2010-08-07 15:11:31 +02:00
|
|
|
#include "containerextensions.hpp"
|
2010-08-22 14:49:25 +02:00
|
|
|
#include "aiextensions.hpp"
|
2010-08-22 15:11:40 +02:00
|
|
|
#include "controlextensions.hpp"
|
2011-04-04 14:49:26 +02:00
|
|
|
#include "dialogueextensions.hpp"
|
2011-11-21 14:08:44 +01:00
|
|
|
#include "animationextensions.hpp"
|
2012-07-09 18:47:59 +02:00
|
|
|
#include "transformationextensions.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-26 23:09:37 +02:00
|
|
|
Stats::registerExtensions (extensions);
|
2010-08-07 15:11:31 +02:00
|
|
|
Container::registerExtensions (extensions);
|
2010-08-22 14:49:25 +02:00
|
|
|
Ai::registerExtensions (extensions);
|
2010-08-22 15:11:40 +02:00
|
|
|
Control::registerExtensions (extensions);
|
2011-04-04 14:49:26 +02:00
|
|
|
Dialogue::registerExtensions (extensions);
|
2011-11-21 14:08:44 +01:00
|
|
|
Animation::registerExtensions (extensions);
|
2012-07-09 18:47:59 +02:00
|
|
|
Transformation::registerExtensions (extensions);
|
2010-07-03 12:12:13 +02:00
|
|
|
}
|
2010-08-07 15:11:31 +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-26 23:09:37 +02:00
|
|
|
Stats::installOpcodes (interpreter);
|
2010-08-07 15:11:31 +02:00
|
|
|
Container::installOpcodes (interpreter);
|
2010-08-22 14:49:25 +02:00
|
|
|
Ai::installOpcodes (interpreter);
|
2010-08-22 15:11:40 +02:00
|
|
|
Control::installOpcodes (interpreter);
|
2011-04-04 14:49:26 +02:00
|
|
|
Dialogue::installOpcodes (interpreter);
|
2011-11-21 14:08:44 +01:00
|
|
|
Animation::installOpcodes (interpreter);
|
2012-07-09 18:47:59 +02:00
|
|
|
Transformation::installOpcodes (interpreter);
|
2010-08-07 15:11:31 +02:00
|
|
|
}
|
2010-07-03 12:12:13 +02:00
|
|
|
}
|