Changeset - r2539:633b70ac3538
[Not reviewed]
master
0 1 0
Darkvater - 18 years ago 2005-10-19 19:41:38
darkvater@openttd.org
(svn r3068) - Feature: make it possible to create a screenshot from the console that is both big and has no console, or any combination of.
1 file changed with 7 insertions and 7 deletions:
0 comments (0 inline, 0 general)
console_cmds.c
Show inline comments
 
@@ -820,17 +820,17 @@ DEF_CONSOLE_CMD(ConScreenShot)
 
		return true;
 
	}
 

	
 
	if (argc < 2) {
 
		_make_screenshot = 1;
 
	} else {
 
		if (strcmp(argv[1], "big") == 0)
 
	if (argc > 3) return false;
 

	
 
	_make_screenshot = 1;
 
	if (argc > 1) {
 
		if (strcmp(argv[1], "big") == 0 || (argc == 3 && strcmp(argv[2], "big") == 0))
 
			_make_screenshot = 2;
 

	
 
		if (strcmp(argv[1], "no_con") == 0) {
 
		if (strcmp(argv[1], "no_con") == 0 || (argc == 3 && strcmp(argv[2], "no_con") == 0))
 
			IConsoleClose();
 
			_make_screenshot = 1;
 
		}
 
	}
 

	
 
	return true;
 
}
 

	
0 comments (0 inline, 0 general)