now the game supports only OpenGL, Allegro 5 D3D implementation is broken.