Irrlicht Console Log
Can someone help me:Irrlcht Engine version 1.5
Microsoft Windows XP Professional Dodatek Service Pack 1 <Build 2600>
Using renderer: OpenGl 2.0.3
GeForce 5200/PCI/SSE2 NVIDIA Corporation
OpenGl driver version is 1.2 or better
GLSL version 1.2
_
CGUI.cpp
Code: Select all
#include [...]
CGUI::CGUI()
{
//KLAGUI INITIALIZATION
skin = new irr::gui::CImageGUISkin(env , "media/gui/default.skin");
env->getFileSystem()->addZipFileArchive("media/gui/default.skin");
io::IXMLReader* xml = env->getFileSystem()->createXMLReader("guiskin.xml");
env->setSkin(skin);
loadGUI();
}
CGUI::~CGUI()
{
[...]
}
void CGUI::loadGUI()
{
env->addStaticText(L"Hello World! This is the Irrlicht Software renderer!",
rect<s32>(10,10,260,22), true);
[...]
}
Code: Select all
CGame::CGame()
{
device = createDevice(...);
driver = device->getVideoDriver();
smgr = device->getSceneManager();
guiobj = new CGUI();
}
CGame::~CGame()
{
[...]
}
void CGame::Run()
{
while(device->run() && driver)
{
driver->beginScene(true, true, video::SColor(0,200,200,200));
smgr->drawAll();
device->getGUIEnvironment()->drawAll();
driver->endScene();
}
}
Thanks