C++ / OpenGL custom game engine