ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.72k stars 377 forks source link

Combat screen, grid, vertical dimension and irregularity of the lines of the hexagons #1492

Closed LeHerosInconnu closed 1 year ago

LeHerosInconnu commented 4 years ago

In fheroes2, the position of the grid at the top of the screen is offset by 1 pixel from the original game. At the bottom of the screen, the grid is positioned correctly. Also, the oblique lines that make up a hexagon are not drawn regularly, the segments that make up these lines are not all the same length. In the original game, all of these segments are the same length.

In original game:

Battlefield H2 01

In fheroes2:

Battlefield fh2 02

Open the two images in different tabs in your browser, enlarge the images and switch between the two tabs alternately.

Battlefield H2 01 left grid creature indicator 01 Battlefield fh2 02 left grid creature indicator 01

ihhub commented 2 years ago

I think it's something to do with ICN::OVERLAY images.

LeHerosInconnu commented 1 year ago

Hello @Districh-ru,

I checked this, it's correct.