summaryrefslogtreecommitdiff
path: root/src/screenshot.cpp
AgeCommit message (Collapse)Author
2021-03-04Feature: allow custom width/height of screenshot via consolePatric Stout
Reworked how the screenshot command works while keeping it backwards compatible. It can now more freely understand arguments, and has the ability to make SC_DEFAULTZOOM screenshots.
2021-02-22Change: Lock the video buffer when drawing inside the game loop to properly ↵Michael Lutz
account for threaded drawing.
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-12-27Codechange: Stringify config file paths.Michael Lutz
2020-12-27Codechange: Replace assert_compile macro with static_assertCharles Pigott
2020-07-27Codechange: Spell 'Viewport' consistentlyTechGeekNZ
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
2020-06-27Fix #8232: 'Huge screenshot' warning being shown incorrectlyAbdurrahmaan Iqbal
2020-06-27Cleanup: Give `TakeScreenshot` a more sensible nameTechGeekNZ
2020-06-27Cleanup: Remove redundant implementation of TakeScreenshotTechGeekNZ
2020-05-21Codechange: Store base set related texts in std::strings.Michael Lutz
2020-01-26Fix #7950: Incorrect setup of normal screenshot viewportJMcKiern
2020-01-05Fix e558aa8: Compiler warning about unused value (and move some variable ↵Charles Pigott
declarations to where they're used)
2020-01-04Feature: Minimap screenshotTELK
2019-12-21Codechange: Replace FOR_ALL_COMPANIES with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-07-19Codechange: Rearrange struct packing defines and make MinGW use _Pragma pack ↵Charles Pigott
style
2014-10-09(svn r26983) -Fix: Account for max_heightlevel when saving heightmaps.frosch
2014-04-27(svn r26525) -Remove: Screenshot format setting from GUI.frosch
2014-04-23(svn r26486) -Codechange: replace a number of snprintfs with seprintfrubidium
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium
2013-05-19(svn r25264) -Feature: linkgraph overlay over main viewport (fonsinchen)rubidium
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-09(svn r24805) -Codechange: Refactor determination of screenshot viewport for ↵frosch
world screenshots.
2012-12-09(svn r24804) -Add: Separate subdirectory for screenshots.frosch
2012-07-10(svn r24395) -Doc: Fixed argument references in @param descriptions.alberth
2012-01-09(svn r23784) -Revert (r23740): compiling without libpng failed to include a ↵truebrain
correct header
2012-01-08(svn r23775) -Change: Hide the PCX screenshot format from the options ↵frosch
window, if a 32bpp blitter is used.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-31(svn r23695) -Fix/Feature [FS#4916]: make a distinction between fully zoomed ↵rubidium
in and default zoomed in screenshots
2011-12-10(svn r23474) -Codechange: move the declaration error related functions to ↵rubidium
error.h
2011-12-08(svn r23446) -Codechange: move _cur_palette and it's related first/count ↵rubidium
dirty variables into a single structure
2011-12-01(svn r23384) -Remove: no longer allow a binary to be without AI support; the ↵truebrain
parts some compilers failed at, are integrated in other parts of the code now too
2011-11-26(svn r23333) -Fix [FS#4854]: Make zoomed in screenshot use the selected ↵peter1138
maximum zoom.
2011-11-25(svn r23325) -Fix (r23316): World screenshot was incorrectly positioned.peter1138
2011-11-24(svn r23316) -Feature: Add ability to zoom in to 2x and 4x level.peter1138
2011-11-12(svn r23195) -Codechange: if we really need to cast away constness, use ↵rubidium
const_cast
2011-11-04(svn r23103) -Codechange: replace TileHeight(x) * TILE_HEIGHT by ↵rubidium
TilePixelHeight(x)
2011-05-28(svn r22511) -Add: Function to make heightmap file paths.alberth
2011-05-28(svn r22509) -Add: Save heightmap.alberth
2011-05-28(svn r22508) -Codechange: Lift default screenshot filename out of ↵alberth
MakeScreenshotName.
2011-05-22(svn r22488) -Doc: Add Doxygen comments to screenshot code.alberth
2011-05-13(svn r22450) -Fix [FS#4610]: Don't "log" the NewGRFs in the screenshot when ↵rubidium
in the menu
2011-04-30(svn r22388) -Fix: when a game uses a lot of NewGRFs the buffer for storing ↵rubidium
that information in the PNG is too small
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-01(svn r21690) -Fix: the top of a tall building standing on a hill at the top ↵yexo
of the map could be cut off in a giant screenshot
2010-12-21(svn r21558) -Codechange: add the graphics set and its version to the ↵rubidium
screenshot metadata as well
2010-12-20(svn r21553) -Feature-ish: store the used OpenTTD version, NewGRFs and AIs ↵rubidium
in the screenshot file