示例#1
0
moSoundManager::moSoundManager() {
	SetType( MO_OBJECT_RESOURCE );
	SetResourceType( MO_RESOURCETYPE_SOUND );

	SetName("soundmanager");
	SetLabelName("soundmanager");
}
示例#2
0
moFontManager::moFontManager() {
	SetType(MO_OBJECT_RESOURCE);
	SetResourceType(MO_RESOURCETYPE_FONT);

	SetName("fontmanager");
	SetLabelName("fontmanager");
}
示例#3
0
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;
}
示例#5
0
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);
}
示例#6
0
moGUIManager::moGUIManager() {

	SetType( MO_OBJECT_RESOURCE );
	SetResourceType( MO_RESOURCETYPE_GUI );

	SetName("guimanager");
	SetLabelName("guimanager");
/*
	hOpWnd = NULL;
	hVisWnd = NULL;
	*/
	m_OpHandle = NULL;
	m_VisHandle = NULL;
}
示例#7
0
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;
}
示例#8
0
moMathManager::moMathManager()
{
	SetType( MO_OBJECT_RESOURCE );
	SetResourceType( MO_RESOURCETYPE_MATH );
	SetName("Math Manager");
}
示例#9
0
moScriptManager::moScriptManager()
{
	SetType( MO_OBJECT_RESOURCE );
	SetResourceType( MO_RESOURCETYPE_SCRIPT );
	SetName("Script Manager");
}