diff --git a/gfxcfg.c b/gfxcfg.c index b7539aaf..82e70957 100644 --- a/gfxcfg.c +++ b/gfxcfg.c @@ -234,7 +234,7 @@ char * Interpretation_du_fichier_config() ChunkData[Numero_chunk] = Ptr; Chunk[Numero_chunk].Taille = Taille_chunk; - printf("%d %6X %d\n", Numero_chunk, Ptr - FichierConfig, Taille_chunk); +// printf("%d %6X %d\n", Numero_chunk, Ptr - FichierConfig, Taille_chunk); Ptr+=Taille_chunk; } // Si la config contenait des touches, on les initialise: diff --git a/operatio.c b/operatio.c index 4b37db50..356fed3a 100644 --- a/operatio.c +++ b/operatio.c @@ -31,6 +31,7 @@ #include "boutons.h" #include "pages.h" #include "erreurs.h" +#include "sdlscreen.h" #ifdef __WATCOMC__ #define M_PI 3.14159265358979323846 diff --git a/palette.c b/palette.c index d4e0d004..05670cac 100644 --- a/palette.c +++ b/palette.c @@ -209,7 +209,7 @@ void Remap_image_HIGH(byte * Table_de_conversion) } -void Swap(int X_Swap,short Debut_Bloc_1,short Debut_Bloc_2,short Taille_du_bloc,T_Palette Palette, dword * Utilisation_couleur, int update_palette) +void Swap(int X_Swap,short Debut_Bloc_1,short Debut_Bloc_2,short Taille_du_bloc,T_Palette Palette, dword * Utilisation_couleur) { short Pos_1; short Pos_2; @@ -1102,7 +1102,7 @@ void Bouton_Palette(void) Backup_de_l_image_effectue=1; } - Swap(Bouton_clicke==8,Debut_block,Couleur_temporaire,Premiere_couleur,Palette_de_travail,Utilisation_couleur, 1); + Swap(Bouton_clicke==8,Debut_block,Couleur_temporaire,Premiere_couleur,Palette_de_travail,Utilisation_couleur); memcpy(Palette_temporaire,Palette_de_travail,sizeof(T_Palette)); @@ -1674,7 +1674,7 @@ void Bouton_Palette(void) && (h