Jonathan G Rennison
5a8049f65b
Merge branch 'minimap-screenshot-rect' into jgrpp
...
Conflicts:
src/screenshot.cpp
2015-09-11 03:45:53 +01:00
Jonathan G Rennison
dde1c16105
Minimap screenshot: add console params and help to mostly match screenshot.
2015-09-11 03:44:25 +01:00
patch-import
019e862536
Import minimap patch.
...
Fix various compilation issues and update to current trunk.
http://www.tt-forums.net/viewtopic.php?p=848661#p848661
2015-09-11 03:31:27 +01:00
Jonathan G Rennison
948b4e1d5e
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
2015-08-04 01:26:32 +01:00
frosch
9efb6be700
(svn r26983) -Fix: Account for max_heightlevel when saving heightmaps.
2014-10-09 19:52:07 +00:00
frosch
9430dfe7fa
(svn r26525) -Remove: Screenshot format setting from GUI.
2014-04-27 15:13:46 +00:00
rubidium
6ecc602050
(svn r26486) -Codechange: replace a number of snprintfs with seprintf
2014-04-23 21:12:09 +00:00
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
rubidium
4a911754b5
(svn r26209) -Codechange: remove some template magic and simplify some code
2014-01-02 22:41:58 +00:00
rubidium
238a842700
(svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen)
2013-05-19 14:49:25 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
e19ba0f72a
(svn r24805) -Codechange: Refactor determination of screenshot viewport for world screenshots.
2012-12-09 16:53:01 +00:00
frosch
50abcf3edc
(svn r24804) -Add: Separate subdirectory for screenshots.
2012-12-09 16:52:43 +00:00
alberth
67f599f9db
(svn r24395) -Doc: Fixed argument references in @param descriptions.
2012-07-10 18:37:54 +00:00
truebrain
4ecd7843fb
(svn r23784) -Revert (r23740): compiling without libpng failed to include a correct header
2012-01-09 23:04:03 +00:00
frosch
a6f6c0f8ab
(svn r23775) -Change: Hide the PCX screenshot format from the options window, if a 32bpp blitter is used.
2012-01-08 16:58:10 +00:00
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
2012-01-03 21:32:51 +00:00
rubidium
7dc6e5b5fc
(svn r23695) -Fix/Feature [FS#4916]: make a distinction between fully zoomed in and default zoomed in screenshots
2011-12-31 14:56:39 +00:00
rubidium
9aab2dc861
(svn r23474) -Codechange: move the declaration error related functions to error.h
2011-12-10 13:54:10 +00:00
rubidium
a531ec1899
(svn r23446) -Codechange: move _cur_palette and it's related first/count dirty variables into a single structure
2011-12-08 18:13:29 +00:00
truebrain
bf803e40cc
(svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too
2011-12-01 12:03:34 +00:00
peter1138
b100c49227
(svn r23333) -Fix [FS#4854]: Make zoomed in screenshot use the selected maximum zoom.
2011-11-26 13:48:06 +00:00
peter1138
1121fb8698
(svn r23325) -Fix (r23316): World screenshot was incorrectly positioned.
2011-11-25 13:01:37 +00:00
peter1138
b84174fd4d
(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.
2011-11-24 12:38:48 +00:00
rubidium
215452b911
(svn r23195) -Codechange: if we really need to cast away constness, use const_cast
2011-11-12 08:37:12 +00:00
rubidium
79244bd57f
(svn r23103) -Codechange: replace TileHeight(x) * TILE_HEIGHT by TilePixelHeight(x)
2011-11-04 10:32:26 +00:00
alberth
4b295664ad
(svn r22511) -Add: Function to make heightmap file paths.
2011-05-28 13:55:05 +00:00
alberth
d042417821
(svn r22509) -Add: Save heightmap.
2011-05-28 13:54:18 +00:00
alberth
8eb1fba763
(svn r22508) -Codechange: Lift default screenshot filename out of MakeScreenshotName.
2011-05-28 13:53:52 +00:00
alberth
7849495f6a
(svn r22488) -Doc: Add Doxygen comments to screenshot code.
2011-05-22 20:18:38 +00:00
rubidium
edc0a4516b
(svn r22450) -Fix [FS#4610]: Don't "log" the NewGRFs in the screenshot when in the menu
2011-05-13 20:07:57 +00:00
rubidium
a61ae330bd
(svn r22388) -Fix: when a game uses a lot of NewGRFs the buffer for storing that information in the PNG is too small
2011-04-30 17:44:12 +00:00
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
yexo
6cc694c723
(svn r21690) -Fix: the top of a tall building standing on a hill at the top of the map could be cut off in a giant screenshot
2011-01-01 21:15:50 +00:00
rubidium
3de89fd3f9
(svn r21558) -Codechange: add the graphics set and its version to the screenshot metadata as well
2010-12-21 10:11:11 +00:00
rubidium
e2d08a83a3
(svn r21553) -Feature-ish: store the used OpenTTD version, NewGRFs and AIs in the screenshot file
2010-12-20 22:54:15 +00:00
michi_cc
38d9d87434
(svn r20508) -Add [FS#3973]: A new screenshot type that makes a zoomed-in screenshot of the visible viewport. (Eddi)
2010-08-15 23:32:36 +00:00
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
alberth
1743c86610
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
2010-07-31 21:02:56 +00:00
alberth
137e2b64c9
(svn r20211) -Codechange: Indented code should have curly braces around it.
2010-07-24 10:14:39 +00:00
rubidium
c130252cc0
(svn r20040) -Codechange: some coding style + using proper types
2010-06-30 22:17:53 +00:00
smatz
5504b1105e
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
2010-02-24 14:46:15 +00:00
glx
f4fe465e3b
(svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated
2010-01-08 03:17:12 +00:00
rubidium
3de085a143
(svn r18683) -Fix: it's not an other
2010-01-01 18:45:40 +00:00
peter1138
83ae0f9b59
(svn r18673) -Fix (r17943): Deja vu: 3 byte structs are padded to a word on ARM.
2009-12-31 07:39:05 +00:00
rubidium
0efc6bb877
(svn r18630) -Fix [FS#3419]: when making a screenshot the name of the previous screenshot went missing in the 'successful screenshot' message
2009-12-25 19:16:58 +00:00
rubidium
0da7a4dc91
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
2009-12-19 19:21:37 +00:00
smatz
0c4cada640
(svn r18156) -Add: crash screenshot, created from blitter buffer
2009-11-17 23:12:42 +00:00
smatz
8894008ed7
(svn r18155) -Codechange: in MakeScreenshotName(), don't return pointer to local static variable - use global one instead
2009-11-17 23:08:55 +00:00
smatz
582e27bbc1
(svn r18079) -Codechange: allow overwriting of screenshots with user-supplied filenames
2009-11-14 15:50:38 +00:00