Support for "wide pixel" mode (Each pixel is 2x1). Run the program with "/wide" argument to test.

Now you can draw graphics for Amstrad CPC's "mode 0" :)


git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@385 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2008-12-15 21:00:18 +00:00
parent d81a4a26f0
commit d4dcf44f7c
7 changed files with 44 additions and 9 deletions

4
main.c
View File

@@ -206,6 +206,10 @@ void Analyse_de_la_ligne_de_commande(int argc,char * argv[])
{
Pixel_ratio = PIXEL_TALL;
}
else if ( !strcmp(argv[Indice],"/wide") )
{
Pixel_ratio = PIXEL_WIDE;
}
else
{
// Si ce n'est pas un paramètre, c'est le nom du fichier à ouvrir