diff --git a/boutons.c b/boutons.c index f689388a..d30cb189 100644 --- a/boutons.c +++ b/boutons.c @@ -4799,6 +4799,7 @@ void Dessiner_trame_zoomee(short Orig_X, short Orig_Y) for (Pos_Y=0; Pos_Y>(15-i))&1)?CM_Blanc:CM_Noir); + SDL_UpdateRect(Ecran_SDL,ToWinX(10),ToWinY(22),ToWinL(12*23+16),ToWinH(16)); } diff --git a/divers.c b/divers.c index 5eb5825f..12cf17a8 100644 --- a/divers.c +++ b/divers.c @@ -451,8 +451,7 @@ void Copier_une_partie_d_image_dans_une_autre(byte * Source,word S_Pos_X,word S_ byte Lit_pixel_dans_ecran_brouillon(word X,word Y) { - UNIMPLEMENTED - return 0; + return *(Brouillon_Ecran+Y*Brouillon_Largeur_image+X); } void Rotate_90_deg_LOWLEVEL(byte * Source,byte * Destination) @@ -535,8 +534,7 @@ dword Round_div(dword Numerateur,dword Diviseur) byte Effet_Trame(word X,word Y) { - UNIMPLEMENTED - return 0; + return Trame[X % Trame_Largeur][Y % Trame_Hauteur]; } void Set_mouse_position(void) diff --git a/gfx2.cfg b/gfx2.cfg index b9bb826e..8f3f184e 100644 Binary files a/gfx2.cfg and b/gfx2.cfg differ