Public Methods |
| Root (const String &pluginFileName="plugins.cfg") |
| Constructor. More...
|
| ~Root () |
void | saveConfig (void) |
| Saves the details of the current configuration. More...
|
bool | restoreConfig (void) |
| Checks for saved video/sound/etc settings. More...
|
bool | showConfigDialog (void) |
| Displays a dialog asking the user to choose system settings. More...
|
void | addRenderSystem (RenderSystem *newRend) |
| Adds a new rendering subsystem to the list of available renderers. More...
|
void | setSceneManager (SceneType sType, SceneManager *sm) |
| Sets the passed in SceneManager to be the one responsible for the indicated type of scene. More...
|
RenderSystemList * | getAvailableRenderers (void) |
| Retrieve a list of the available render systems. More...
|
void | setRenderSystem (RenderSystem *system) |
| Sets the rendering subsystem to be used. More...
|
RenderSystem * | getRenderSystem (void) |
| Retrieve a pointer to the currently selected render system. More...
|
RenderWindow * | initialise (bool autoCreateWindow) |
| Initialises the renderer. More...
|
SceneManager * | getSceneManager (SceneType sceneType) |
| Gets a reference to a SceneManager object. More...
|
TextureManager * | getTextureManager (void) |
| Retrieves a reference to the current TextureManager. More...
|
MeshManager * | getMeshManager (void) |
| Retrieves a reference to the current MeshManager. More...
|
String | getErrorDescription (long errorNumber) |
| Utility function for getting a better description of an error code. More...
|
void | addFrameListener (FrameListener *newListener) |
| Registers a FrameListener which will be called back every frame. More...
|
void | removeFrameListener (FrameListener *oldListener) |
| Removes a FrameListener from the list of listening classes. More...
|
void | startRendering (void) |
| Starts / restarts the automatic rendering cycle. More...
|
void | shutdown (void) |
| Shuts down the system manually. More...
|
void | addResourceLocation (const String &name, const String &locType, ResourceType resType=RESTYPE_ALL) |
| Adds a location to the list of searchable locations for a Resource type. More...
|
void | convertColourValue (const ColourValue &colour, unsigned long *pDest) |
| Generates a packed data version of the passed in ColourValue suitable for use with the current RenderSystem. More...
|
RenderWindow * | createRenderWindow (const String &name, int width, int height, int colourDepth, bool fullScreen, int left=0, int top=0, bool depthBuffer=true, RenderWindow *parentWindowHandle=0) |
| Creates a new rendering window. More...
|
void | detachRenderTarget (RenderTarget *pWin) |
| Destroys a rendering window. More...
|
void | detachRenderTarget (const String &name) |
| Destroys a named rendering window. More...
|
RenderTarget * | getRenderTarget (const String &name) |
| Retrieves a pointer to the a named render window. More...
|
void | showDebugOverlay (bool show) |
| Sets whether or not the debug overlay is shown. More...
|
Static Public Methods |
void | termHandler () |
Root & | getSingleton (void) |
| Override standard Singleton retrieval. More...
|
Root * | getSingletonPtr (void) |
Static Protected Attributes |
Root * | ms_Singleton = 0 |
Private Methods |
void | loadPlugins (const String &pluginsfile="plugins.cfg") |
| Method reads a plugins configuration file and instantiates all plugins. More...
|
void | unloadPlugins () |
| Unloads all loaded plugins. More...
|
Private Attributes |
RenderSystemList | mRenderers |
RenderSystem * | mActiveRenderer |
String | mVersion |
Math * | mMath |
LogManager * | mLogManager |
ControllerManager * | mControllerManager |
SceneManagerEnumerator * | mSceneManagerEnum |
DynLibManager * | mDynLibManager |
PlatformManager * | mPlatformManager |
ArchiveManager * | mArchiveManager |
MaterialManager * | mMaterialManager |
MeshManager * | mMeshManager |
ParticleSystemManager * | mParticleManager |
SkeletonManager * | mSkeletonManager |
GuiManager * | mGuiManager |
OverlayManager * | mOverlayManager |
FontManager * | mFontManager |
ArchiveFactory * | mZipArchiveFactory |
Codec * | mPNGCodec |
Codec * | mJPGCodec |
Codec * | mJPEGCodec |
Codec * | mTGACodec |
std::vector< DynLib * > | mPluginLibs |
Friends |
class | RenderSystem |