Implement taking smallmap screenshots.

This is largely based on this patch:
http://www.tt-forums.net/viewtopic.php?p=849533#p849533
with the following changes:
* this uses a button in the smallmap window instead of a console command
* screenshot now uses zoom level and mode of smallmap window
This commit is contained in:
Jonathan G Rennison
2015-08-04 01:26:32 +01:00
parent 163c30570b
commit 948b4e1d5e
6 changed files with 128 additions and 9 deletions

View File

@@ -753,6 +753,7 @@ STR_SMALLMAP_INDUSTRY :{TINY_FONT}{STR
STR_SMALLMAP_LINKSTATS :{TINY_FONT}{STRING}
STR_SMALLMAP_COMPANY :{TINY_FONT}{COMPANY}
STR_SMALLMAP_TOWN :{TINY_FONT}{WHITE}{TOWN}
STR_SMALLMAP_SCREENSHOT :{BLACK}Screenshot
STR_SMALLMAP_DISABLE_ALL :{BLACK}Disable all
STR_SMALLMAP_ENABLE_ALL :{BLACK}Enable all
STR_SMALLMAP_SHOW_HEIGHT :{BLACK}Show height