Last's come to me to add the console to the engine, not any wypaśnej with thousands of commands and a simple console to view logs. Now, without leaving the application can check the logs from the engine. In addition, writing a console font support has come. I was wondering on selecting the appropriate moments for me. The choice fell on a total of simple bitmapped fonts and FreeType . But I chose FreeType therefore, that when I was a bit bitmap fonts depends on the texture format fonts, bitmapped fonts that is generating the various programs, their implementation was to vary. It was possible to "zaprząść" xml ASCI codes, together with individual letters + their coordinates but then again I have to manually edit all of which it is not cool. FreeType is not pink (eg "customowych" fonts), but in my case more appropriate. Just that simple load a ttf font and I can write it on the screen. I used to implement FreeType'a library FTGL ( http://sourceforge.net/projects/ftgl/ ). Pretty cool and easy to use API, which can draw as font textures, or even as a mesh.
Another novelty, in my engine is sound support. Here I used the OpenAL. The library is very nice (especially for opengl-men) to implement, well documented and is behind Creative'a. I wrote a small wrapper for their own needs, which supports WAV-y (OpenAL has a ready-made function to load), and OGG. Support for OGG he had already written but it was fabulously easy to do so are thousands of tutorials in the net on this topic. In addition, I was able to finally (never previously written) to implement a 3D sound, which gives a very cool effect. After the first test result, I was pleasantly surprised. Here we pay attention to small detail. How will one day implement the OpenAL 3D audio, and you will not work, make sure that the sounds are in mono, because you lose out a few hours and a pile of nerves ![]()
Not long I'll try to make some brief technical Demko and share.






