2010-07-03 12:12:13 +02:00
|
|
|
#include "extensions.hpp"
|
|
|
|
|
2010-07-18 19:54:56 +02:00
|
|
|
#include <components/interpreter/installopcodes.hpp>
|
|
|
|
#include <components/interpreter/interpreter.hpp>
|
|
|
|
|
2010-07-10 11:48:05 +02:00
|
|
|
#include "aiextensions.hpp"
|
|
|
|
#include "animationextensions.hpp"
|
2010-07-03 12:12:13 +02:00
|
|
|
#include "cellextensions.hpp"
|
2010-07-18 19:48:02 +02:00
|
|
|
#include "consoleextensions.hpp"
|
2010-08-07 15:11:31 +02:00
|
|
|
#include "containerextensions.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 "guiextensions.hpp"
|
2010-07-05 13:15:49 +02:00
|
|
|
#include "miscextensions.hpp"
|
2010-07-26 23:09:37 +02:00
|
|
|
#include "skyextensions.hpp"
|
2012-07-30 11:43:28 +02:00
|
|
|
#include "soundextensions.hpp"
|
2011-11-21 14:08:44 +01:00
|
|
|
#include "statsextensions.hpp"
|
2012-07-09 18:47:59 +02:00
|
|
|
#include "transformationextensions.hpp"
|
2012-07-30 11:43:28 +02:00
|
|
|
#include "userextensions.hpp"
|
2010-07-03 12:12:13 +02:00
|
|
|
|
|
|
|
namespace MWScript
|
|
|
|
{
|
2012-07-30 11:43:28 +02:00
|
|
|
void installOpcodes(Interpreter::Interpreter& interpreter, bool consoleOnly)
|
2010-07-18 19:54:56 +02:00
|
|
|
{
|
|
|
|
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);
|
2012-07-30 11:43:28 +02:00
|
|
|
|
|
|
|
if (consoleOnly)
|
|
|
|
{
|
|
|
|
Console::installOpcodes(interpreter);
|
|
|
|
User::installOpcodes(interpreter);
|
|
|
|
}
|
2010-08-07 15:11:31 +02:00
|
|
|
}
|
2010-07-03 12:12:13 +02:00
|
|
|
}
|