Updated man page to show new (upcoming) options. Made sure options were

up to date.  Prepared for new options.
This commit is contained in:
William Kendrick 2003-09-27 07:53:51 +00:00
parent c3eb3df322
commit b688629a9d
2 changed files with 69 additions and 13 deletions

View file

@ -7,12 +7,12 @@
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/tuxpaint/
June 14, 2002 - September 14, 2003
June 14, 2002 - September 27, 2003
*/
#define VER_VERSION "0.9.13"
#define VER_DATE "2003.09.14"
#define VER_DATE "2003.09.27"
/* #define DEBUG */
@ -376,7 +376,8 @@ int use_sound, fullscreen, disable_quit, simple_shapes, language,
disable_print, print_delay, only_uppercase, promptless_save, grab_input,
wheely, no_fancy_cursors, keymouse, mouse_x, mouse_y,
mousekey_up, mousekey_down, mousekey_left, mousekey_right,
dont_do_xor, use_print_config, dont_load_stamps, noshortcuts;
dont_do_xor, use_print_config, dont_load_stamps, noshortcuts,
mirrorstamps, disable_stamp_controls;
int recording, playing;
char * playfile;
FILE * demofi;
@ -3583,6 +3584,8 @@ void setup(int argc, char * argv[])
printcommand = "pngtopnm | pnmtops | lpr";
langstr = NULL;
use_print_config = 0;
mirrorstamps = 0;
disable_stamp_controls = 0;
WINDOW_WIDTH = 640;
WINDOW_HEIGHT = 480;
playfile = NULL;
@ -3682,6 +3685,22 @@ void setup(int argc, char * argv[])
{
fullscreen = 0;
}
else if (strcmp(argv[i], "--mirrorstamps") == 0)
{
mirrorstamps = 1;
}
else if (strcmp(argv[i], "--dontmirrorstamps") == 0)
{
mirrorstamps = 0;
}
else if (strcmp(argv[i], "--nostampcontrols") == 0)
{
disable_stamp_controls = 1;
}
else if (strcmp(argv[i], "--stampcontrols") == 0)
{
disable_stamp_controls = 0;
}
else if (strcmp(argv[i], "--noshortcuts") == 0)
{
noshortcuts = 1;
@ -10988,6 +11007,24 @@ void parse_options(FILE * fi)
{
fullscreen = 0;
}
else if (strcmp(str, "nostampcontrols=yes") == 0)
{
disable_stamp_controls = 1;
}
else if (strcmp(str, "nostampcontrols=no") == 0 ||
strcmp(str, "stampcontrols=yes") == 0)
{
disable_stamp_controls = 0;
}
else if (strcmp(str, "mirrorstamps=yes") == 0)
{
mirrorstamps = 1;
}
else if (strcmp(str, "mirrorstamps=no") == 0 ||
strcmp(str, "dontmirrorstamps=yes") == 0)
{
mirrorstamps = 0;
}
else if (strcmp(str, "noshortcuts=yes") == 0)
{
noshortcuts = 1;