OpenTTD

Tasklist

FS#3973 - Panorama Screenshots

Attached to Project: OpenTTD
Opened by Johannes E. Krause (Eddi) - Saturday, 24 July 2010, 23:14 GMT
Last edited by Michael Lutz (michi_cc) - Sunday, 15 August 2010, 23:32 GMT
Type Patch
Category Interface
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

On giant maps, the giant screenshot is often really huge and takes ages, but the normal screenshot does not cover a large area, so often one can't show everything that is wanted, or make a zoomed-out screenshot missing a lot of details (and looking fairly ugly due to lack of antialiasing in 8bpp)

This "Panorama Screenshot" patch provides a screenshot method inbetween those, by making a "giant screenshot", but not of the whole map, only of the visible area in the screen. so you can zoom out to make the visible area bigger, but have full zoomed-in detail in the resulting screenshot.

see http://www.tt-forums.net/viewtopic.php?f=33&t=49362

What i did:
1. I copied the function to create a giant screenshot, and changed the viewport boundaries to the "virtual" boundaries of the main viewport.
2. I added a menu entry in the main toolbar dropdown, below the giant screenshot, and a hotkey (Ctrl+P).
3. I changed the screenshot console command, changed the "screenshot big" command to do a panorama screenshot, and added "screenshot giant" to make an old-style giant screenshot.

I have quickly tested the results of the screenshot commands, and have not received any bug reports in the three days since release.
Patch is against r20202.
This task depends upon

Closed by  Michael Lutz (michi_cc)
Sunday, 15 August 2010, 23:32 GMT
Reason for closing:  Implemented
Additional comments about closing:  In r20508.

Loading...