alain-bkr / freeciv

Freeciv is a Free and Open Source empire-building strategy game inspired by the history of human civilization. Upstream repository for the standalone Freeciv client and server. Report bugs and submit patches at https://osdn.net/projects/freeciv/ticket/
https://www.freeciv.org/
GNU General Public License v2.0
0 stars 0 forks source link

maps size need to be normalized #1

Open alain-bkr opened 1 year ago

alain-bkr commented 1 year ago

Request size=1 (1000 tiles)

We have ;

FAIR-WRAPX size 36 x 24 = 864 tiles (1000 requested). FAIR-WRAPX_HEX size 30 x 40 = 1200 tiles (1000 requested). FAIR-WRAPX_ISO size 30 x 40 = 1200 tiles (1000 requested). FAIR-WRAPX_ISO_HEX size 30 x 40 = 1200 tiles (1000 requested).

FRACTAL-WRAPX size 36 x 24 = 864 tiles (1000 requested). FRACTAL-WRAPX_HEX size 30 x 40 = 1200 tiles (1000 requested). FRACTAL-WRAPX_ISO size 30 x 40 = 1200 tiles (1000 requested). FRACTAL-WRAPX_ISO_HEX size 30 x 40 = 1200 tiles (1000 requested).

FRACTURE-WRAPX size 36 x 24 = 864 tiles (1000 requested). FRACTURE-WRAPX_HEX size 30 x 40 = 1200 tiles (1000 requested). FRACTURE-WRAPX_ISO size 30 x 40 = 1200 tiles (1000 requested). FRACTURE-WRAPX_ISO_HEX size 30 x 40 = 1200 tiles (1000 requested).

ISLAND-WRAPX size 36 x 24 = 864 tiles (1000 requested). ISLAND-WRAPX_HEX size 30 x 40 = 1200 tiles (1000 requested). ISLAND-WRAPX_ISO size 30 x 40 = 1200 tiles (1000 requested). ISLAND-WRAPX_ISO_HEX size 30 x 40 = 1200 tiles (1000 requested).

RANDOM-WRAPX size 36 x 24 = 864 tiles (1000 requested). RANDOM-WRAPX_HEX size 30 x 40 = 1200 tiles (1000 requested). RANDOM-WRAPX_ISO size 30 x 40 = 1200 tiles (1000 requested). RANDOM-WRAPX_ISO_HEX size 30 x 40 = 1200 tiles (1000 requested).

alain-bkr commented 1 year ago

++ WRAPX alone generate a smaller map (36x24) instead of (30x40) for all other topologies

alain-bkr commented 1 year ago

++ we expect x <=> width of the screen y <=> height of the screen

++ similar "shape" = display a rectangle on screen, with large base, and small height this is not the case, it depends on the generator