NLS Engine  v0.1
The Next Logical Step in game engine design.
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines
Functions | Variables
ScriptModule.cpp File Reference

A manager class to load and start modules. More...

#include "ScriptModule.h"
#include <cassert>
#include <angelscript/scriptany/scriptany.h>
#include <angelscript/scriptarray/scriptarray.h>
#include <angelscript/scriptdictionary/scriptdictionary.h>
#include <boost/lexical_cast.hpp>
#include <angelscript/scriptstdstring/scriptstdstring.h>
#include "../sharedbase/MessageRouter.h"
#include "../sharedbase/PropertyMap.h"
#include "../sharedbase/EntityList.h"
#include "../sharedbase/OSInterface.h"
#include "EntityFactory.h"
#include "customtypes.h"
#include "sptrtypes.h"
#include "../GraphicsDLL/component/RenderableComponent.h"
Include dependency graph for ScriptModule.cpp:

Go to the source code of this file.


void ScriptLog (const LOG_PRIORITY::TYPE &, const std::string &)
void RegisterEventLogger (asIScriptEngine *const)
CreateEntityFactoryCreateEntityFactoryFact (void)
void RandomSetSeed (unsigned long seed)
unsigned long RandomULong (unsigned long max_value)
float RandomFloat (float max_value)
void SaveToDisk (const EnvelopeSPTR *envelopep, const std::string str)
bool LoadFromDisk (const EnvelopeSPTR *envelopep, const std::string str)
template<typename Target >
Target stringCast (const std::string src)


unsigned long gRandomSeed = 0

Detailed Description

A manager class to load and start modules.

Adam Martin
2011-10-23 A manager that can load/unload and start/stop modules at runtime through dynamically loaded libraries. The use of a common interface ModuleInterface allows us to have a uniform loading and starting procedure.

Definition in file ScriptModule.cpp.