| 1 |
#include "itextstream.h" |
| 2 |
|
| 3 |
#include "ScriptingSystem.h" |
| 4 |
#include "debugging/debugging.h" |
| 5 |
|
| 6 |
/** |
| 7 |
* greebo: This is the module entry point which the main binary will look for. |
| 8 |
* The symbol RegisterModule is called with the singleton ModuleRegistry as argument. |
| 9 |
*/ |
| 10 |
extern "C" void DARKRADIANT_DLLEXPORT RegisterModule(IModuleRegistry& registry) |
| 11 |
{ |
| 12 |
module::performDefaultInitialisation(registry); |
| 13 |
|
| 14 |
registry.registerModule(script::ScriptingSystemPtr(new script::ScriptingSystem)); |
| 15 |
} |