All brush effects working !
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@119 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
		
							parent
							
								
									db93420369
								
							
						
					
					
						commit
						b6986f2b56
					
				@ -4799,6 +4799,7 @@ void Dessiner_trame_zoomee(short Orig_X, short Orig_Y)
 | 
			
		||||
  for (Pos_Y=0; Pos_Y<Taille_Y; Pos_Y++)
 | 
			
		||||
    for (Pos_X=0; Pos_X<Taille_X; Pos_X++)
 | 
			
		||||
      Pixel(Debut_X+Pos_X,Debut_Y+Pos_Y,(Trame[Pos_X%Trame_Largeur][Pos_Y%Trame_Hauteur])?CM_Blanc:CM_Noir);
 | 
			
		||||
  SDL_UpdateRect(Ecran_SDL,Debut_X,Debut_Y,Taille_X,Taille_Y);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -4812,6 +4813,7 @@ void Dessiner_trames_predefinies(void)
 | 
			
		||||
      for (i=0; i<16; i++)
 | 
			
		||||
        Pixel_dans_fenetre((Indice*23)+10+i,22+j,
 | 
			
		||||
                           ((TRAME_PREDEFINIE[Indice][j]>>(15-i))&1)?CM_Blanc:CM_Noir);
 | 
			
		||||
  SDL_UpdateRect(Ecran_SDL,ToWinX(10),ToWinY(22),ToWinL(12*23+16),ToWinH(16));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								divers.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								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)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user