Implemented Double Pixel mode (issue 86)
Tall pixels can now be used in resolution minimum 320x400, and Tall pixels minimum 640x200. (instead of 640x400 for both) Fixed: There was incorrect error recovery when trying to use a fullscreen mode too small to use wide/tall/double pixel. Little code cleanup in the different pixel renderers. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@631 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
5
main.c
5
main.c
@@ -78,6 +78,7 @@ void Afficher_syntaxe(void)
|
||||
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/mode <videomode> to set a video mode\n\n");
|
||||
printf("Available video modes:\n\n");
|
||||
for (Indice_mode=0; Indice_mode<Nb_modes_video; Indice_mode++)
|
||||
@@ -217,6 +218,10 @@ void Analyse_de_la_ligne_de_commande(int argc,char * argv[])
|
||||
{
|
||||
Pixel_ratio = PIXEL_WIDE;
|
||||
}
|
||||
else if ( !strcmp(argv[Indice],"/double") )
|
||||
{
|
||||
Pixel_ratio = PIXEL_DOUBLE;
|
||||
}
|
||||
else if ( !strcmp(argv[Indice],"/rgb") )
|
||||
{
|
||||
// echelle des composants RGB
|
||||
|
||||
Reference in New Issue
Block a user