moSoundManager::moSoundManager() { SetType( MO_OBJECT_RESOURCE ); SetResourceType( MO_RESOURCETYPE_SOUND ); SetName("soundmanager"); SetLabelName("soundmanager"); }
moFontManager::moFontManager() { SetType(MO_OBJECT_RESOURCE); SetResourceType(MO_RESOURCETYPE_FONT); SetName("fontmanager"); SetLabelName("fontmanager"); }
moFilterManager::moFilterManager() { SetType( MO_OBJECT_RESOURCE ); SetResourceType( MO_RESOURCETYPE_FILTER ); SetName("Filter Manager"); }
mo3dModelManager::mo3dModelManager() { SetType( MO_OBJECT_RESOURCE ); SetResourceType( MO_RESOURCETYPE_MODEL ); SetName("3dModel Manager"); SetLabelName("3dModel Manager"); nMaxModels = MO_MAX_MODELOS; Models = new mo3dModel* [nMaxModels]; for(MOuint i=0;i<nMaxModels;i++) Models[i] = NULL; nModels = 0; Textures = NULL; }
moTextureManager::moTextureManager() { SetType( MO_OBJECT_RESOURCE ); SetResourceType( MO_RESOURCETYPE_TEXTURE ); SetName("Texture Manager"); // In your main program ... FreeImage_SetOutputMessage(FreeImageErrorHandler); m_glmanager = NULL; m_fbmanager = NULL; m_textures_buffers.Init(0,NULL); }
moGUIManager::moGUIManager() { SetType( MO_OBJECT_RESOURCE ); SetResourceType( MO_RESOURCETYPE_GUI ); SetName("guimanager"); SetLabelName("guimanager"); /* hOpWnd = NULL; hVisWnd = NULL; */ m_OpHandle = NULL; m_VisHandle = NULL; }
moGLManager::moGLManager() { SetType( MO_OBJECT_RESOURCE ); SetResourceType( MO_RESOURCETYPE_GL ); SetName("glmanager"); SetLabelName("glmanager"); m_Context = NULL; m_DisplayServer = NULL; m_DisplayScreen = NULL; m_DisplayWindow = NULL; m_gpu_vendor_code = 0; m_gpu_vendor_string = "undefined"; m_gpu_renderer_string = "undefined"; m_current_fbo = m_previous_fbo = 0; m_current_read_buffer = m_current_draw_buffer = 0; m_previous_read_buffer = m_previous_draw_buffer = 0; m_bFrameBufferObjectActive = false; }
moMathManager::moMathManager() { SetType( MO_OBJECT_RESOURCE ); SetResourceType( MO_RESOURCETYPE_MATH ); SetName("Math Manager"); }
moScriptManager::moScriptManager() { SetType( MO_OBJECT_RESOURCE ); SetResourceType( MO_RESOURCETYPE_SCRIPT ); SetName("Script Manager"); }