I've got some problems with the GUI after loading a Quake 3 map.
I've written a server that sends, after a client connected, some status messages to the just connected client. To display this messages I've added a IGUIWindow and just add the server messages as static text. At this point everything is displayed correct.
Since yesterday the server is able to send the client a message which map to load (Q3 map). The client does, after receiving the servermessage, load the requested map and displays it. And here comes the problem:
when the map is drawn the status window with the text messages is invisible. I don't have any clue why this happens. I've read a lot in the docs and played around with different settings in the engine, but didn't find the reason why the status window vanishes.
Basically the draw rountine looks like this:
Code: Select all
m_VideoDriver->beginScene(true, true, SColor(a, r, g, b));
m_SceneManager->drawAll();
m_GUIEnviroment->drawAll();
Thx, for your help.