New: Picture effects screen, resizes / mirrors / rotates image (Issue 73)
New: Distort brush (Issue 34) New: Pixel scaler "Triple" for 3x3 zoom (Issue 147) New: Pixel scaler "Quadruple" for 4x4 zoom (Issue 151) New: Pixel scaler "Wide2" for 4x2 zoom (Issue 148) New: Pixel scaler "Tall2" for 2x4 zoom (Issue 149) Fix of very old bug: Resizing the image didn't mark the image 'modified since last save' git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@763 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
34
main.c
34
main.c
@@ -79,14 +79,18 @@ static char Gui_skin_file[MAX_PATH_CHARACTERS]= "skins" PATH_SEPARATOR "base.gif
|
||||
void Display_syntax(void)
|
||||
{
|
||||
int mode_index;
|
||||
printf("Syntax: GFX2 [<arguments>] [<picture>]\n\n");
|
||||
printf("Syntax: grafx2 [<arguments>] [<picture>]\n\n");
|
||||
printf("<arguments> can be:]\n");
|
||||
printf("\t/? /h /help for this help screen\n");
|
||||
printf("\t/wide to emulate a video mode with wide pixels (2x1)\n");
|
||||
printf("\t/tall to emulate a video mode with tall pixels (1x2)\n");
|
||||
printf("\t/double to emulate a video mode with double pixels (2x2)\n");
|
||||
printf("\t/skin <filename> use an alternate file with the menu graphics\n");
|
||||
printf("\t/mode <videomode> to set a video mode\n\n");
|
||||
printf("\t/? /h /help for this help screen\n");
|
||||
printf("\t/wide to emulate a video mode with wide pixels (2x1)\n");
|
||||
printf("\t/tall to emulate a video mode with tall pixels (1x2)\n");
|
||||
printf("\t/double to emulate a video mode with double pixels (2x2)\n");
|
||||
printf("\t/wide2 to emulate a video mode with double wide pixels (4x2)\n");
|
||||
printf("\t/tall2 to emulate a video mode with double tall pixels (2x4)\n");
|
||||
printf("\t/triple to emulate a video mode with triple pixels (3x3)\n");
|
||||
printf("\t/quadruple to emulate a video mode with quadruple pixels (4x4)\n");
|
||||
printf("\t/skin <filename> use an alternate file with the menu graphics\n");
|
||||
printf("\t/mode <videomode> to set a video mode\n\n");
|
||||
printf("Available video modes:\n\n");
|
||||
for (mode_index=0; mode_index<Nb_video_modes; mode_index++)
|
||||
printf("\t%s\n",Mode_label(mode_index));
|
||||
@@ -217,6 +221,22 @@ void Analyze_command_line(int argc,char * argv[])
|
||||
{
|
||||
Pixel_ratio = PIXEL_DOUBLE;
|
||||
}
|
||||
else if ( !strcmp(argv[index],"/triple") )
|
||||
{
|
||||
Pixel_ratio = PIXEL_DOUBLE;
|
||||
}
|
||||
else if ( !strcmp(argv[index],"/quadruple") )
|
||||
{
|
||||
Pixel_ratio = PIXEL_QUAD;
|
||||
}
|
||||
else if ( !strcmp(argv[index],"/tall2") )
|
||||
{
|
||||
Pixel_ratio = PIXEL_TALL2;
|
||||
}
|
||||
else if ( !strcmp(argv[index],"/wide2") )
|
||||
{
|
||||
Pixel_ratio = PIXEL_WIDE2;
|
||||
}
|
||||
else if ( !strcmp(argv[index],"/rgb") )
|
||||
{
|
||||
// echelle des composants RGB
|
||||
|
||||
Reference in New Issue
Block a user