summaryrefslogtreecommitdiff
path: root/src/screenshot.cpp
AgeCommit message (Collapse)Author
2021-06-13Codechange: convert printf DEBUG statements to fmt Debug statementsrubidium42
2021-05-13Codechange: move misc settings to std::stringrubidium42
2021-05-02Fix #9147: Delay making screenshots until the next draw tick as we may not ↵Michael Lutz
access the video buffer from the game thread.
2021-05-01Fix #9152, Fix #9153: screenshot command showed error messages when successfulrubidium42
2021-03-26Change: scale heightmaps we export to highest peak and inform the user of ↵Patric Stout
this value Before this commit, it scaled to map-height-limit. Recently this could also be set to "auto", meaning players don't really know or care about this value. This also means that if a player exported a heightmap and wanted to import it again, looking like the exact same map, he did not know what value for "highest peak" to use.
2021-03-26Change: rename setting "max_heightlevel" to "map_height_limit"Patric Stout
This better reflects what it is, and hopefully removes a bit of the confusion people are having what this setting actually does. Additionally, update the text on the setting to better inform users what it is doing exactly, so they can make an educated decision on how to change it. Next commit will introduce an "auto" value, which should be the new default. The rename has as added benefit that everyone will start out on the "auto" value.
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