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:
3
aide.c
3
aide.c
@@ -337,6 +337,7 @@ void Afficher_aide(void)
|
||||
for (Repeat_Menu_Facteur_X=0;Repeat_Menu_Facteur_X<Menu_Facteur_X;Repeat_Menu_Facteur_X++)
|
||||
{
|
||||
byte Couleur = *(Curseur+X+Y*6);
|
||||
byte Repetition = Pixel_width-1;
|
||||
// Surlignement pour liens
|
||||
if (TypeLigne=='K' && Indice_de_caractere>=Position_lien
|
||||
&& Indice_de_caractere<(Position_lien+Taille_lien))
|
||||
@@ -349,7 +350,7 @@ void Afficher_aide(void)
|
||||
Couleur=CM_Fonce;
|
||||
}
|
||||
Buffer_de_ligne_horizontale[Position_X++]=Couleur;
|
||||
if (Pixel_width==2)
|
||||
while (Repetition--)
|
||||
Buffer_de_ligne_horizontale[Position_X++]=Couleur;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user