2010-07-03 10:12:13 +00:00
|
|
|
|
|
|
|
#include "extensions.hpp"
|
|
|
|
|
2010-07-18 17:54:56 +00:00
|
|
|
#include <components/interpreter/interpreter.hpp>
|
|
|
|
#include <components/interpreter/installopcodes.hpp>
|
|
|
|
|
2010-07-10 09:48:05 +00:00
|
|
|
#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"
|
2010-07-07 18:12:00 +00:00
|
|
|
#include "guiextensions.hpp"
|
2010-07-18 17:48:02 +00:00
|
|
|
#include "skyextensions.hpp"
|
2010-07-26 21:09:37 +00:00
|
|
|
#include "statsextensions.hpp"
|
2010-08-07 13:11:31 +00:00
|
|
|
#include "containerextensions.hpp"
|
2010-08-22 12:49:25 +00:00
|
|
|
#include "aiextensions.hpp"
|
2010-08-22 13:11:40 +00:00
|
|
|
#include "controlextensions.hpp"
|
2011-04-04 12:49:26 +00:00
|
|
|
#include "dialogueextensions.hpp"
|
2011-11-21 13:08:44 +00:00
|
|
|
#include "animationextensions.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);
|
2010-07-07 18:12:00 +00:00
|
|
|
Gui::registerExtensions (extensions);
|
2010-07-10 09:48:05 +00:00
|
|
|
Sound::registerExtensions (extensions);
|
2010-07-18 17:48:02 +00:00
|
|
|
Sky::registerExtensions (extensions);
|
2010-07-26 21:09:37 +00:00
|
|
|
Stats::registerExtensions (extensions);
|
2010-08-07 13:11:31 +00:00
|
|
|
Container::registerExtensions (extensions);
|
2010-08-22 12:49:25 +00:00
|
|
|
Ai::registerExtensions (extensions);
|
2010-08-22 13:11:40 +00:00
|
|
|
Control::registerExtensions (extensions);
|
2011-04-04 12:49:26 +00:00
|
|
|
Dialogue::registerExtensions (extensions);
|
2011-11-21 13:08:44 +00:00
|
|
|
Animation::registerExtensions (extensions);
|
2010-07-03 10:12:13 +00:00
|
|
|
}
|
2010-08-07 13:11:31 +00:00
|
|
|
|
2010-07-18 17:54:56 +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);
|
2010-07-26 21:09:37 +00:00
|
|
|
Stats::installOpcodes (interpreter);
|
2010-08-07 13:11:31 +00:00
|
|
|
Container::installOpcodes (interpreter);
|
2010-08-22 12:49:25 +00:00
|
|
|
Ai::installOpcodes (interpreter);
|
2010-08-22 13:11:40 +00:00
|
|
|
Control::installOpcodes (interpreter);
|
2011-04-04 12:49:26 +00:00
|
|
|
Dialogue::installOpcodes (interpreter);
|
2011-11-21 13:08:44 +00:00
|
|
|
Animation::installOpcodes (interpreter);
|
2010-08-07 13:11:31 +00:00
|
|
|
}
|
2010-07-03 10:12:13 +00:00
|
|
|
}
|