divers.h File Reference


Functions

void Effacer_ecran_courant (void)
void Copier_ecran_sur_brouillon (void)
void Copier_image_dans_brosse (short Debut_X, short Debut_Y, short Brosse_Largeur, short Brosse_Hauteur, word Largeur_image)
void Permuter_dans_l_image_les_couleurs (byte Couleur_1, byte Couleur_2)
void Remap_general_LOWLEVEL (byte *Table_conv, byte *Buffer, short Largeur, short Hauteur, short Largeur_buffer)
void Scroll_picture (short Decalage_X, short Decalage_Y)
void Set_mouse_video_mode_number (void)
void Set_mouse_position (void)
void Attendre_fin_de_click (void)
void Sensibilite_souris (word X, word Y)
void Set_color (byte Couleur, byte Rouge, byte Vert, byte Bleu)
void Set_palette (T_Palette Palette)
void Palette_256_to_64 (T_Palette Palette)
void Palette_64_to_256 (T_Palette Palette)
void Effacer_image_courante (byte Couleur)
void Effacer_image_courante_Stencil (byte Couleur, byte *Pochoir)
void Wait_VBL (void)
void Tempo_jauge (byte Vitesse)
dword Round_div (dword Numerateur, dword Diviseur)
word Palette_Compter_nb_couleurs_utilisees (dword *Tableau)
void Pixel_dans_ecran_courant (word X, word Y, byte Couleur)
void Pixel_dans_brosse (word X, word Y, byte Couleur)
byte Lit_pixel_dans_ecran_courant (word X, word Y)
byte Lit_pixel_dans_ecran_brouillon (word X, word Y)
byte Lit_pixel_dans_ecran_backup (word X, word Y)
byte Lit_pixel_dans_ecran_feedback (word X, word Y)
byte Lit_pixel_dans_brosse (word X, word Y)
void Ellipse_Calculer_limites (short Rayon_horizontal, short Rayon_vertical)
byte Pixel_dans_ellipse (void)
byte Pixel_dans_cercle (void)
byte Bit (byte Octet, byte Rang)
void Initialiser_chrono (dword Delai)
void Tester_chrono (void)
void Remplacer_une_couleur (byte Ancienne_couleur, byte Nouvelle_couleur)
void Remplacer_toutes_les_couleurs_dans_limites (byte *Table_de_remplacement)
byte Effet_Colorize_interpole (word X, word Y, byte Couleur)
byte Effet_Colorize_additif (word X, word Y, byte Couleur)
byte Effet_Colorize_soustractif (word X, word Y, byte Couleur)
byte Effet_Trame (word X, word Y)
void Flip_Y_LOWLEVEL (void)
void Flip_X_LOWLEVEL (void)
void Rotate_90_deg_LOWLEVEL (byte *Source, byte *Destination)
void Rotate_180_deg_LOWLEVEL (void)
void Zoomer_une_ligne (byte *Ligne_originale, byte *Ligne_zoomee, word Facteur, word Largeur)
void Copier_une_partie_d_image_dans_une_autre (byte *Source, word S_Pos_X, word S_Pos_Y, word Largeur, word Hauteur, word Largeur_source, byte *Destination, word D_Pos_X, word D_Pos_Y, word Largeur_destination)
unsigned long Memoire_libre (void)
void Num2str (dword Nombre, char *Chaine, byte Taille)
int Str2num (char *Chaine)
short Round (float Valeur)
short Round_max (short Numerateur, short Diviseur)
short Round_div_max (short Numerateur, short Diviseur)
int Min (int A, int B)
int Max (int A, int B)
char * Libelle_mode (int Mode)
int Conversion_argument_mode (const char *Argument)

Variables

byte Etat_chrono
dword Chrono_delay
dword Chrono_cmp
byte Nouvelle_preview

Function Documentation

void Effacer_ecran_courant ( void   ) 

void Copier_ecran_sur_brouillon ( void   ) 

void Copier_image_dans_brosse ( short  Debut_X,
short  Debut_Y,
short  Brosse_Largeur,
short  Brosse_Hauteur,
word  Largeur_image 
)

References Brosse, and Principal_Ecran.

Referenced by Capturer_brosse().

void Permuter_dans_l_image_les_couleurs ( byte  Couleur_1,
byte  Couleur_2 
)

void Remap_general_LOWLEVEL ( byte Table_conv,
byte Buffer,
short  Largeur,
short  Hauteur,
short  Largeur_buffer 
)

void Scroll_picture ( short  Decalage_X,
short  Decalage_Y 
)

void Set_mouse_video_mode_number ( void   ) 

void Set_mouse_position ( void   ) 

