|
|
|
@ -12,14 +12,9 @@
|
|
|
|
|
#include <components/compiler/scanner.hpp>
|
|
|
|
|
#include <components/compiler/context.hpp>
|
|
|
|
|
|
|
|
|
|
#include <components/interpreter/installopcodes.hpp>
|
|
|
|
|
#include <components/interpreter/interpreter.hpp>
|
|
|
|
|
|
|
|
|
|
#include "soundextensions.hpp"
|
|
|
|
|
#include "cellextensions.hpp"
|
|
|
|
|
#include "miscextensions.hpp"
|
|
|
|
|
#include "guiextensions.hpp"
|
|
|
|
|
#include "skyextensions.hpp"
|
|
|
|
|
#include "extensions.hpp"
|
|
|
|
|
|
|
|
|
|
namespace MWScript
|
|
|
|
|
{
|
|
|
|
@ -118,15 +113,5 @@ namespace MWScript
|
|
|
|
|
iter->second.clear(); // don't execute again.
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void ScriptManager::installOpcodes (Interpreter::Interpreter& interpreter)
|
|
|
|
|
{
|
|
|
|
|
Interpreter::installOpcodes (interpreter);
|
|
|
|
|
Cell::installOpcodes (interpreter);
|
|
|
|
|
Misc::installOpcodes (interpreter);
|
|
|
|
|
Gui::installOpcodes (interpreter);
|
|
|
|
|
Sound::installOpcodes (interpreter);
|
|
|
|
|
Sky::installOpcodes (interpreter);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|