OpenGL-based xna-like game engine