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
aide.c
View File

@@ -177,13 +177,13 @@ void Afficher_aide(void)
Couleur=CM_Fonce;
}
Buffer_de_ligne_horizontale[Position_X++]=Couleur;
if (Pixel_width>1)
if (Pixel_width==2)
Buffer_de_ligne_horizontale[Position_X++]=Couleur;
}
}
// On la splotche
for (Repeat_Menu_Facteur_Y=0;Repeat_Menu_Facteur_Y<Menu_Facteur_Y;Repeat_Menu_Facteur_Y++)
Afficher_ligne(Pos_Reel_X,Pos_Reel_Y++,Largeur*Menu_Facteur_X*6,Buffer_de_ligne_horizontale);
Afficher_ligne_fast(Pos_Reel_X,Pos_Reel_Y++,Largeur*Menu_Facteur_X*6,Buffer_de_ligne_horizontale);
}
// On efface la fin de la ligne: