summaryrefslogtreecommitdiff
path: root/src/console_cmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r--src/console_cmds.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp
index fd08ab99c..c1d1afdc1 100644
--- a/src/console_cmds.cpp
+++ b/src/console_cmds.cpp
@@ -1226,9 +1226,10 @@ DEF_CONSOLE_CMD(ConAlias)
DEF_CONSOLE_CMD(ConScreenShot)
{
if (argc == 0) {
- IConsoleHelp("Create a screenshot of the game. Usage: 'screenshot [big | no_con] [file name]'");
- IConsoleHelp("'big' makes a screenshot of the whole map, 'no_con' hides the console to create "
- "the screenshot. Screenshots of whole map are always drawn without console");
+ IConsoleHelp("Create a screenshot of the game. Usage: 'screenshot [big | giant | no_con] [file name]'");
+ IConsoleHelp("'big' makes a zoomed-in screenshot of the visible area, 'giant' makes a screenshot of the "
+ "whole map, 'no_con' hides the console to create the screenshot. 'big' or 'giant' "
+ "screenshots are always drawn without console");
return true;
}
@@ -1240,6 +1241,10 @@ DEF_CONSOLE_CMD(ConScreenShot)
if (argc > 1) {
if (strcmp(argv[1], "big") == 0) {
/* screenshot big [filename] */
+ type = SC_ZOOMEDIN;
+ if (argc > 2) name = argv[2];
+ } else if (strcmp(argv[1], "giant") == 0) {
+ /* screenshot giant [filename] */
type = SC_WORLD;
if (argc > 2) name = argv[2];
} else if (strcmp(argv[1], "no_con") == 0) {