git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@42 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Adrien Destugues
2007-12-08 14:24:22 +00:00
parent 689e6a21ed
commit 5a1965f8fa
3 changed files with 10 additions and 2 deletions

View File

@@ -468,7 +468,8 @@ byte Lit_pixel_dans_ecran_courant (word X,word Y)
void Pixel_dans_ecran_courant (word X,word Y,byte Couleur)
{
puts("Pixel_dans_ecran_courant non implémenté!");
byte* dest=(X+Y*Principal_Largeur_image+Principal_Ecran);
*dest=Couleur;
}
void Remplacer_une_couleur(byte Ancienne_couleur, byte Nouvelle_couleur)