void Attendre_fin_de_click ( void   ) 

void Sensibilite_souris ( word  X,
word  Y 
)

void Set_color ( byte  Couleur,
byte  Rouge,
byte  Vert,
byte  Bleu 
)

References Ecran_SDL.

Referenced by Modifier_Bleu(), Modifier_Rouge(), and Modifier_Vert().

void Set_palette ( T_Palette  Palette  ) 

void Palette_256_to_64 ( T_Palette  Palette  ) 

Referenced by Load_LBM(), Save_PAL(), Save_PKM(), and Save_SCx().

void Palette_64_to_256 ( T_Palette  Palette  ) 

Referenced by Load_LBM(), Load_PAL(), Load_PKM(), and Load_SCx().

void Effacer_image_courante ( byte  Couleur  ) 

void Effacer_image_courante_Stencil ( byte  Couleur,
byte Pochoir 
)

void Wait_VBL ( void   ) 

void Tempo_jauge ( byte  Vitesse  ) 

dword Round_div ( dword  Numerateur,
dword  Diviseur 
)

word Palette_Compter_nb_couleurs_utilisees ( dword Tableau  ) 

void Pixel_dans_ecran_courant ( word  X,
word  Y,
byte  Couleur 
)

void Pixel_dans_brosse ( word  X,
word  Y,
byte  Couleur 
)

byte Lit_pixel_dans_ecran_courant ( word  X,
word  Y 
)

byte Lit_pixel_dans_ecran_brouillon ( word  X,
word  Y 
)

byte Lit_pixel_dans_ecran_backup ( word  X,
word  Y 
)

References Ecran_backup, and Principal_Largeur_image.

Referenced by Remplir().

byte Lit_pixel_dans_ecran_feedback ( word  X,
word  Y 
)

byte Lit_pixel_dans_brosse ( word  X,
word  Y 
)

void Ellipse_Calculer_limites ( short  Rayon_horizontal,
short  Rayon_vertical 
)

byte Pixel_dans_ellipse ( void   ) 

byte Pixel_dans_cercle ( void   ) 

byte Bit ( byte  Octet,
byte  Rang 
)

void Initialiser_chrono ( dword  Delai  ) 

References Chrono_cmp, and Chrono_delay.

Referenced by Bouton_Load_ou_Save().

void Tester_chrono ( void   ) 

References Chrono_cmp, Chrono_delay, and Etat_chrono.

Referenced by Bouton_Load_ou_Save().

void Remplacer_une_couleur ( byte  Ancienne_couleur,
byte  Nouvelle_couleur 
)

void Remplacer_toutes_les_couleurs_dans_limites ( byte Table_de_remplacement  ) 

byte Effet_Colorize_interpole ( word  X,
word  Y,
byte  Couleur 
)

byte Effet_Colorize_additif ( word  X,
word  Y,
byte  Couleur 
)

byte Effet_Colorize_soustractif ( word  X,
word  Y,
byte  Couleur 
)

byte Effet_Trame ( word  X,
word  Y 
)

References Trame, Trame_Hauteur, and Trame_Largeur.

Referenced by Afficher_pixel().

void Flip_Y_LOWLEVEL ( void   ) 

void Flip_X_LOWLEVEL ( void   ) 

void Rotate_90_deg_LOWLEVEL ( byte Source,
byte Destination 
)

References Brosse_Hauteur, and Brosse_Largeur.

Referenced by Rotate_90_deg().

void Rotate_180_deg_LOWLEVEL ( void   ) 

void Zoomer_une_ligne ( byte Ligne_originale,
byte Ligne_zoomee,
word  Facteur,
word  Largeur 
)

void Copier_une_partie_d_image_dans_une_autre ( byte Source,
word  S_Pos_X,
word  S_Pos_Y,
word  Largeur,
word  Hauteur,
word  Largeur_source,
byte Destination,
word  D_Pos_X,
word  D_Pos_Y,
word  Largeur_destination 
)

unsigned long Memoire_libre ( void   ) 

void Num2str ( dword  Nombre,
char *  Chaine,
byte  Taille 
)

int Str2num ( char *  Chaine  ) 

short Round ( float  Valeur  ) 

short Round_max ( short  Numerateur,
short  Diviseur 
)

short Round_div_max ( short  Numerateur,
short  Diviseur 
)

Referenced by Initialiser_preview().

int Min ( int  A,
int  B 
)

int Max ( int  A,
int  B 
)

char* Libelle_mode ( int  Mode  ) 

int Conversion_argument_mode ( const char *  Argument  ) 


Variable Documentation


Generated on Fri Mar 6 16:43:56 2009 for GrafX2 by  doxygen 1.5.8