You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unless the map is greater than 67,108,864 tiles total size (8,192 x 8,192), no "Huge screenshot" warning is generated when taking a heightmap or minimap screenshot.
Actual result
Even on a 128x128 map, a "Huge screenshot" warning is still generated when trying to take a heightmap or minimap screenshot. In my case (1080p monitor, maximized windowed mode on Windows 10), the warning says that the screenshot will be 15360 x 8136 pixels when fully zoomed out, even though the actual dimensions of the resulting screenshot is only 128x128 and it only takes a few milliseconds to take the screenshot.
This seems to be caused by the following, which only takes into account the viewport size and not the actual map size and whether the screenshot is a minimap or heightmap screenshot:
Version of OpenTTD
1.10.2
Expected result
Unless the map is greater than 67,108,864 tiles total size (8,192 x 8,192), no "Huge screenshot" warning is generated when taking a heightmap or minimap screenshot.
Actual result
Even on a 128x128 map, a "Huge screenshot" warning is still generated when trying to take a heightmap or minimap screenshot. In my case (1080p monitor, maximized windowed mode on Windows 10), the warning says that the screenshot will be 15360 x 8136 pixels when fully zoomed out, even though the actual dimensions of the resulting screenshot is only 128x128 and it only takes a few milliseconds to take the screenshot.
This seems to be caused by the following, which only takes into account the viewport size and not the actual map size and whether the screenshot is a minimap or heightmap screenshot:
OpenTTD/src/screenshot_gui.cpp
Lines 56 to 58 in 6dfe5c8
Steps to reproduce
For best results, do the following steps on a monitor resolution of 1080p or higher.
The text was updated successfully, but these errors were encountered: