Rewrite of the Heroes of Might and Magic 3 on Qt and OpenGL