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:
4
aide.c
4
aide.c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user